Table
QMSSampleLifecycleState
Sample lifecycle states
Lists the lifecycle states a sample can have, keyed by state ID. Yes/No flags mark which state is used when a quality order is created or validated, and which state means scrapped.
- Table name
QMSSampleLifecycleState- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
InventQualityManagement- Primary index
None- Replacement key
SampleLifecycleState- Key fields
StateId- Model
AdvancedQualityManagement
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
StateIdCode of the sample lifecycle state. | StringQMSSampleLifecycleStateId | Yes | QMSSampleLifecycleStateEntityQMSSampleTypeStateAssignmentEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionLonger text describing the state. | String (60)Description | No | QMSSampleLifecycleStateEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QualityOrderCreatedYes/No flag that marks this state as the one a sample moves to once a quality order exists for it. | EnumNoYes (enum) | No | QMSSampleLifecycleStateEntity | |
QualityOrderValidatedYes/No flag: marks the state a sample is set to once a quality order has been validated against that sample.low confidence | EnumNoYes (enum) | No | QMSSampleLifecycleStateEntity | |
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 | |
SampleScrappedYes/No flag marking the scrapped state, which triggers the audit trail of who scrapped the sample and when. | EnumNoYes (enum) | No | QMSSampleLifecycleStateEntity | |
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 (1)
SampleLifecycleStateReplacement keyUnique, alternate key.
Get this data out
Tables are not exposed directly. These public entities read from QMSSampleLifecycleState; use one of them in Power BI, Power Platform or a data management project.
QMSSampleLifecycleStateEntity· 5 fields from this tableQMSSampleTypeStateAssignmentEntity· 1 field from this table
Need help with QMSSampleLifecycleState in a report, an integration or a migration? Talk to Dr Dynamics.