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· rootSampleLifecycleState(tableQMSSampleLifecycleState) · InnerJoin toQMSSampleTypeStateAssignment· read-onlySampleType(tableQMSSampleType) · InnerJoin toQMSSampleTypeStateAssignment· read-only
Fields (5)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
SampleTypeRecIdSample type in the assignment. Points to a sample type record. | Int64QMSSampleTypeRecId | Yes | No (private) | QMSSampleType.RecId | QMSSampleTypeStateAssignment.SampleType |
SampleTypeIdIdentifier of the sample type. | StringQMSSampleTypeId | Yes | Yes | QMSSampleType.SampleTypeId | |
AssignmentLineNumberThe position number of the lifecycle state within this sample type. | IntegerLine | No | Yes | QMSSampleTypeStateAssignment.Line | |
SampleLifecycleStateRecIdSample lifecycle state in the assignment. Points to a sample lifecycle state record. | Int64QMSSampleLifecycleStateRecId | Yes | No (private) | QMSSampleLifecycleState.RecId | QMSSampleTypeStateAssignment.SampleLifecycleState |
SampleLifecycleStateIdCode of the sample lifecycle state. | StringQMSSampleLifecycleStateId | Yes | Yes | QMSSampleLifecycleState.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.