Table
WHSSourceOrderFullfillmentPolicy
Links a source order to a fulfilment policy for warehouse work. The key is the order number plus the document type, which is either a sales order or an outbound shipment order. The order number points to a sales order and the policy points to a fulfilment policy.
- Table name
WHSSourceOrderFullfillmentPolicy- Module
Cross-module and platform- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
OrderIdTypeIdx- Replacement key
OrderIdTypeIdx- Key fields
OrderNumber, SourceOrderDocumentType- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
OrderNumberNumber of the order that the policy is assigned to. Points to a sales order. | String (20)WHSOrderNum | Yes | SalesTable.SalesId | None |
SourceOrderDocumentTypeType of source document: sales order or outbound shipment order. | EnumWHSSourceOrderDocumentType (enum) | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FulfillmentPolicySystem record ID of the fulfilment policy used for the order. Points to WHSFulfillmentPolicy. | Int64WHSFulfillmentPolicyRecId | No | WHSFulfillmentPolicy.RecId | SalesOrderHeaderV4EntitySalesOrderHeaderV3EntitySalesOrderHeaderV2Entity |
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 | |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
OrderIdTypeIdxPrimary indexReplacement keyOrderNumber,SourceOrderDocumentTypeUnique, alternate key.
FulfillmentPolicyIdxNot unique.
Relations (2)
Each relation joins WHSSourceOrderFullfillmentPolicy to another table on the fields shown.
WHSFulfillmentPolicy→WHSFulfillmentPolicyJoin on
FulfillmentPolicy = WHSFulfillmentPolicy.RecIdMany WHSSourceOrderFullfillmentPolicy records → zero or one WHSFulfillmentPolicy record
SalesTable→SalesTableJoin on
OrderNumber = SalesTable.SalesId,SourceOrderDocumentType = WHSSourceOrderDocumentType::SalesOrderZero or one WHSSourceOrderFullfillmentPolicy record → exactly one SalesTable record
Get this data out
Tables are not exposed directly. These public entities read from WHSSourceOrderFullfillmentPolicy; use one of them in Power BI, Power Platform or a data management project.
SalesOrderHeaderV4Entity· 1 field from this tableSalesOrderHeaderV3Entity· 1 field from this tableSalesOrderHeaderV2Entity· 1 field from this table
Need help with WHSSourceOrderFullfillmentPolicy in a report, an integration or a migration? Talk to Dr Dynamics.