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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ProdIdProduction order the entry belongs to.String (20)
ProdId
YesProdTable.ProdIdQMSSampleTrackingEntryEntity
InventTransIdLot ID of the inventory transaction the entry relates to.String (20)
InventTransId
NoInventTransOrigin.InventTransIdQMSSampleTrackingEntryEntity
CreationSequenceNumberSequence number of the sample creation within the production order and lot.Integer
QMSSampleCreationSequenceNumber
NoQMSSampleTrackingEntryEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdInventory dimension combination for the entry.String (20)
InventDimId
NoInventDim.inventDimIdQMSSampleTrackingEntryEntity
InventQualityOrderIdQuality order linked to the entry.String (20)
InventQualityOrderId
NoInventQualityOrderTable.QualityOrderIdQMSSampleTrackingEntryEntity
IsManualQualityOrderYes/No flag showing whether the quality order was created manually.Enum
QMSSampleIsManualQualityOrder
NoYes (enum)
NoQMSSampleTrackingEntryEntity
IsManualSampleYes/No flag for samples created by hand. Such entries are not counted when deciding to create samples automatically.Enum
QMSSampleIsManualSample
NoYes (enum)
NoQMSSampleTrackingEntryEntity
ItemIdItem the entry relates to.String (20)
ItemId
NoInventTable.ItemIdQMSSampleTrackingEntryEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SampleIdID of the sample tracked by the entry.String (20)
QMSSampleId
NoQMSSampleTrackingEntryEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (4)

Relations (5)

Each relation joins QMSSampleTrackingEntry to another table on the fields shown.

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many QMSSampleTrackingEntry records → zero or one InventTable record

  • ProdTable → ProdTable

    Join on ProdId = ProdTable.ProdId

    Many QMSSampleTrackingEntry records → zero or one ProdTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Zero or one QMSSampleTrackingEntry record → zero or one InventTransOrigin record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many QMSSampleTrackingEntry records → zero or one InventDim record

  • InventQualityOrderTable → InventQualityOrderTable

    Join on InventQualityOrderId = InventQualityOrderTable.QualityOrderId

    Many 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.

Need help with QMSSampleTrackingEntry in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk