Table
WHSWarehouseOrderHeader
Warehouse order
Holds one record for each warehouse order, identified by the warehouse order number. It records the direction (inbound or outbound), the order type (product receipt or product shipping) and the status. It links to the warehouse and the site.
- Table name
WHSWarehouseOrderHeader- Module
Inventory- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
OrderNumberIdx- Replacement key
OrderNumberIdx- Key fields
OrderNumber- Model
WarehouseExecutionWorkloadBackoffice
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
OrderNumberThe unique number that identifies the warehouse order. | String (20)WHSWarehouseOrderNumber | Yes | None | |
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 | |
InventLocationIdThe warehouse the order belongs to. | StringInventLocationId | Yes | InventLocation.InventLocationId | None |
InventSiteIdThe site the order belongs to. | StringInventSiteId | Yes | InventSite.SiteId | 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 | |
OrderDirectionShows whether the order is inbound or outbound, or has no direction. | EnumWHSLoadDirection (enum) | Yes | None | |
OrderStatusThe stage of the order: created, confirmed, cancelled or completed. | EnumWHSWarehouseOrderStatus (enum) | No | None | |
OrderTypeThe kind of order: product receipt or product shipping, or none. | EnumWHSWarehouseOrderType (enum) | Yes | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
OrderNumberIdxPrimary indexReplacement keyUnique, alternate key.
InventLocationIdOrderStatusOrderDirectionIdxInventLocationId,OrderStatus,OrderDirectionNot unique.
Relations (2)
Each relation joins WHSWarehouseOrderHeader to another table on the fields shown.
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany WHSWarehouseOrderHeader records → exactly one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany WHSWarehouseOrderHeader records → exactly one InventSite record
Get this data out
No public entity reads from WHSWarehouseOrderHeader. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSWarehouseOrderHeader in a report, an integration or a migration? Talk to Dr Dynamics.