Table

WHSWarehouseOrderLine

Warehouse order line

Holds the lines of a warehouse order. Each line links to an item, its inventory dimensions and the inventory transaction origin. It also links to the warehouse order header and to the source document records. The table has no defined key in the metadata.

Table name
WHSWarehouseOrderLine
Module
Inventory
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
None
Replacement key
None
Key fields
None
Model
WarehouseExecutionWorkloadBackoffice

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
HandlingQtyThe quantity on the line, in handling units.Real
InventHandlingQty
YesNone
InventTransTypeThe type of record that the line refers to, such as a sales order, purchase order or production.Enum
InventTransType (enum)
YesNone
ItemIdThe item the line is for.String (20)
ItemId
YesInventTable.ItemIdNone
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
OrderNumberThe warehouse order that this line belongs to.String (20)
WHSWarehouseOrderNumber
YesWHSWarehouseOrderHeader.OrderNumberNone
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
SourceDocumentLineDetailsThe source document line details record linked to this line.Int64
WHSWarehouseOrderSourceDocumentRecId
NoWHSSourceDocumentLineDetails.RecIdNone
SourceInventDimIdThe inventory dimensions of the line, such as the dimension combination for the item.String (20)
InventDimId
YesInventDim.inventDimIdNone
SourceInventTransOriginThe inventory transaction origin record that the line comes from.Int64
InventTransOriginId
YesInventTransOrigin.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WarehouseOrderSourceDocumentThe warehouse order source document record linked to this line.Int64
WHSWarehouseOrderSourceDocumentRecId
YesWHSWarehouseOrderSourceDocument.RecIdNone

Indexes (5)

Relations (6)

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

  • InventDim → InventDim

    Join on SourceInventDimId = InventDim.inventDimId

    Many WHSWarehouseOrderLine records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many WHSWarehouseOrderLine records → exactly one InventTable record

  • SourceInventTransOrigin → InventTransOrigin

    Join on SourceInventTransOrigin = InventTransOrigin.RecId

    Many WHSWarehouseOrderLine records → exactly one InventTransOrigin record

  • WHSWarehouseOrderHeader → WHSWarehouseOrderHeader

    Join on OrderNumber = WHSWarehouseOrderHeader.OrderNumber

    Many WHSWarehouseOrderLine records → exactly one WHSWarehouseOrderHeader record

  • WHSWarehouseOrderSourceDocument → WHSWarehouseOrderSourceDocument

    Join on WarehouseOrderSourceDocument = WHSWarehouseOrderSourceDocument.RecId

    One or more WHSWarehouseOrderLine records → exactly one WHSWarehouseOrderSourceDocument record

  • SourceDocumentLineDetails → WHSSourceDocumentLineDetails

    Join on SourceDocumentLineDetails = WHSSourceDocumentLineDetails.RecId

    Many WHSWarehouseOrderLine records → zero or one WHSSourceDocumentLineDetails record

Get this data out

No public entity reads from WHSWarehouseOrderLine. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk