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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdPoints to the inventory dimension record (such as site or warehouse) for the sampled stock.String (20)
InventDimId
YesInventDim.inventDimIdNone
InventTestAssociationTableRecord ID of the quality association this sampling record belongs to.Int64
InventTestAssociationTableRecId
YesInventTestAssociationTable.RecIdNone
InventTestReferenceTypeKind of source document the test refers to, such as sales, purchase, production or transfer.Enum
InventTestReferenceType (enum)
NoNone
InventTransIdLot ID of the inventory transaction, linking to its originator record.String (20)
InventTransId
YesInventTransOrigin.InventTransIdNone
LoadIdIdentifies the warehouse load, linking to the loads table.String (20)
WHSLoadId
NoWHSLoadTable.LoadIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OrderNumNumber of the order the sampling relates to.String (20)
WHSOrderNum
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QualityOrderQtyQuantity on the quality order.Real
InventQualityOrderQty
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
ShipmentIdIdentifies the shipment, linking to the shipments table.String (20)
WHSShipmentId
NoWHSShipmentTable.ShipmentIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (5)

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

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many WHSItemSamplingTracking records → exactly one InventDim record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many WHSItemSamplingTracking records → exactly one InventTransOrigin record

  • WHSLoadTable → WHSLoadTable

    Join on LoadId = WHSLoadTable.LoadId

    Many WHSItemSamplingTracking records → zero or one WHSLoadTable record

  • WHSShipmentTable → WHSShipmentTable

    Join on ShipmentId = WHSShipmentTable.ShipmentId

    Many WHSItemSamplingTracking records → zero or one WHSShipmentTable record

  • InventTestAssociationTable → InventTestAssociationTable

    Join on InventTestAssociationTable = InventTestAssociationTable.RecId

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

Email sales@drdynamics.co.uk