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 descriptionType / EDT / enumMandatoryReferencesIn public entities
InventLocationIdThe warehouse of the location.String
InventLocationId
YesWMSLocation.inventLocationIdWHSWarehouseWorkPolicyLocationEntity
WMSLocationIdThe location linked to the work policy.String
WMSLocationId
YesWMSLocation.wMSLocationIdWHSWarehouseWorkPolicyLocationEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkPolicyPoints to the work policy the location is linked to.Int64
WHSWorkPolicyRecId
YesWHSWorkPolicy.RecIdWHSWarehouseWorkPolicyLocationEntity

Indexes (2)

Relations (2)

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

  • WMSLocation → WMSLocation

    Join on InventLocationId = WMSLocation.inventLocationId, WMSLocationId = WMSLocation.wMSLocationId

    Many WHSWorkPolicyLocation records → exactly one WMSLocation record

  • WorkPolicy → WHSWorkPolicy

    Join on WorkPolicy = WHSWorkPolicy.RecId

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

Need help with WHSWorkPolicyLocation in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk