Data entity
WHSSalesOrderDocumentRoutingV3Entity
Document routing rules for sales orders, set per warehouse and sequence number. Each rule holds a query, the carrier, the user and the work template, with the zone range the rule applies to. It is the V3 version and can be edited and imported.
- Entity name
WHSSalesOrderDocumentRoutingV3Entity- Public entity name
SalesOrderDocumentRoutingV3- OData collection
SalesOrderDocumentRoutingsV3- Category
Reference- Module
WMS- Read-only
No- Data management enabled
Yes- Configuration key
WHSandTMS- Keys
WarehouseId, DocumentRoutingSequence- Staging table
WHSSalesOrderDocumentRoutingV3Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SalesOrderDocumentRoutingsV3- Dataverse virtual table
mserp_whssalesorderdocumentroutingv3entity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
WHSDocumentRoutingTable· root
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CustomerAccountNumberCustomer or vendor account that the rule applies to. Points to the Customers or Vendors table. | String (20)CustVendAC | No | Yes | CustTable.AccountNumVendTable.AccountNum | WHSDocumentRoutingTable.AccountNum |
ShippingCarrierIdCarrier that the rule applies to. Points to the Carrier table. | String (20)WHSCarrierCode | No | Yes | TMSCarrier.CarrierCode | WHSDocumentRoutingTable.CarrierCode |
WarehouseIdWarehouse that the rule applies to. Points to the Warehouses table. | StringInventLocationId | Yes | Yes | InventLocation.InventLocationId | WHSDocumentRoutingTable.InventLocationId |
DocumentRoutingNameName of the routing rule. | String (60)Name | No | Yes | WHSDocumentRoutingTable.Name | |
DocumentRoutingQuerySaved query, stored in packed form, that filters the rule. | ContainerWHSQuery | No | Yes | WHSDocumentRoutingTable.Query | |
IsDocumentRoutingQueryEnabledYes/No choice that says whether the query is run. | EnumWHSRunQuery
| No | Yes | WHSDocumentRoutingTable.RunQuery | |
DocumentRoutingSequenceNumber that sets the order of the rule. | IntegerWHSSeqNum | Yes | Yes | WHSDocumentRoutingTable.SeqNum | |
WarehouseMobileDeviceUserIdWork user that the rule applies to. Points to the Work users table. | StringWHSUserId | No | Yes | WHSWorkUser.UserId | WHSDocumentRoutingTable.UserId |
WarehouseWorkTemplateIdWork template that the rule applies to. Points to the Work templates table, together with the work order type. | String (20)WHSWorkTemplateCode | No | Yes | WHSWorkTemplateTable.WorkTemplateCode | WHSDocumentRoutingTable.WorkTemplateCode |
FromWarehouseZoneIdStart of the warehouse zone range. Points to the Warehouse zones table. | String (20)WHSZoneIdFrom | No | Yes | WHSZone.ZoneId | WHSDocumentRoutingTable.ZoneIdFrom |
ToWarehouseZoneIdEnd of the warehouse zone range. Points to the Warehouse zones table. | String (20)WHSZoneIdTo | No | Yes | WHSZone.ZoneId | WHSDocumentRoutingTable.ZoneIdTo |
WarehouseWorkTemplateWorkOrderTypeType of work order that the work template of this routing rule is used for. | Enum
| No | Yes | computed | |
DocumentRoutingQueryJsonThe routing query stored as text in JSON format. | String | No | Yes | virtual |
Foreign keys (8)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
CustomerAccountNumber→CustTable.AccountNum(key of CustTable)Relation also requires WorkTransType = WHSWorkTransType::Sales.
Many WHSDocumentRoutingTable records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
CustomerAccountNumber→VendTable.AccountNum(key of VendTable)Relation also requires WorkTransType = WHSWorkTransType::Purch.
Many WHSDocumentRoutingTable records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
ShippingCarrierId→TMSCarrier.CarrierCode(key of TMSCarrier)Many WHSDocumentRoutingTable records → zero or one TMSCarrier record
TMSCarrier details: see TMSShippingCarrierEntity, TMSTransportationAppointmentDriverLogEntity, TMSTransportationAppointmentEntity
WarehouseId→InventLocation.InventLocationId(key of InventLocation)Many WHSDocumentRoutingTable records → exactly one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
WarehouseMobileDeviceUserId→WHSWorkUser.UserId(key of WHSWorkUser)Many WHSDocumentRoutingTable records → zero or one WHSWorkUser record
WHSWorkUser details: see WHSWarehouseMobileDeviceUserEntity
WarehouseWorkTemplateId→WHSWorkTemplateTable.WorkTemplateCode(key of WHSWorkTemplateTable)Join on all of:
WarehouseWorkTemplateId=WHSWorkTemplateTable.WorkTemplateCode,WorkTransType(table field, not in this entity) =WHSWorkTemplateTable.WorkTransTypeMany WHSDocumentRoutingTable records → zero or one WHSWorkTemplateTable record
WHSWorkTemplateTable details: see WHSWarehouseWorkTemplateV3Entity, WHSWarehouseWorkTemplateWorkBreakEntity
FromWarehouseZoneId→WHSZone.ZoneId(key of WHSZone)Many WHSDocumentRoutingTable records → zero or one WHSZone record
WHSZone details: see WHSWarehouseZoneEntity
ToWarehouseZoneId→WHSZone.ZoneId(key of WHSZone)Many WHSDocumentRoutingTable records → zero or one WHSZone record
WHSZone details: see WHSWarehouseZoneEntity
Need help with WHSSalesOrderDocumentRoutingV3Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.