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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LedgerNameName that identifies the cost accounting ledger. | String (60)CAMCostAccountingLedgerName | Yes | CAMAggregatedCostEntryWithDefaultCostObjectHierarchyEntityCAMAggregatedCostEntryWithHierarchiesEntityCAMAggregatedStatisticalEntryWithDefaultCostObjectHierarchyEntityand 1 more | |
AccountingCurrencyCodeCurrency code of the currency in which the ledger is kept. | String (3)CAMCurrencyCode | Yes | Currency.CurrencyCode | None |
BatchNumberDimensionPoints to the dimension record used for batch numbers. | Int64CAMDimensionRecId | No | CAMDataDimension.RecId | None |
CostElementDimensionPoints to the cost element dimension used by this ledger. | Int64CAMDimensionRecId | Yes | CAMDataCostElementDimension.RecId | None |
DefaultCostElementDimensionHierarchyPoints to the default hierarchy for the cost element dimension. | Int64CAMDefaultCostElementDimensionHierarchyRecId | No | CAMDataDimensionClassificationHierarchy.RecId | None |
DefaultStatisticalDimensionHierarchyPoints to the default hierarchy for the statistical dimension. | Int64CAMDefaultStatisticalDimensionHierarchyRecId | No | CAMDataDimensionClassificationHierarchy.RecId | None |
ExchangeRateTypePoints to the exchange rate type linked to the ledger. | Int64CAMExchangeRateTypeRecId | Yes | ExchangeRateType.RecId | None |
FiscalCalendarPoints to the fiscal calendar that the ledger uses. | Int64FiscalCalendarRecId | Yes | FiscalCalendar.RecId | CAMDataConnectorSystemInstanceFiscalCalendarPeriodEntity |
LedgerDescriptionFree-text description of the ledger. | String (350)CAMLongDescription | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartyDimensionPoints to the dimension record used for parties. | Int64CAMDimensionRecId | No | CAMDataDimension.RecId | None |
ProductDimensionPoints to the dimension record used for products. | Int64CAMDimensionRecId | No | CAMDataDimension.RecId | 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 | |
SerialNumberDimensionPoints to the dimension record used for serial numbers. | Int64CAMDimensionRecId | No | CAMDataDimension.RecId | None |
StatisticalDimensionPoints to the statistical dimension used by this ledger. | Int64CAMDimensionRecId | No | CAMDataStatisticalDimension.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
LedgerIdxReplacement keyUnique, alternate key.
FiscalCalendarIdxNot unique.
Relations (11)
Each relation joins CAMDataCostAccountingLedger to another table on the fields shown.
CostElementDimension→CAMDataCostElementDimensionJoin on
CostElementDimension = CAMDataCostElementDimension.RecIdMany CAMDataCostAccountingLedger records → exactly one CAMDataCostElementDimension record
AccountingCurrency→CurrencyJoin on
AccountingCurrencyCode = Currency.CurrencyCodeMany CAMDataCostAccountingLedger records → exactly one Currency record
FiscalCalendar→FiscalCalendarJoin on
FiscalCalendar = FiscalCalendar.RecIdMany CAMDataCostAccountingLedger records → exactly one FiscalCalendar record
ExchangeRateType→ExchangeRateTypeJoin on
ExchangeRateType = ExchangeRateType.RecIdMany CAMDataCostAccountingLedger records → exactly one ExchangeRateType record
DefaultCostElementDimensionHierarchy→CAMDataDimensionClassificationHierarchyJoin on
DefaultCostElementDimensionHierarchy = CAMDataDimensionClassificationHierarchy.RecIdMany CAMDataCostAccountingLedger records → zero or one CAMDataDimensionClassificationHierarchy record
StatisticalDimension→CAMDataStatisticalDimensionJoin on
StatisticalDimension = CAMDataStatisticalDimension.RecIdMany CAMDataCostAccountingLedger records → zero or one CAMDataStatisticalDimension record
DefaultStatisticalDimensionHierarchy→CAMDataDimensionClassificationHierarchyJoin on
DefaultStatisticalDimensionHierarchy = CAMDataDimensionClassificationHierarchy.RecIdMany CAMDataCostAccountingLedger records → zero or one CAMDataDimensionClassificationHierarchy record
ProductDimension→CAMDataDimensionJoin on
ProductDimension = CAMDataDimension.RecIdMany CAMDataCostAccountingLedger records → exactly one CAMDataDimension record
PartyDimension→CAMDataDimensionJoin on
PartyDimension = CAMDataDimension.RecIdMany CAMDataCostAccountingLedger records → exactly one CAMDataDimension record
BatchNumberDimension→CAMDataDimensionJoin on
BatchNumberDimension = CAMDataDimension.RecIdMany CAMDataCostAccountingLedger records → exactly one CAMDataDimension record
SerialNumberDimension→CAMDataDimensionJoin on
SerialNumberDimension = CAMDataDimension.RecIdMany 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.
CAMAggregatedCostEntryWithDefaultCostObjectHierarchyEntity· 1 field from this tableCAMAggregatedCostEntryWithHierarchiesEntity· 1 field from this tableCAMAggregatedStatisticalEntryWithDefaultCostObjectHierarchyEntity· 1 field from this tableCAMAggregatedStatisticalEntryWithHierarchiesEntity· 1 field from this tableCAMDataConnectorSystemInstanceFiscalCalendarPeriodEntity· 1 field from this table
Need help with CAMDataCostAccountingLedger in a report, an integration or a migration? Talk to Dr Dynamics.