Table

WHSLocDirTable

Location directives

Holds location directive headers. A directive is identified by name, work type, work order type, site and warehouse. It sets scope, how to locate, disposition code rules and whether it applies to a warehouse, a warehouse group or all warehouses.

Table name
WHSLocDirTable
Module
Inventory
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
NameWorkTypeTransTypeIdx
Replacement key
NameWorkTypeTransTypeIdx
Key fields
LocDirName, WorkType, WorkTransType, InventSiteId, InventLocationId
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LocDirNameThe name of the directive.String (60)
WHSLocDirName
YesWHSWarehouseLocationDirectiveV3EntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineEntityand 1 more
WorkTypeThe work type the directive applies to, such as pick, put or counting.Enum
WHSWorkType (enum)
YesWHSWarehouseLocationDirectiveV3EntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineEntityand 1 more
WorkTransTypeThe work order type the directive applies to.Enum
WHSWorkTransType (enum)
YesWHSWarehouseLocationDirectiveV3EntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineEntityand 1 more
InventSiteIdThe site the directive applies to.String
InventSiteId
NoInventSite.SiteIdWHSWarehouseLocationDirectiveV3EntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineEntityand 1 more
InventLocationIdThe warehouse the directive applies to.String
InventLocationId
NoInventLocation.InventLocationIdWHSWarehouseLocationDirectiveV3EntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineEntityand 1 more
ApplicableDispositionCodeRuleSets whether the disposition code must match exactly or any code is accepted.Enum
WHSApplicableDispositionCodeRule (enum)
NoWHSWarehouseLocationDirectiveV3Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DispositionCodeThe disposition code linked to the directive.String (20)
WHSDispositionCode
NoWHSDispositionTable.DispositionCodeWHSWarehouseLocationDirectiveV3Entity
IsAutoGeneratedShows whether the directive was generated automatically from an item storage policy.Enum
WHSLocDirAutoGenerated (enum)
NoNone
LocateBySets what the directive locates by: item, ASN, mixed license plate or cluster.Enum
WHSLocDirLocateBy (enum)
NoWHSWarehouseLocationDirectiveV3Entity
LocDirHintCodeThe directive code linked to this directive.String (20)
WHSLocDirHintCode
NoWHSLocDirHint.LocDirHintCodeWHSWarehouseLocationDirectiveV3Entity
LocDirQueryThe stored query that filters when the directive applies.Container
WHSLocDirQuery
NoWHSWarehouseLocationDirectiveV3Entity
LocSeqNumThe sequence number that sets the order of directives.Integer
WHSLocSeqNum
YesWHSWarehouseLocationDirectiveV3Entity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
MultiSKUYes/no flag for multiple stock keeping units.Enum
WHSMultiSKU
NoYes (enum)
NoWHSWarehouseLocationDirectiveV3Entity
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
ScopeSets the scope of the directive, such as single item, multiple items or all.Enum
WhsLocationDirectiveScope (enum)
NoWHSWarehouseLocationDirectiveV3Entity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WarehouseGroupAllShows whether the directive applies to one warehouse, a warehouse group or all warehouses.Enum
WhsWarehouseGroupAll (enum)
NoWHSWarehouseLocationDirectiveV3Entity
WarehouseGroupIdThe warehouse group the directive applies to.String (20)
WhsWarehouseGroupId
NoWhsWarehouseGroup.WarehouseGroupIdWHSWarehouseLocationDirectiveV3Entity

Indexes (3)

Relations (6)

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

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many WHSLocDirTable records → exactly one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many WHSLocDirTable records → exactly one InventSite record

  • WHSDispositionTable → WHSDispositionTable

    Join on DispositionCode = WHSDispositionTable.DispositionCode

    Many WHSLocDirTable records → zero or one WHSDispositionTable record

  • WHSLocDirHint → WHSLocDirHint

    Join on LocDirHintCode = WHSLocDirHint.LocDirHintCode

    Many WHSLocDirTable records → zero or one WHSLocDirHint record

  • WhsWarehouseGroup → WhsWarehouseGroup

    Join on WarehouseGroupId = WhsWarehouseGroup.WarehouseGroupId

    Many WHSLocDirTable records → zero or one WhsWarehouseGroup record

  • WHSItemStoragePolicyLocationDirective → WHSItemStoragePolicyLocationDirective

    Join on RecId = WHSItemStoragePolicyLocationDirective.WHSLocDirTable

    Zero or one WHSLocDirTable record → zero or one WHSItemStoragePolicyLocationDirective record

Get this data out

Tables are not exposed directly. These public entities read from WHSLocDirTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk