Table

CostEngineCostSum

Cost balance

Transaction table of cost balances. Each record holds amounts and quantities for one cost object, cost element and cost rule set, with debit and credit totals. It also shows the state of the cost object and the ledger.

Table name
CostEngineCostSum
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
CostEngine

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountRunning money total held for a cost object and cost element.Real
CostEngineCostAmount
NoNone
CostElementIdIdentifier of the cost element, which is the type of cost or quantity in the balance.String (50)
CostEngineCostElementId
NoNone
CostObjectSystem record ID of the cost object.Int64
CostEngineCostObjectRefRecId
NoNone
CostObjectIdText identifier of the cost object that has this balance.String (60)
CostEngineCostObjectId
NoNone
CostObjectStateFlagState of the cost object: open, or has outflows.Enum
CostEngineCostObjectStateFlag (enum)
NoNone
CostRuleSetThe cost rule set that the balance belongs to, as a record ID.Int64
CostEngineCostRuleSetRefRecId
NoCostEngineCostRuleSet.RecIdNone
CreditAmountTotal credit amount, in accounting currency.Real
CostEngineCostAmount
NoNone
CreditQuantityTotal credit quantity.Real
CostEngineCostQuantity
NoNone
DebitAmountTotal debit amount, in accounting currency.Real
CostEngineCostAmount
NoNone
DebitQuantityTotal debit quantity.Real
CostEngineCostQuantity
NoNone
LedgerSystem record ID of the ledger.Int64
LedgerRecId
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QuantityRunning quantity total held for the cost object.Real
CostEngineCostQuantity
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • CostEngineCostRuleSet → CostEngineCostRuleSet

    Join on CostRuleSet = CostEngineCostRuleSet.RecId

    Many CostEngineCostSum records → exactly one CostEngineCostRuleSet record

  • CostEngineCostElement → CostEngineCostElement

    Join on CostElementId = CostEngineCostElement.CostElementId

    Many CostEngineCostSum records → zero or one CostEngineCostElement record

Get this data out

No public entity reads from CostEngineCostSum. Its data is only reachable through the application, a custom entity or a database export.

Need help with CostEngineCostSum in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk