Table

WHSLocationDirectiveAcceptanceTest

Location directive acceptance tests

Defines test cases for location directives, keyed by test name. Each test sets the item, quantity, work type, order and expected location outcome. It can also relate to inventory dimensions and to purchase, sales, production, transfer and quality orders.

Table name
WHSLocationDirectiveAcceptanceTest
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
None
Replacement key
NameIdx
Key fields
Name
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
NameThe unique name of the acceptance test.String (255)
WHSLocationDirectiveAcceptanceTestName
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionA free text description of the acceptance test.String (500)
WHSLocationDirectiveAcceptanceTestDescription
NoNone
DispositionCodeThe disposition code used in the test.String (20)
WHSDispositionCode
NoNone
ExpectedLocProfileIdThe location profile that the expected location should have.String (20)
WHSLocProfileId
NoNone
ExpectedWMSLocationIdThe exact location that the test expects as the result.String
WMSLocationId
NoNone
ExpectedWMSLocationRegExA regular expression that the expected location should match.String (255)
WHSLocationDirectiveAcceptanceTestLocationRegEx
NoNone
ExpectedZoneIdThe zone that the expected location should be in.String (20)
WHSZoneId
NoNone
InventDimIdPoints to the inventory dimensions used in the test.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventLevelSets the inventory condition for the test: current on-hand inventory or no inventory.Enum
WHSLocationDirectiveAcceptanceTestInventLevel (enum)
NoNone
IsInactiveYes or No value showing whether the test is inactive.Enum
WHSLocationDirectiveAcceptanceTestInactive
NoYes (enum)
NoNone
ItemIdThe item number used in the test.String (20)
ItemId
YesNone
LocDirHintCodeThe directive code used in the test.String (20)
WHSLocDirHintCode
NoNone
OrderNumThe order number used in the test. It can match a quality order, transfer order or production order.String (20)
WHSOrderNum
NoInventQualityOrderTable.QualityOrderIdInventTransferTable.TransferIdProdTable.ProdIdPurchTable.PurchIdSalesTable.SalesIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QtyThe quantity used in the test.Real
Qty
YesNone
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
UnitOfMeasureThe unit of measure for the test quantity.String
UnitOfMeasureSymbol
YesNone
WorkTransTypeThe work order type for the test, such as purchase orders, sales orders, transfer issue or inventory movement.Enum
WHSWorkTransType (enum)
YesNone
WorkTypeThe work type for the test, such as pick, put, counting or adjustments.Enum
WHSWorkType (enum)
YesNone

Indexes (1)

  • NameIdxReplacement key

    Name

    Unique, alternate key.

Relations (8)

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

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many WHSLocationDirectiveAcceptanceTest records → zero or one InventDim record

  • InventQualityOrderTableByOrderNum → InventQualityOrderTable

    Join on WorkTransType = WHSWorkTransType::QualityOrder, OrderNum = InventQualityOrderTable.QualityOrderId

    Many WHSLocationDirectiveAcceptanceTest records → zero or one InventQualityOrderTable record

  • ProdTablePick → ProdTable

    Join on WorkTransType = WHSWorkTransType::ProdPick, OrderNum = ProdTable.ProdId

    Many WHSLocationDirectiveAcceptanceTest records → zero or one ProdTable record

  • ProdTablePut → ProdTable

    Join on WorkTransType = WHSWorkTransType::ProdPut, OrderNum = ProdTable.ProdId

    Many WHSLocationDirectiveAcceptanceTest records → zero or one ProdTable record

  • PurchTable → PurchTable

    Join on WorkTransType = WHSWorkTransType::Purch, OrderNum = PurchTable.PurchId

    Many WHSLocationDirectiveAcceptanceTest records → zero or one PurchTable record

  • SalesTable → SalesTable

    Join on WorkTransType = WHSWorkTransType::Sales, OrderNum = SalesTable.SalesId

    Many WHSLocationDirectiveAcceptanceTest records → zero or one SalesTable record

  • TransferOrderIssue → InventTransferTable

    Join on WorkTransType = WHSWorkTransType::TransferIssue, OrderNum = InventTransferTable.TransferId

    Many WHSLocationDirectiveAcceptanceTest records → zero or one InventTransferTable record

  • TransferOrderReciept → InventTransferTable

    Join on WorkTransType = WHSWorkTransType::TransferReceipt, OrderNum = InventTransferTable.TransferId

    Many WHSLocationDirectiveAcceptanceTest records → zero or one InventTransferTable record

Get this data out

No public entity reads from WHSLocationDirectiveAcceptanceTest. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk