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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingDateDate used for accounting the entry.Date
AccountingDate
NoNone
CostEventPoints to the cost event that the entry belongs to.Int64
CostEventRecId
NoCostEventTable.RecIdNone
CostGroupIdCost group the entry is assigned to.String
CostGroupId
NoBOMCostGroup.CostGroupIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdInventory dimension combination of the entry.String (20)
InventDimId
YesInventDim.InventDimIdNone
ItemIdItem the entry relates to.String (20)
ItemId
YesInventTable.ItemIdNone
LedgerDimensionLedger account, as a dimension combination.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
MagnitudeSize of the cost entry, in the unit set by the measure.Real
CostMagnitude
YesNone
MeasureWhat is measured: product cost quantity or product cost.Enum
CostMeasure (enum)
NoNone
OffsetLedgerDimensionOffset ledger account, as a dimension combination.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
OffsetPostingTypeTransaction type of the offset account.Enum
InventPostingType
LedgerPostingType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingTypeTransaction type of the ledger posting.Enum
LedgerPostingType (enum)
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
ReconciledEventPoints to the cost event that this entry was reconciled with.Int64
CostEventRecId
NoCostEventTable.RecIdNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SourceMarkupTransPoints to the charges transaction the entry comes from.Int64
RefRecId
NoMarkupTrans.RecIdNone
SourceRelationTypeID of the table that the source reference points to.Integer
RefTableId
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (8)

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

  • BOMCostGroup → BOMCostGroup

    Join on CostGroupId = BOMCostGroup.CostGroupId

    Many CostEntryTable records → zero or one BOMCostGroup record

  • CostEvent → CostEventTable

    Join on CostEvent = CostEventTable.RecId

    Many CostEntryTable records → exactly one CostEventTable record

  • InventDim → InventDim

    Join on InventDimId = InventDim.InventDimId

    Many CostEntryTable records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many CostEntryTable records → exactly one InventTable record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many CostEntryTable records → zero or one DimensionAttributeValueCombination record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many CostEntryTable records → zero or one DimensionAttributeValueCombination record

  • ReconciledEvent → CostEventTable

    Join on ReconciledEvent = CostEventTable.RecId

    Many CostEntryTable records → exactly one CostEventTable record

  • SourceMarkupTrans → MarkupTrans

    Join on SourceMarkupTrans = MarkupTrans.RecId

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

Email sales@drdynamics.co.uk