Table
WHSWorkPolicyLocation
Work policy locations
Links a work policy to warehouse locations. Each record is identified by a warehouse and a location. It has a reference to the work policy.
- Table name
WHSWorkPolicyLocation- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
None- Replacement key
InventLocationIdx- Key fields
InventLocationId, WMSLocationId- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
InventLocationIdThe warehouse of the location. | StringInventLocationId | Yes | WMSLocation.inventLocationId | WHSWarehouseWorkPolicyLocationEntity |
WMSLocationIdThe location linked to the work policy. | StringWMSLocationId | Yes | WMSLocation.wMSLocationId | WHSWarehouseWorkPolicyLocationEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | 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 | |
WorkPolicyPoints to the work policy the location is linked to. | Int64WHSWorkPolicyRecId | Yes | WHSWorkPolicy.RecId | WHSWarehouseWorkPolicyLocationEntity |
Indexes (2)
InventLocationIdxReplacement keyInventLocationId,WMSLocationIdUnique, alternate key.
WorkPolicyIdxNot unique.
Relations (2)
Each relation joins WHSWorkPolicyLocation to another table on the fields shown.
WMSLocation→WMSLocationJoin on
InventLocationId = WMSLocation.inventLocationId,WMSLocationId = WMSLocation.wMSLocationIdMany WHSWorkPolicyLocation records → exactly one WMSLocation record
WorkPolicy→WHSWorkPolicyJoin on
WorkPolicy = WHSWorkPolicy.RecIdMany WHSWorkPolicyLocation records → exactly one WHSWorkPolicy record
Get this data out
Tables are not exposed directly. These public entities read from WHSWorkPolicyLocation; use one of them in Power BI, Power Platform or a data management project.
WHSWarehouseWorkPolicyLocationEntity· 3 fields from this table
Need help with WHSWorkPolicyLocation in a report, an integration or a migration? Talk to Dr Dynamics.