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 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 | |
HandlingQtyThe quantity on the line, in handling units. | RealInventHandlingQty | Yes | None | |
InventTransTypeThe type of record that the line refers to, such as a sales order, purchase order or production. | EnumInventTransType (enum) | Yes | None | |
ItemIdThe item the line is for. | String (20)ItemId | Yes | InventTable.ItemId | 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 | |
OrderNumberThe warehouse order that this line belongs to. | String (20)WHSWarehouseOrderNumber | Yes | WHSWarehouseOrderHeader.OrderNumber | None |
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 | |
SourceDocumentLineDetailsThe source document line details record linked to this line. | Int64WHSWarehouseOrderSourceDocumentRecId | No | WHSSourceDocumentLineDetails.RecId | None |
SourceInventDimIdThe inventory dimensions of the line, such as the dimension combination for the item. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
SourceInventTransOriginThe inventory transaction origin record that the line comes from. | Int64InventTransOriginId | Yes | InventTransOrigin.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WarehouseOrderSourceDocumentThe warehouse order source document record linked to this line. | Int64WHSWarehouseOrderSourceDocumentRecId | Yes | WHSWarehouseOrderSourceDocument.RecId | None |
Indexes (5)
SourceInventTransOriginIdIdxNot unique.
SourceDocumentOrderIdxNot unique.
OrderLineIdxOrderNumber,SourceInventTransOrigin,SourceInventDimIdUnique, alternate key.
WarehouseOrderSourceDocumentIdxNot unique.
OrderNumberItemIdIdxNot unique.
Relations (6)
Each relation joins WHSWarehouseOrderLine to another table on the fields shown.
InventDim→InventDimJoin on
SourceInventDimId = InventDim.inventDimIdMany WHSWarehouseOrderLine records → exactly one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany WHSWarehouseOrderLine records → exactly one InventTable record
SourceInventTransOrigin→InventTransOriginJoin on
SourceInventTransOrigin = InventTransOrigin.RecIdMany WHSWarehouseOrderLine records → exactly one InventTransOrigin record
WHSWarehouseOrderHeader→WHSWarehouseOrderHeaderJoin on
OrderNumber = WHSWarehouseOrderHeader.OrderNumberMany WHSWarehouseOrderLine records → exactly one WHSWarehouseOrderHeader record
WHSWarehouseOrderSourceDocument→WHSWarehouseOrderSourceDocumentJoin on
WarehouseOrderSourceDocument = WHSWarehouseOrderSourceDocument.RecIdOne or more WHSWarehouseOrderLine records → exactly one WHSWarehouseOrderSourceDocument record
SourceDocumentLineDetails→WHSSourceDocumentLineDetailsJoin on
SourceDocumentLineDetails = WHSSourceDocumentLineDetails.RecIdMany 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.