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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AmountRunning money total held for a cost object and cost element. | RealCostEngineCostAmount | No | None | |
CostElementIdIdentifier of the cost element, which is the type of cost or quantity in the balance. | String (50)CostEngineCostElementId | No | None | |
CostObjectSystem record ID of the cost object. | Int64CostEngineCostObjectRefRecId | No | None | |
CostObjectIdText identifier of the cost object that has this balance. | String (60)CostEngineCostObjectId | No | None | |
CostObjectStateFlagState of the cost object: open, or has outflows. | EnumCostEngineCostObjectStateFlag (enum) | No | None | |
CostRuleSetThe cost rule set that the balance belongs to, as a record ID. | Int64CostEngineCostRuleSetRefRecId | No | CostEngineCostRuleSet.RecId | None |
CreditAmountTotal credit amount, in accounting currency. | RealCostEngineCostAmount | No | None | |
CreditQuantityTotal credit quantity. | RealCostEngineCostQuantity | No | None | |
DebitAmountTotal debit amount, in accounting currency. | RealCostEngineCostAmount | No | None | |
DebitQuantityTotal debit quantity. | RealCostEngineCostQuantity | No | None | |
LedgerSystem record ID of the ledger. | Int64LedgerRecId | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QuantityRunning quantity total held for the cost object. | RealCostEngineCostQuantity | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
CostRuleSetCostObjectRecIdCostElementIdxCostRuleSet,CostObject,CostElementIdUnique, alternate key.
Relations (2)
Each relation joins CostEngineCostSum to another table on the fields shown.
CostEngineCostRuleSet→CostEngineCostRuleSetJoin on
CostRuleSet = CostEngineCostRuleSet.RecIdMany CostEngineCostSum records → exactly one CostEngineCostRuleSet record
CostEngineCostElement→CostEngineCostElementJoin on
CostElementId = CostEngineCostElement.CostElementIdMany 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.