Table
QMSSampleType
Sample types
Lists sample types, keyed by type ID. A type sets how a sample is inspected and which lifecycle states are valid. It also holds a default label layout.
- Table name
QMSSampleType- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
InventQualityManagement- Primary index
None- Replacement key
SampleTypeIdx- Key fields
SampleTypeId- Model
AdvancedQualityManagement
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SampleTypeIdIdentifier of the sample type. | StringQMSSampleTypeId | Yes | QMSSampleTypeEntityQMSSampleTypeStateAssignmentEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text describing the sample type. | String (60)Description | No | QMSSampleTypeEntity | |
LabelLayoutIdLabel layout used for labels of this sample type. | String (20)QMSLabelLayoutId | No | QMSInventCalibrationLabelLayout.LabelLayoutId | QMSSampleTypeEntity |
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 | |
SampleInspectionMethodInspection method for the type: none, inline process, continuous process or both. | EnumQMSSampleInspectionMethod (enum) | Yes | QMSSampleTypeEntity | |
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)
SampleTypeIdxReplacement keyUnique, alternate key.
Relations (1)
Each relation joins QMSSampleType to another table on the fields shown.
QMSInventCalibrationLabelLayout→QMSInventCalibrationLabelLayoutJoin on
LabelLayoutId = QMSInventCalibrationLabelLayout.LabelLayoutIdMany QMSSampleType records → zero or one QMSInventCalibrationLabelLayout record
Get this data out
Tables are not exposed directly. These public entities read from QMSSampleType; use one of them in Power BI, Power Platform or a data management project.
QMSSampleTypeEntity· 4 fields from this tableQMSSampleTypeStateAssignmentEntity· 1 field from this table
Need help with QMSSampleType in a report, an integration or a migration? Talk to Dr Dynamics.