Table

CAMDataCostAccountingLedger

Cost accounting ledgers

Holds the cost accounting ledgers, identified by ledger name. Each ledger sets the accounting currency, exchange rate type and fiscal calendar. It also links to the cost element, statistical, product, party, batch number and serial number dimensions, and to default hierarchies.

Table name
CAMDataCostAccountingLedger
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
No
Configuration key
CAMCostAccounting
Primary index
None
Replacement key
LedgerIdx
Key fields
LedgerName
Model
CostAccounting

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LedgerNameName that identifies the cost accounting ledger.String (60)
CAMCostAccountingLedgerName
YesCAMAggregatedCostEntryWithDefaultCostObjectHierarchyEntityCAMAggregatedCostEntryWithHierarchiesEntityCAMAggregatedStatisticalEntryWithDefaultCostObjectHierarchyEntityand 1 more
AccountingCurrencyCodeCurrency code of the currency in which the ledger is kept.String (3)
CAMCurrencyCode
YesCurrency.CurrencyCodeNone
BatchNumberDimensionPoints to the dimension record used for batch numbers.Int64
CAMDimensionRecId
NoCAMDataDimension.RecIdNone
CostElementDimensionPoints to the cost element dimension used by this ledger.Int64
CAMDimensionRecId
YesCAMDataCostElementDimension.RecIdNone
DefaultCostElementDimensionHierarchyPoints to the default hierarchy for the cost element dimension.Int64
CAMDefaultCostElementDimensionHierarchyRecId
NoCAMDataDimensionClassificationHierarchy.RecIdNone
DefaultStatisticalDimensionHierarchyPoints to the default hierarchy for the statistical dimension.Int64
CAMDefaultStatisticalDimensionHierarchyRecId
NoCAMDataDimensionClassificationHierarchy.RecIdNone
ExchangeRateTypePoints to the exchange rate type linked to the ledger.Int64
CAMExchangeRateTypeRecId
YesExchangeRateType.RecIdNone
FiscalCalendarPoints to the fiscal calendar that the ledger uses.Int64
FiscalCalendarRecId
YesFiscalCalendar.RecIdCAMDataConnectorSystemInstanceFiscalCalendarPeriodEntity
LedgerDescriptionFree-text description of the ledger.String (350)
CAMLongDescription
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyDimensionPoints to the dimension record used for parties.Int64
CAMDimensionRecId
NoCAMDataDimension.RecIdNone
ProductDimensionPoints to the dimension record used for products.Int64
CAMDimensionRecId
NoCAMDataDimension.RecIdNone
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
SerialNumberDimensionPoints to the dimension record used for serial numbers.Int64
CAMDimensionRecId
NoCAMDataDimension.RecIdNone
StatisticalDimensionPoints to the statistical dimension used by this ledger.Int64
CAMDimensionRecId
NoCAMDataStatisticalDimension.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (11)

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

  • CostElementDimension → CAMDataCostElementDimension

    Join on CostElementDimension = CAMDataCostElementDimension.RecId

    Many CAMDataCostAccountingLedger records → exactly one CAMDataCostElementDimension record

  • AccountingCurrency → Currency

    Join on AccountingCurrencyCode = Currency.CurrencyCode

    Many CAMDataCostAccountingLedger records → exactly one Currency record

  • FiscalCalendar → FiscalCalendar

    Join on FiscalCalendar = FiscalCalendar.RecId

    Many CAMDataCostAccountingLedger records → exactly one FiscalCalendar record

  • ExchangeRateType → ExchangeRateType

    Join on ExchangeRateType = ExchangeRateType.RecId

    Many CAMDataCostAccountingLedger records → exactly one ExchangeRateType record

  • DefaultCostElementDimensionHierarchy → CAMDataDimensionClassificationHierarchy

    Join on DefaultCostElementDimensionHierarchy = CAMDataDimensionClassificationHierarchy.RecId

    Many CAMDataCostAccountingLedger records → zero or one CAMDataDimensionClassificationHierarchy record

  • StatisticalDimension → CAMDataStatisticalDimension

    Join on StatisticalDimension = CAMDataStatisticalDimension.RecId

    Many CAMDataCostAccountingLedger records → zero or one CAMDataStatisticalDimension record

  • DefaultStatisticalDimensionHierarchy → CAMDataDimensionClassificationHierarchy

    Join on DefaultStatisticalDimensionHierarchy = CAMDataDimensionClassificationHierarchy.RecId

    Many CAMDataCostAccountingLedger records → zero or one CAMDataDimensionClassificationHierarchy record

  • ProductDimension → CAMDataDimension

    Join on ProductDimension = CAMDataDimension.RecId

    Many CAMDataCostAccountingLedger records → exactly one CAMDataDimension record

  • PartyDimension → CAMDataDimension

    Join on PartyDimension = CAMDataDimension.RecId

    Many CAMDataCostAccountingLedger records → exactly one CAMDataDimension record

  • BatchNumberDimension → CAMDataDimension

    Join on BatchNumberDimension = CAMDataDimension.RecId

    Many CAMDataCostAccountingLedger records → exactly one CAMDataDimension record

  • SerialNumberDimension → CAMDataDimension

    Join on SerialNumberDimension = CAMDataDimension.RecId

    Many CAMDataCostAccountingLedger records → exactly one CAMDataDimension record

Get this data out

Tables are not exposed directly. These public entities read from CAMDataCostAccountingLedger; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk