Table
QMSSampleTypeStateAssignment
Sample type state assignments
Assigns lifecycle states to sample types. The key is the lifecycle state plus the sample type. Each row has a line number for the state within that sample type.
- Table name
QMSSampleTypeStateAssignment- Module
Inventory- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
InventQualityManagement- Primary index
None- Replacement key
SampleTypeLifecycleStateIdx- Key fields
SampleLifecycleState, SampleType- Model
AdvancedQualityManagement
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SampleLifecycleStateSample lifecycle state in the assignment. Points to a sample lifecycle state record. | Int64QMSSampleLifecycleStateRecId | Yes | QMSSampleLifecycleState.RecId | QMSSampleTypeStateAssignmentEntity |
SampleTypeSample type in the assignment. Points to a sample type record. | Int64QMSSampleTypeRecId | Yes | QMSSampleType.RecId | QMSSampleTypeStateAssignmentEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LineThe position number of the lifecycle state within this sample type. | IntegerLine | No | QMSSampleTypeStateAssignmentEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
SampleTypeLifecycleStateIdxReplacement keySampleLifecycleState,SampleTypeUnique, alternate key.
LineIdxNot unique.
Relations (2)
Each relation joins QMSSampleTypeStateAssignment to another table on the fields shown.
SampleLifecycleState→QMSSampleLifecycleStateJoin on
SampleLifecycleState = QMSSampleLifecycleState.RecIdMany QMSSampleTypeStateAssignment records → exactly one QMSSampleLifecycleState record
SampleType→QMSSampleTypeJoin on
SampleType = QMSSampleType.RecIdMany QMSSampleTypeStateAssignment records → exactly one QMSSampleType record
Get this data out
Tables are not exposed directly. These public entities read from QMSSampleTypeStateAssignment; use one of them in Power BI, Power Platform or a data management project.
QMSSampleTypeStateAssignmentEntity· 3 fields from this table
Need help with QMSSampleTypeStateAssignment in a report, an integration or a migration? Talk to Dr Dynamics.