Table

WHSLocDirAction

Location Directive Actions

Holds the actions of a location directive line. Each action has a name, a sequence number and a stored query, and sets a strategy and batch and inventory options. It links to a location directive line through its reference field.

Table name
WHSLocDirAction
Module
Inventory
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
LocDirNameRefRecIdIdx
Replacement key
LocDirNameRefRecIdIdx
Key fields
LocDirName, RefRecId
Model
Foundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LocDirNameThe name of the action.String (60)
WHSLocDirName
YesWHSWarehouseLocationDirectiveLineActionV3Entity
RefRecIdPoints to the location directive line that owns this action.Int64
RefRecId
YesWHSLocDirLine.RecIdWHSWarehouseLocationDirectiveLineActionV3Entity
AllowNegativeYes/no flag for allowing negative inventory.Enum
WHSAllowNegative
NoYes (enum)
NoWHSWarehouseLocationDirectiveLineActionV3Entity
BatchEnabledYes/no flag showing whether batches are enabled for the action.Enum
WHSBatchEnabled
NoYes (enum)
NoWHSWarehouseLocationDirectiveLineActionV3Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LocDirQueryThe stored query that selects the locations for the action.Container
WHSLocDirQuery
NoWHSWarehouseLocationDirectiveLineActionV3Entity
LocDirQueryV1An earlier stored version of the query.low confidenceContainer
WHSLocDirQuery
NoNone
LocDirStrategyThe strategy used by the action, such as consolidate, FEFO batch reservation or location aging.Enum
WHSLocDirStrategy (enum)
NoWHSWarehouseLocationDirectiveLineActionV3Entity
LocSeqNumThe sequence number that sets the order.Integer
WHSLocSeqNum
NoWHSWarehouseLocationDirectiveLineActionV3Entity
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
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UseDimOfInventSumShows whether the inventory dimensions of on-hand inventory are used. The values are Unknown, Yes and Converted.Enum
WHSLocDirActionQueryUseDimOfInventSum (enum)
NoNone
UseInventFixedLocationSets whether fixed locations, non-fixed locations or both are used.Enum
WHSUseFixedLocations (enum)
NoWHSWarehouseLocationDirectiveLineActionV3Entity

Indexes (3)

Relations (1)

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

  • WHSLocDirLine → WHSLocDirLine

    Join on RefRecId = WHSLocDirLine.RecId

    Many WHSLocDirAction records → exactly one WHSLocDirLine record

Get this data out

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

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

Email sales@drdynamics.co.uk