Table
InventQuarantineOrder
Quarantine order
Holds quarantine orders, which set aside a quantity of an item. Each order has a quarantine number, an item, quantities, a status and a date. It can refer to a source document such as a purchase order, production order, or inventory journal.
- Table name
InventQuarantineOrder- Module
Inventory- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
QuarantineIdx- Replacement key
None- Key fields
QuarantineId- Model
Foundation
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
QuarantineIdUnique number that identifies the quarantine order. | String (20)InventQuarantineId | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionFinancial dimension values set for the order. Points to a dimension value set by its system record ID. | Int64InventSiteLinkedDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
InventDimIdInventory dimension number for the order. Points to the inventory dimensions table. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventDimIdQuarantineInventory dimension number that applies to the quarantined stock. Points to the inventory dimensions table. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventTransIdLot ID that links the order to its inventory transaction origin. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
InventTransIdRefLot ID of a related transaction that this order refers to. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
ItemIdNumber of the item that is placed in quarantine. Points to the items table. | String (20)ItemIdInventoried | Yes | InventTable.ItemId | None |
NameName given to the quarantine order. | String (60)InventQuarantineName | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWQtyQuantity in catch weight units. | RealPdsCWInventQty | No | None | |
PdsCWQuantityThatHasSplitIntoOtherQuarantineOrdersCatch weight quantity that has been split off into other quarantine orders. | RealPdsCWInventQty | No | None | |
PdsCWRemainQtyCatch weight quantity that is still remaining. | RealPdsCWRemainQty | No | None | |
QtyQuantity of the item in quarantine. | RealInventQty | No | None | |
QuantityThatHasSplitIntoOtherQuarantineOrdersQuantity that has been split off into other quarantine orders. | RealInventQty | No | None | |
QuarantineDateDate of the quarantine order. | DateTransDate | 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 | |
RemainQtyQuantity that is still remaining on the order. | RealInventQty | No | None | |
ReturnDispositionCodeIdDisposition code linked to the order. Points to the return disposition codes table. | StringReturnDispositionCodeId | No | ReturnDispositionCode.DispositionCodeId | None |
StatusStage of the order: created, started, reported as finished or ended. | EnumInventQuarantineStatus (enum) | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransRefIdNumber of the source document, such as an inventory journal, production order or purchase order. | String (20)InventTransRefId | No | InventJournalTable.JournalIdProdTable.ProdIdPurchTable.PurchIdSalesTable.SalesIdWMSOrder.orderId | None |
TransTypeType of source document that the quarantine order refers to, such as sales order, production or purchase order. | EnumInventTransType (enum) | No | None |
Indexes (4)
QuarantineIdxPrimary indexUnique, alternate key.
TransIdIdxNot unique.
StatusIdxNot unique.
ReferenceInventTransIdIdxNot unique.
Relations (19)
Each relation joins InventQuarantineOrder to another table on the fields shown.
BOM→InventJournalTableJoin on
TransRefId = InventJournalTable.JournalId,TransType = InventTransType::BOMMainMany InventQuarantineOrder records → zero or one InventJournalTable record
BOMLine→InventJournalTableJoin on
TransRefId = InventJournalTable.JournalId,TransType = InventTransType::BOMLineMany InventQuarantineOrder records → zero or one InventJournalTable record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany InventQuarantineOrder records → zero or one DimensionAttributeValueSet record
InventCounting→InventJournalTableJoin on
TransRefId = InventJournalTable.JournalId,TransType = InventTransType::InventCountingMany InventQuarantineOrder records → zero or one InventJournalTable record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany InventQuarantineOrder records → zero or one InventDim record
InventJournal→InventJournalTableJoin on
TransRefId = InventJournalTable.JournalId,TransType = InventTransType::InventTransactionMany InventQuarantineOrder records → zero or one InventJournalTable record
InventJournalLossProfit→InventJournalTableJoin on
TransRefId = InventJournalTable.JournalId,TransType = InventTransType::InventLossProfitMany InventQuarantineOrder records → zero or one InventJournalTable record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany InventQuarantineOrder records → exactly one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany InventQuarantineOrder records → zero or one InventTransOrigin record
ProdId→ProdTableJoin on
TransRefId = ProdTable.ProdId,TransType = InventTransType::ProductionMany InventQuarantineOrder records → zero or one ProdTable record
ProdLineNum→ProdTableJoin on
TransRefId = ProdTable.ProdId,TransType = InventTransType::ProdLineMany InventQuarantineOrder records → zero or one ProdTable record
PurchId→PurchTableJoin on
TransRefId = PurchTable.PurchId,TransType = InventTransType::PurchMany InventQuarantineOrder records → zero or one PurchTable record
QuarantineInventDim→InventDimJoin on
InventDimIdQuarantine = InventDim.inventDimIdMany InventQuarantineOrder records → zero or one InventDim record
ReferenceInventTransOrigin→InventTransOriginJoin on
InventTransIdRef = InventTransOrigin.InventTransIdMany InventQuarantineOrder records → zero or one InventTransOrigin record
ReturnDispositionCode→ReturnDispositionCodeJoin on
ReturnDispositionCodeId = ReturnDispositionCode.DispositionCodeIdMany InventQuarantineOrder records → zero or one ReturnDispositionCode record
SalesId→SalesTableJoin on
TransRefId = SalesTable.SalesId,TransType = InventTransType::SalesMany InventQuarantineOrder records → zero or one SalesTable record
Transfer→InventJournalTableJoin on
TransRefId = InventJournalTable.JournalId,TransType = InventTransType::InventTransferMany InventQuarantineOrder records → zero or one InventJournalTable record
WMSOrderId→WMSOrderJoin on
TransRefId = WMSOrder.orderId,TransType = InventTransType::WMSOrderMany InventQuarantineOrder records → zero or one WMSOrder record
WMSOrderTransportId→WMSOrderJoin on
TransRefId = WMSOrder.orderId,TransType = InventTransType::WMSTransportMany InventQuarantineOrder records → zero or one WMSOrder record
Get this data out
No public entity reads from InventQuarantineOrder. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventQuarantineOrder in a report, an integration or a migration? Talk to Dr Dynamics.