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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LocDirNameThe name of the directive. | String (60)WHSLocDirName | Yes | WHSWarehouseLocationDirectiveV3EntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineEntityand 1 more | |
WorkTypeThe work type the directive applies to, such as pick, put or counting. | EnumWHSWorkType (enum) | Yes | WHSWarehouseLocationDirectiveV3EntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineEntityand 1 more | |
WorkTransTypeThe work order type the directive applies to. | EnumWHSWorkTransType (enum) | Yes | WHSWarehouseLocationDirectiveV3EntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineEntityand 1 more | |
InventSiteIdThe site the directive applies to. | StringInventSiteId | No | InventSite.SiteId | WHSWarehouseLocationDirectiveV3EntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineEntityand 1 more |
InventLocationIdThe warehouse the directive applies to. | StringInventLocationId | No | InventLocation.InventLocationId | WHSWarehouseLocationDirectiveV3EntityWHSWarehouseLocationDirectiveLineActionV3EntityWHSWarehouseLocationDirectiveLineEntityand 1 more |
ApplicableDispositionCodeRuleSets whether the disposition code must match exactly or any code is accepted. | EnumWHSApplicableDispositionCodeRule (enum) | No | WHSWarehouseLocationDirectiveV3Entity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DispositionCodeThe disposition code linked to the directive. | String (20)WHSDispositionCode | No | WHSDispositionTable.DispositionCode | WHSWarehouseLocationDirectiveV3Entity |
IsAutoGeneratedShows whether the directive was generated automatically from an item storage policy. | EnumWHSLocDirAutoGenerated (enum) | No | None | |
LocateBySets what the directive locates by: item, ASN, mixed license plate or cluster. | EnumWHSLocDirLocateBy (enum) | No | WHSWarehouseLocationDirectiveV3Entity | |
LocDirHintCodeThe directive code linked to this directive. | String (20)WHSLocDirHintCode | No | WHSLocDirHint.LocDirHintCode | WHSWarehouseLocationDirectiveV3Entity |
LocDirQueryThe stored query that filters when the directive applies. | ContainerWHSLocDirQuery | No | WHSWarehouseLocationDirectiveV3Entity | |
LocSeqNumThe sequence number that sets the order of directives. | IntegerWHSLocSeqNum | Yes | WHSWarehouseLocationDirectiveV3Entity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
MultiSKUYes/no flag for multiple stock keeping units. | EnumWHSMultiSKUNoYes (enum) | No | WHSWarehouseLocationDirectiveV3Entity | |
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 | |
ScopeSets the scope of the directive, such as single item, multiple items or all. | EnumWhsLocationDirectiveScope (enum) | No | WHSWarehouseLocationDirectiveV3Entity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WarehouseGroupAllShows whether the directive applies to one warehouse, a warehouse group or all warehouses. | EnumWhsWarehouseGroupAll (enum) | No | WHSWarehouseLocationDirectiveV3Entity | |
WarehouseGroupIdThe warehouse group the directive applies to. | String (20)WhsWarehouseGroupId | No | WhsWarehouseGroup.WarehouseGroupId | WHSWarehouseLocationDirectiveV3Entity |
Indexes (3)
LocSeqNumLocSeqNum,LocDirName,WorkType,WorkTransTypeNot unique.
NameWorkTypeTransTypeIdxPrimary indexReplacement keyLocDirName,WorkType,WorkTransType,InventSiteId,InventLocationIdUnique, alternate key.
WarehouseGroupIdIdxNot unique.
Relations (6)
Each relation joins WHSLocDirTable to another table on the fields shown.
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany WHSLocDirTable records → exactly one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany WHSLocDirTable records → exactly one InventSite record
WHSDispositionTable→WHSDispositionTableJoin on
DispositionCode = WHSDispositionTable.DispositionCodeMany WHSLocDirTable records → zero or one WHSDispositionTable record
WHSLocDirHint→WHSLocDirHintJoin on
LocDirHintCode = WHSLocDirHint.LocDirHintCodeMany WHSLocDirTable records → zero or one WHSLocDirHint record
WhsWarehouseGroup→WhsWarehouseGroupJoin on
WarehouseGroupId = WhsWarehouseGroup.WarehouseGroupIdMany WHSLocDirTable records → zero or one WhsWarehouseGroup record
WHSItemStoragePolicyLocationDirective→WHSItemStoragePolicyLocationDirectiveJoin on
RecId = WHSItemStoragePolicyLocationDirective.WHSLocDirTableZero 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.
WHSWarehouseLocationDirectiveV3Entity· 15 fields from this tableWHSWarehouseLocationDirectiveLineActionV3Entity· 5 fields from this tableWHSWarehouseLocationDirectiveLineEntity· 5 fields from this tableWHSWarehouseLocationDirectiveLineUnitOfMeasureRestrictionEntity· 5 fields from this table
Need help with WHSLocDirTable in a report, an integration or a migration? Talk to Dr Dynamics.