Table
QMSSampleTrackingEntry
Sample tracking entries
Tracks samples against production orders and lots. Each record is keyed by production order, lot ID and a creation sequence number. It links to the item, dimensions, sample and quality order, and flags manual samples and manual quality orders.
- Table name
QMSSampleTrackingEntry- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
InventQualityManagement- Primary index
None- Replacement key
SampleTrackingIdx- Key fields
ProdId, InventTransId, CreationSequenceNumber- Model
AdvancedQualityManagement
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProdIdProduction order the entry belongs to. | String (20)ProdId | Yes | ProdTable.ProdId | QMSSampleTrackingEntryEntity |
InventTransIdLot ID of the inventory transaction the entry relates to. | String (20)InventTransId | No | InventTransOrigin.InventTransId | QMSSampleTrackingEntryEntity |
CreationSequenceNumberSequence number of the sample creation within the production order and lot. | IntegerQMSSampleCreationSequenceNumber | No | QMSSampleTrackingEntryEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIdInventory dimension combination for the entry. | String (20)InventDimId | No | InventDim.inventDimId | QMSSampleTrackingEntryEntity |
InventQualityOrderIdQuality order linked to the entry. | String (20)InventQualityOrderId | No | InventQualityOrderTable.QualityOrderId | QMSSampleTrackingEntryEntity |
IsManualQualityOrderYes/No flag showing whether the quality order was created manually. | EnumQMSSampleIsManualQualityOrderNoYes (enum) | No | QMSSampleTrackingEntryEntity | |
IsManualSampleYes/No flag for samples created by hand. Such entries are not counted when deciding to create samples automatically. | EnumQMSSampleIsManualSampleNoYes (enum) | No | QMSSampleTrackingEntryEntity | |
ItemIdItem the entry relates to. | String (20)ItemId | No | InventTable.ItemId | QMSSampleTrackingEntryEntity |
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 | |
SampleIdID of the sample tracked by the entry. | String (20)QMSSampleId | No | QMSSampleTrackingEntryEntity | |
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 (4)
SampleTrackingIdxReplacement keyProdId,InventTransId,CreationSequenceNumberUnique, alternate key.
SampleIdIdxNot unique.
ProdInventTransDimIdxProdId,InventTransId,InventDimIdUnique.
QualityOrderIdIdxNot unique.
Relations (5)
Each relation joins QMSSampleTrackingEntry to another table on the fields shown.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany QMSSampleTrackingEntry records → zero or one InventTable record
ProdTable→ProdTableJoin on
ProdId = ProdTable.ProdIdMany QMSSampleTrackingEntry records → zero or one ProdTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdZero or one QMSSampleTrackingEntry record → zero or one InventTransOrigin record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany QMSSampleTrackingEntry records → zero or one InventDim record
InventQualityOrderTable→InventQualityOrderTableJoin on
InventQualityOrderId = InventQualityOrderTable.QualityOrderIdMany QMSSampleTrackingEntry records → zero or one InventQualityOrderTable record
Get this data out
Tables are not exposed directly. These public entities read from QMSSampleTrackingEntry; use one of them in Power BI, Power Platform or a data management project.
QMSSampleTrackingEntryEntity· 9 fields from this table
Need help with QMSSampleTrackingEntry in a report, an integration or a migration? Talk to Dr Dynamics.