Data entity

QMSSampleTypeStateAssignmentEntity

Links a quality sample type to the lifecycle states it can have. Each record is keyed by the sample type and the sample lifecycle state, and also carries a line value.

Entity name
QMSSampleTypeStateAssignmentEntity
Public entity name
QualitySampleTypeStateAssignment
OData collection
QualitySampleTypeStateAssignments
Category
Not set
Module
Inventory and warehouse management
Read-only
No
Data management enabled
Yes
Configuration key
InventQualityManagement
Keys
SampleTypeId, SampleLifecycleStateId
Staging table
QMSSampleTypeStateAssignmentStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/QualitySampleTypeStateAssignments
Dataverse virtual table
mserp_qmssampletypestateassignmententity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • QMSSampleTypeStateAssignment · root
  • SampleLifecycleState (table QMSSampleLifecycleState) · InnerJoin to QMSSampleTypeStateAssignment · read-only
  • SampleType (table QMSSampleType) · InnerJoin to QMSSampleTypeStateAssignment · read-only

Fields (5)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SampleTypeRecIdSample type in the assignment. Points to a sample type record.Int64
QMSSampleTypeRecId
YesNo (private)QMSSampleType.RecIdQMSSampleTypeStateAssignment.SampleType
SampleTypeIdIdentifier of the sample type.String
QMSSampleTypeId
YesYesQMSSampleType.SampleTypeId
AssignmentLineNumberThe position number of the lifecycle state within this sample type.Integer
Line
NoYesQMSSampleTypeStateAssignment.Line
SampleLifecycleStateRecIdSample lifecycle state in the assignment. Points to a sample lifecycle state record.Int64
QMSSampleLifecycleStateRecId
YesNo (private)QMSSampleLifecycleState.RecIdQMSSampleTypeStateAssignment.SampleLifecycleState
SampleLifecycleStateIdCode of the sample lifecycle state.String
QMSSampleLifecycleStateId
YesYesQMSSampleLifecycleState.StateId

Foreign keys (2)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • SampleTypeRecId → QMSSampleType.RecId (key of QMSSampleType)

    Many QMSSampleTypeStateAssignment records → exactly one QMSSampleType record

    QMSSampleType details: see QMSSampleTypeEntity

  • SampleLifecycleStateRecId → QMSSampleLifecycleState.RecId (key of QMSSampleLifecycleState)

    Many QMSSampleTypeStateAssignment records → exactly one QMSSampleLifecycleState record

    QMSSampleLifecycleState details: see QMSSampleLifecycleStateEntity

Need help with QMSSampleTypeStateAssignmentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk