Table
InventCostTrans
Standard cost transactions
Holds standard cost transactions for items. Each record has a date, item, financial inventory dimensions, lot ID, voucher, state (physical or financial), type and source reference. It stores quantities such as on-hand, WIP, COGS, accrued and variance.
- Table name
InventCostTrans- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
CostTransIdx- Key fields
TransDate, ItemId, FinancialInventDimId, InventTransId, Voucher, CostTransState, CostTransRefType, CostTransType, TransRefId- Model
Foundation
Fields (27)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TransDateDate of the transaction. | DateTransDate | No | None | |
ItemIdItem the transaction is for. | String (20)ItemId | No | InventTable.ItemId | None |
FinancialInventDimIdPoints to the financial inventory dimensions record. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventTransIdLot ID of the inventory transaction, linked to its originator record. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
VoucherVoucher number of the transaction. | String (20)Voucher | No | None | |
CostTransStateShows whether the transaction is physical or financial. | EnumInventCostTransState (enum) | No | None | |
CostTransRefTypeType of source document, such as purchase order, sales order or production order. | EnumInventCostTransRefType (enum) | No | None | |
CostTransTypeKind of transaction: receipt, issue or adjustment. | EnumInventCostTransType (enum) | No | None | |
TransRefIdNumber of the source document, such as an inventory journal, quality order or quarantine order. | String (35)CostTransRefId | No | InventJournalTable.JournalIdInventQualityOrderTable.QualityOrderIdInventQuarantineOrder.QuarantineIdInventTransferTable.TransferIdPlanReference.PlanNameProdTable.ProdIdPurchTable.PurchIdSalesTable.SalesIdWMSOrder.orderId | None |
AccruedQtyAccrued quantity of the transaction. | RealInventCostQtyAccrued | No | None | |
CanceledYes/no flag showing whether the transaction is cancelled. | EnumNoYes (enum) | No | None | |
COGSQtyQuantity counted as cost of goods sold. | RealInventCostQtyCOGS | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionPoints to the set of financial dimension values. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DeferredCOGSQtyDeferred cost of goods sold quantity. | RealInventCostQtyDeferredCOGS | No | None | |
InventTransIdReturnLot ID of the return transaction, linked to its originator record. | String (20)InventTransIdReturn | No | InventTransOrigin.InventTransId | None |
ItemPriceRefRecIdPoints to the item price record used by the transaction. | Int64InventItemPriceRefRecId | No | InventItemPrice.RecId | None |
OnHandQtyOn-hand quantity of the transaction. | RealInventCostQtyOnHand | No | None | |
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 | |
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 | |
VarianceQtyVariance quantity of the transaction. | RealInventCostQtyVariance | No | None | |
WIPInQtyQuantity entering work in progress. | RealInventCostQtyWIPIn | No | None | |
WIPOutQtyQuantity leaving work in progress. | RealInventCostQtyWIPOut | No | None |
Indexes (4)
CostTransIdxReplacement keyTransDate,ItemId,FinancialInventDimId,InventTransId,Voucher,CostTransState,CostTransRefType,CostTransType,TransRefIdUnique, alternate key.
InventTransIdIdxNot unique.
TransactionIdIdxNot unique.
RefTypeIdxCostTransRefType,TransRefId,TransDateNot unique.
Relations (15)
Each relation joins InventCostTrans to another table on the fields shown.
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany InventCostTrans records → zero or one DimensionAttributeValueSet record
FinancialInventDim→InventDimJoin on
FinancialInventDimId = InventDim.inventDimIdMany InventCostTrans records → zero or one InventDim record
InventItemPrice→InventItemPriceJoin on
ItemPriceRefRecId = InventItemPrice.RecIdMany InventCostTrans records → zero or one InventItemPrice record
InventJournalTable→InventJournalTableJoin on
CostTransRefType = InventCostTransRefType::InventoryJournal,TransRefId = InventJournalTable.JournalIdMany InventCostTrans records → zero or one InventJournalTable record
InventQualityOrder→InventQualityOrderTableJoin on
TransRefId = InventQualityOrderTable.QualityOrderId,CostTransRefType = InventCostTransRefType::QualityOrderMany InventCostTrans records → zero or one InventQualityOrderTable record
InventQuarantineOrder→InventQuarantineOrderJoin on
TransRefId = InventQuarantineOrder.QuarantineId,CostTransRefType = InventCostTransRefType::QuarantineOrderMany InventCostTrans records → zero or one InventQuarantineOrder record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany InventCostTrans records → zero or one InventTable record
InventTransferTable→InventTransferTableJoin on
CostTransRefType = InventCostTransRefType::Transfer,TransRefId = InventTransferTable.TransferIdMany InventCostTrans records → zero or one InventTransferTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany InventCostTrans records → zero or one InventTransOrigin record
PlanReference→PlanReferenceJoin on
CostTransRefType = InventCostTransRefType::ProductionFlow,TransRefId = PlanReference.PlanNameMany InventCostTrans records → zero or one PlanReference record
ProdTable→ProdTableJoin on
CostTransRefType = InventCostTransRefType::Production,TransRefId = ProdTable.ProdIdMany InventCostTrans records → zero or one ProdTable record
PurchTable→PurchTableJoin on
CostTransRefType = InventCostTransRefType::Purchase,TransRefId = PurchTable.PurchIdMany InventCostTrans records → zero or one PurchTable record
ReturnInventTransOrigin→InventTransOriginJoin on
InventTransIdReturn = InventTransOrigin.InventTransIdMany InventCostTrans records → zero or one InventTransOrigin record
SalesTable→SalesTableJoin on
CostTransType = InventCostTransType::Issue,TransRefId = SalesTable.SalesIdMany InventCostTrans records → zero or one SalesTable record
WMSOrder→WMSOrderJoin on
TransRefId = WMSOrder.orderId,CostTransRefType = InventCostTransRefType::WMSOrderMany InventCostTrans records → zero or one WMSOrder record
Get this data out
No public entity reads from InventCostTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventCostTrans in a report, an integration or a migration? Talk to Dr Dynamics.