Table
CostEngineCostTrans
Cost subledger
Cost subledger transactions. Each record is one cost line from a source document such as a vendor invoice, sales invoice, product receipt or sales packing slip. It has accounting and transaction amounts and quantities, and links to the cost element and the ledger. The key is the system record ID.
- Table name
CostEngineCostTrans- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
None- Primary index
RecIdIdx- Replacement key
None- Key fields
RecId- Model
CostEngine
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
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 | |
AccountingAmountTransaction amount in accounting currency. | RealCostEngineCostAmount | No | None | |
AccountingQuantityQuantity recorded for the transaction, in accounting terms. | RealCostEngineCostQuantity | No | None | |
CostElementIdIdentifier of the cost element for this transaction. | String (50)CostEngineCostElementId | No | None | |
CostElementTypeWhether the cost element holds amounts or quantity. | EnumCostEngineCostElementType (enum) | No | None | |
CostObjectSystem record ID of the cost object. | Int64CostEngineCostObjectRefRecId | No | None | |
CostObjectIdText identifier of the cost object for this transaction. | String (60)CostEngineCostObjectId | No | None | |
CostObjectTypeKind of cost object, such as inventory, expense, COGS, GRNI or GINI. | EnumCostEngineCostObjectType (enum) | No | None | |
CostRuleSetIdIdentifier of the cost rule set used for the transaction. | String (20)CostEngineCostRuleSetId | No | None | |
DocumentDataAreaIdCompany (legal entity) of the source document. | StringDataAreaId | Yes | None | |
DocumentIdSystem record ID of the source document. | Int64RefRecId | Yes | None | |
DocumentTransDateDate of the source document. | DateCostEngineDocumentTransDate | No | None | |
DocumentTypeType of source document: vendor invoice, sales invoice, product receipt or sales packing slip. | EnumCostEngineCostableDocumentType (enum) | No | None | |
IsCreditYes or No value showing whether the line is a credit. | EnumCostEngineIsCreditNoYes (enum) | No | None | |
LedgerThe ledger of the transaction, as a record ID in the ledger table. | Int64LedgerRecId | Yes | Ledger.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
TransactionAmountTransaction amount in the transaction currency. | RealCostEngineTransactionAmount | No | None | |
TransactionCurrencyCodeCurrency code of the transaction amount. | String (3)CurrencyCode | No | None | |
TransactionQuantityQuantity in the transaction unit of measure. | RealCostEngineCostQuantity | No | None | |
TransactionUoMUnit of measure used for the transaction quantity. | StringCostEngineTransactionUoM | No | None |
Indexes (5)
CostObjectLedgerTypeIdxCostObject,Ledger,CostObjectTypeNot unique.
CostRuleSetLedgerCostElementIdxCostRuleSetId,Ledger,CostElementIdNot unique.
LedgerCostObjectTypeDateIdxLedger,CostElementType,CostObjectType,DocumentTransDate,IsCredit,AccountingAmountNot unique.
RecIdIdxPrimary indexUnique, alternate key.
InventValueReportIdxCostObjectType,Ledger,DocumentTransDate,CostObject,AccountingAmount,AccountingQuantity,IsCreditNot unique.
Relations (2)
Each relation joins CostEngineCostTrans to another table on the fields shown.
CostEngineCostElement→CostEngineCostElementJoin on
CostElementId = CostEngineCostElement.CostElementIdMany CostEngineCostTrans records → zero or one CostEngineCostElement record
Ledger→LedgerJoin on
Ledger = Ledger.RecIdMany CostEngineCostTrans records → exactly one Ledger record
Get this data out
No public entity reads from CostEngineCostTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with CostEngineCostTrans in a report, an integration or a migration? Talk to Dr Dynamics.