Table
WHSItemSamplingTracking
Item sampling tracking
Links quality order quantities to the load, shipment and order they came from. Each record holds an inventory dimension, a lot ID and a reference type. It also points to a quality association record. It has no defined key.
- Table name
WHSItemSamplingTracking- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIdPoints to the inventory dimension record (such as site or warehouse) for the sampled stock. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
InventTestAssociationTableRecord ID of the quality association this sampling record belongs to. | Int64InventTestAssociationTableRecId | Yes | InventTestAssociationTable.RecId | None |
InventTestReferenceTypeKind of source document the test refers to, such as sales, purchase, production or transfer. | EnumInventTestReferenceType (enum) | No | None | |
InventTransIdLot ID of the inventory transaction, linking to its originator record. | String (20)InventTransId | Yes | InventTransOrigin.InventTransId | None |
LoadIdIdentifies the warehouse load, linking to the loads table. | String (20)WHSLoadId | No | WHSLoadTable.LoadId | None |
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 | |
OrderNumNumber of the order the sampling relates to. | String (20)WHSOrderNum | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QualityOrderQtyQuantity on the quality order. | RealInventQualityOrderQty | 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 | |
ShipmentIdIdentifies the shipment, linking to the shipments table. | String (20)WHSShipmentId | No | WHSShipmentTable.ShipmentId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
WHSTransIdAssociationRecIdOrderLoadShipDimIdxInventTransId,InventTestAssociationTable,OrderNum,LoadId,ShipmentId,InventDimIdUnique, alternate key.
InventDimIdxNot unique.
LoadIdIdxNot unique.
Relations (5)
Each relation joins WHSItemSamplingTracking to another table on the fields shown.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany WHSItemSamplingTracking records → exactly one InventDim record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany WHSItemSamplingTracking records → exactly one InventTransOrigin record
WHSLoadTable→WHSLoadTableJoin on
LoadId = WHSLoadTable.LoadIdMany WHSItemSamplingTracking records → zero or one WHSLoadTable record
WHSShipmentTable→WHSShipmentTableJoin on
ShipmentId = WHSShipmentTable.ShipmentIdMany WHSItemSamplingTracking records → zero or one WHSShipmentTable record
InventTestAssociationTable→InventTestAssociationTableJoin on
InventTestAssociationTable = InventTestAssociationTable.RecIdMany WHSItemSamplingTracking records → exactly one InventTestAssociationTable record
Get this data out
No public entity reads from WHSItemSamplingTracking. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSItemSamplingTracking in a report, an integration or a migration? Talk to Dr Dynamics.