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 descriptionType / EDT / enumMandatoryReferencesIn public entities
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
AccountingAmountTransaction amount in accounting currency.Real
CostEngineCostAmount
NoNone
AccountingQuantityQuantity recorded for the transaction, in accounting terms.Real
CostEngineCostQuantity
NoNone
CostElementIdIdentifier of the cost element for this transaction.String (50)
CostEngineCostElementId
NoNone
CostElementTypeWhether the cost element holds amounts or quantity.Enum
CostEngineCostElementType (enum)
NoNone
CostObjectSystem record ID of the cost object.Int64
CostEngineCostObjectRefRecId
NoNone
CostObjectIdText identifier of the cost object for this transaction.String (60)
CostEngineCostObjectId
NoNone
CostObjectTypeKind of cost object, such as inventory, expense, COGS, GRNI or GINI.Enum
CostEngineCostObjectType (enum)
NoNone
CostRuleSetIdIdentifier of the cost rule set used for the transaction.String (20)
CostEngineCostRuleSetId
NoNone
DocumentDataAreaIdCompany (legal entity) of the source document.String
DataAreaId
YesNone
DocumentIdSystem record ID of the source document.Int64
RefRecId
YesNone
DocumentTransDateDate of the source document.Date
CostEngineDocumentTransDate
NoNone
DocumentTypeType of source document: vendor invoice, sales invoice, product receipt or sales packing slip.Enum
CostEngineCostableDocumentType (enum)
NoNone
IsCreditYes or No value showing whether the line is a credit.Enum
CostEngineIsCredit
NoYes (enum)
NoNone
LedgerThe ledger of the transaction, as a record ID in the ledger table.Int64
LedgerRecId
YesLedger.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionAmountTransaction amount in the transaction currency.Real
CostEngineTransactionAmount
NoNone
TransactionCurrencyCodeCurrency code of the transaction amount.String (3)
CurrencyCode
NoNone
TransactionQuantityQuantity in the transaction unit of measure.Real
CostEngineCostQuantity
NoNone
TransactionUoMUnit of measure used for the transaction quantity.String
CostEngineTransactionUoM
NoNone

Indexes (5)

Relations (2)

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

  • CostEngineCostElement → CostEngineCostElement

    Join on CostElementId = CostEngineCostElement.CostElementId

    Many CostEngineCostTrans records → zero or one CostEngineCostElement record

  • Ledger → Ledger

    Join on Ledger = Ledger.RecId

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

Email sales@drdynamics.co.uk