Table
CostEntryTable
Cost entry
Cost entries for items, with a cost group, a measure and a magnitude. Each entry links to a cost event, an item, inventory dimensions and ledger accounts. It can also link to a charges transaction. It has no defined key.
- Table name
CostEntryTable- Module
Inventory- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingDateDate used for accounting the entry. | DateAccountingDate | No | None | |
CostEventPoints to the cost event that the entry belongs to. | Int64CostEventRecId | No | CostEventTable.RecId | None |
CostGroupIdCost group the entry is assigned to. | StringCostGroupId | No | BOMCostGroup.CostGroupId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIdInventory dimension combination of the entry. | String (20)InventDimId | Yes | InventDim.InventDimId | None |
ItemIdItem the entry relates to. | String (20)ItemId | Yes | InventTable.ItemId | None |
LedgerDimensionLedger account, as a dimension combination. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
MagnitudeSize of the cost entry, in the unit set by the measure. | RealCostMagnitude | Yes | None | |
MeasureWhat is measured: product cost quantity or product cost. | EnumCostMeasure (enum) | No | None | |
OffsetLedgerDimensionOffset ledger account, as a dimension combination. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
OffsetPostingTypeTransaction type of the offset account. | EnumInventPostingTypeLedgerPostingType (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingTypeTransaction type of the ledger posting. | EnumLedgerPostingType (enum) | 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 | |
ReconciledEventPoints to the cost event that this entry was reconciled with. | Int64CostEventRecId | No | CostEventTable.RecId | None |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SourceMarkupTransPoints to the charges transaction the entry comes from. | Int64RefRecId | No | MarkupTrans.RecId | None |
SourceRelationTypeID of the table that the source reference points to. | IntegerRefTableId | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
EventNot unique.
ReconciledEventNot unique.
Relations (8)
Each relation joins CostEntryTable to another table on the fields shown.
BOMCostGroup→BOMCostGroupJoin on
CostGroupId = BOMCostGroup.CostGroupIdMany CostEntryTable records → zero or one BOMCostGroup record
CostEvent→CostEventTableJoin on
CostEvent = CostEventTable.RecIdMany CostEntryTable records → exactly one CostEventTable record
InventDim→InventDimJoin on
InventDimId = InventDim.InventDimIdMany CostEntryTable records → exactly one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany CostEntryTable records → exactly one InventTable record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany CostEntryTable records → zero or one DimensionAttributeValueCombination record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany CostEntryTable records → zero or one DimensionAttributeValueCombination record
ReconciledEvent→CostEventTableJoin on
ReconciledEvent = CostEventTable.RecIdMany CostEntryTable records → exactly one CostEventTable record
SourceMarkupTrans→MarkupTransJoin on
SourceMarkupTrans = MarkupTrans.RecIdMany CostEntryTable records → zero or one MarkupTrans record
Get this data out
No public entity reads from CostEntryTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with CostEntryTable in a report, an integration or a migration? Talk to Dr Dynamics.