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 descriptionType / EDT / enumMandatoryReferencesIn public entities
TransDateDate of the transaction.Date
TransDate
NoNone
ItemIdItem the transaction is for.String (20)
ItemId
NoInventTable.ItemIdNone
FinancialInventDimIdPoints to the financial inventory dimensions record.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventTransIdLot ID of the inventory transaction, linked to its originator record.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
VoucherVoucher number of the transaction.String (20)
Voucher
NoNone
CostTransStateShows whether the transaction is physical or financial.Enum
InventCostTransState (enum)
NoNone
CostTransRefTypeType of source document, such as purchase order, sales order or production order.Enum
InventCostTransRefType (enum)
NoNone
CostTransTypeKind of transaction: receipt, issue or adjustment.Enum
InventCostTransType (enum)
NoNone
TransRefIdNumber of the source document, such as an inventory journal, quality order or quarantine order.String (35)
CostTransRefId
NoInventJournalTable.JournalIdInventQualityOrderTable.QualityOrderIdInventQuarantineOrder.QuarantineIdInventTransferTable.TransferIdPlanReference.PlanNameProdTable.ProdIdPurchTable.PurchIdSalesTable.SalesIdWMSOrder.orderIdNone
AccruedQtyAccrued quantity of the transaction.Real
InventCostQtyAccrued
NoNone
CanceledYes/no flag showing whether the transaction is cancelled.Enum
NoYes (enum)
NoNone
COGSQtyQuantity counted as cost of goods sold.Real
InventCostQtyCOGS
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the set of financial dimension values.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
DeferredCOGSQtyDeferred cost of goods sold quantity.Real
InventCostQtyDeferredCOGS
NoNone
InventTransIdReturnLot ID of the return transaction, linked to its originator record.String (20)
InventTransIdReturn
NoInventTransOrigin.InventTransIdNone
ItemPriceRefRecIdPoints to the item price record used by the transaction.Int64
InventItemPriceRefRecId
NoInventItemPrice.RecIdNone
OnHandQtyOn-hand quantity of the transaction.Real
InventCostQtyOnHand
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VarianceQtyVariance quantity of the transaction.Real
InventCostQtyVariance
NoNone
WIPInQtyQuantity entering work in progress.Real
InventCostQtyWIPIn
NoNone
WIPOutQtyQuantity leaving work in progress.Real
InventCostQtyWIPOut
NoNone

Indexes (4)

Relations (15)

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

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many InventCostTrans records → zero or one DimensionAttributeValueSet record

  • FinancialInventDim → InventDim

    Join on FinancialInventDimId = InventDim.inventDimId

    Many InventCostTrans records → zero or one InventDim record

  • InventItemPrice → InventItemPrice

    Join on ItemPriceRefRecId = InventItemPrice.RecId

    Many InventCostTrans records → zero or one InventItemPrice record

  • InventJournalTable → InventJournalTable

    Join on CostTransRefType = InventCostTransRefType::InventoryJournal, TransRefId = InventJournalTable.JournalId

    Many InventCostTrans records → zero or one InventJournalTable record

  • InventQualityOrder → InventQualityOrderTable

    Join on TransRefId = InventQualityOrderTable.QualityOrderId, CostTransRefType = InventCostTransRefType::QualityOrder

    Many InventCostTrans records → zero or one InventQualityOrderTable record

  • InventQuarantineOrder → InventQuarantineOrder

    Join on TransRefId = InventQuarantineOrder.QuarantineId, CostTransRefType = InventCostTransRefType::QuarantineOrder

    Many InventCostTrans records → zero or one InventQuarantineOrder record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many InventCostTrans records → zero or one InventTable record

  • InventTransferTable → InventTransferTable

    Join on CostTransRefType = InventCostTransRefType::Transfer, TransRefId = InventTransferTable.TransferId

    Many InventCostTrans records → zero or one InventTransferTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many InventCostTrans records → zero or one InventTransOrigin record

  • PlanReference → PlanReference

    Join on CostTransRefType = InventCostTransRefType::ProductionFlow, TransRefId = PlanReference.PlanName

    Many InventCostTrans records → zero or one PlanReference record

  • ProdTable → ProdTable

    Join on CostTransRefType = InventCostTransRefType::Production, TransRefId = ProdTable.ProdId

    Many InventCostTrans records → zero or one ProdTable record

  • PurchTable → PurchTable

    Join on CostTransRefType = InventCostTransRefType::Purchase, TransRefId = PurchTable.PurchId

    Many InventCostTrans records → zero or one PurchTable record

  • ReturnInventTransOrigin → InventTransOrigin

    Join on InventTransIdReturn = InventTransOrigin.InventTransId

    Many InventCostTrans records → zero or one InventTransOrigin record

  • SalesTable → SalesTable

    Join on CostTransType = InventCostTransType::Issue, TransRefId = SalesTable.SalesId

    Many InventCostTrans records → zero or one SalesTable record

  • WMSOrder → WMSOrder

    Join on TransRefId = WMSOrder.orderId, CostTransRefType = InventCostTransRefType::WMSOrder

    Many 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.

Email sales@drdynamics.co.uk