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 descriptionType / EDT / enumMandatoryReferencesIn public entities
OrderNumberThe unique number that identifies the warehouse order.String (20)
WHSWarehouseOrderNumber
YesNone
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
InventLocationIdThe warehouse the order belongs to.String
InventLocationId
YesInventLocation.InventLocationIdNone
InventSiteIdThe site the order belongs to.String
InventSiteId
YesInventSite.SiteIdNone
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
OrderDirectionShows whether the order is inbound or outbound, or has no direction.Enum
WHSLoadDirection (enum)
YesNone
OrderStatusThe stage of the order: created, confirmed, cancelled or completed.Enum
WHSWarehouseOrderStatus (enum)
NoNone
OrderTypeThe kind of order: product receipt or product shipping, or none.Enum
WHSWarehouseOrderType (enum)
YesNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many WHSWarehouseOrderHeader records → exactly one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

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

Email sales@drdynamics.co.uk