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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
NameThe unique name of the acceptance test. | String (255)WHSLocationDirectiveAcceptanceTestName | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionA free text description of the acceptance test. | String (500)WHSLocationDirectiveAcceptanceTestDescription | No | None | |
DispositionCodeThe disposition code used in the test. | String (20)WHSDispositionCode | No | None | |
ExpectedLocProfileIdThe location profile that the expected location should have. | String (20)WHSLocProfileId | No | None | |
ExpectedWMSLocationIdThe exact location that the test expects as the result. | StringWMSLocationId | No | None | |
ExpectedWMSLocationRegExA regular expression that the expected location should match. | String (255)WHSLocationDirectiveAcceptanceTestLocationRegEx | No | None | |
ExpectedZoneIdThe zone that the expected location should be in. | String (20)WHSZoneId | No | None | |
InventDimIdPoints to the inventory dimensions used in the test. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventLevelSets the inventory condition for the test: current on-hand inventory or no inventory. | EnumWHSLocationDirectiveAcceptanceTestInventLevel (enum) | No | None | |
IsInactiveYes or No value showing whether the test is inactive. | EnumWHSLocationDirectiveAcceptanceTestInactiveNoYes (enum) | No | None | |
ItemIdThe item number used in the test. | String (20)ItemId | Yes | None | |
LocDirHintCodeThe directive code used in the test. | String (20)WHSLocDirHintCode | No | None | |
OrderNumThe order number used in the test. It can match a quality order, transfer order or production order. | String (20)WHSOrderNum | No | InventQualityOrderTable.QualityOrderIdInventTransferTable.TransferIdProdTable.ProdIdPurchTable.PurchIdSalesTable.SalesId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QtyThe quantity used in the test. | RealQty | Yes | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitOfMeasureThe unit of measure for the test quantity. | StringUnitOfMeasureSymbol | Yes | None | |
WorkTransTypeThe work order type for the test, such as purchase orders, sales orders, transfer issue or inventory movement. | EnumWHSWorkTransType (enum) | Yes | None | |
WorkTypeThe work type for the test, such as pick, put, counting or adjustments. | EnumWHSWorkType (enum) | Yes | None |
Indexes (1)
NameIdxReplacement keyUnique, alternate key.
Relations (8)
Each relation joins WHSLocationDirectiveAcceptanceTest to another table on the fields shown.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany WHSLocationDirectiveAcceptanceTest records → zero or one InventDim record
InventQualityOrderTableByOrderNum→InventQualityOrderTableJoin on
WorkTransType = WHSWorkTransType::QualityOrder,OrderNum = InventQualityOrderTable.QualityOrderIdMany WHSLocationDirectiveAcceptanceTest records → zero or one InventQualityOrderTable record
ProdTablePick→ProdTableJoin on
WorkTransType = WHSWorkTransType::ProdPick,OrderNum = ProdTable.ProdIdMany WHSLocationDirectiveAcceptanceTest records → zero or one ProdTable record
ProdTablePut→ProdTableJoin on
WorkTransType = WHSWorkTransType::ProdPut,OrderNum = ProdTable.ProdIdMany WHSLocationDirectiveAcceptanceTest records → zero or one ProdTable record
PurchTable→PurchTableJoin on
WorkTransType = WHSWorkTransType::Purch,OrderNum = PurchTable.PurchIdMany WHSLocationDirectiveAcceptanceTest records → zero or one PurchTable record
SalesTable→SalesTableJoin on
WorkTransType = WHSWorkTransType::Sales,OrderNum = SalesTable.SalesIdMany WHSLocationDirectiveAcceptanceTest records → zero or one SalesTable record
TransferOrderIssue→InventTransferTableJoin on
WorkTransType = WHSWorkTransType::TransferIssue,OrderNum = InventTransferTable.TransferIdMany WHSLocationDirectiveAcceptanceTest records → zero or one InventTransferTable record
TransferOrderReciept→InventTransferTableJoin on
WorkTransType = WHSWorkTransType::TransferReceipt,OrderNum = InventTransferTable.TransferIdMany 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.