Data entity
WHSInboundShipmentOrderDocumentRoutingEntity
Holds document routing rules for inbound shipment orders in a warehouse. Each rule has a sequence number, a query, a work template and a zone range. The key is warehouse and routing sequence.
- Entity name
WHSInboundShipmentOrderDocumentRoutingEntity- Public entity name
InboundShipmentOrderDocumentRouting- OData collection
InboundShipmentOrderDocumentRoutings- Category
Reference- Module
WMS- Read-only
No- Data management enabled
Yes- Configuration key
WHSandTMS- Keys
WarehouseId, DocumentRoutingSequence- Staging table
WHSInboundShipmentOrderDocumentRoutingStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/InboundShipmentOrderDocumentRoutings- Dataverse virtual table
mserp_whsinboundshipmentorderdocumentroutingentity. 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 |
|---|---|---|---|---|---|
ConsignerAccountNumberCustomer 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 routing rule's work template applies to. | Enum
| No | Yes | computed | |
DocumentRoutingQueryJsonThe routing rule's query, stored as JSON text. | 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.
ConsignerAccountNumber→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
ConsignerAccountNumber→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 WHSInboundShipmentOrderDocumentRoutingEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.