Table
CostConfigurationLedger
Ledgers
Ledger set up for cost accounting. It holds currency, legal entity, exchange rate type, fiscal calendar, status and enabled date. The key is the ledger name.
- Table name
CostConfigurationLedger- Module
Cost accounting service- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
LedgerIdx- Key fields
Name- Model
CostAccountingService
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
NameName of the ledger. It is the key. | String (70)CostConfigurationLedgerNameLong | Yes | CASCostConfigurationLedgerEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCurrency of the ledger. | String (3)CostConfigurationCurrency | Yes | Currency.CurrencyCode | CASCostConfigurationLedgerEntity |
DescriptionShort description of the ledger. | String (60)CostConfigurationLedgerDescription | No | CASCostConfigurationLedgerEntity | |
EnabledDateDate when the ledger was enabled. | DateCostConfigurationLedgerEnabledDate | No | CASCostConfigurationLedgerEntity | |
EnablementWhether the ledger is disabled or enabled. | EnumCostConfigurationLedgerDisabledEnabled (enum) | No | CASCostConfigurationLedgerEntity | |
ExchangeRateTypeExchange rate type used by the ledger. | String (20)CostConfigurationExchangeRateTypeName | Yes | ExchangeRateType.Name | CASCostConfigurationLedgerEntity |
FiscalCalendarFiscal calendar used by the ledger. | StringCostConfigurationFiscalCalendar | Yes | FiscalCalendar.CalendarId | CASCostConfigurationLedgerEntity |
LegalEntityLegal entity linked to the ledger. | StringCostConfigurationLegalEntity | Yes | CompanyInfo.DataArea | CASCostConfigurationLedgerEntity |
NeedsPrimingYes/no flag showing that older inventory transactions must be processed for this ledger. | EnumCostConfigurationNeedsPrimingNoYes (enum) | No | CASCostConfigurationLedgerEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
StatusCurrent state of the ledger: not created, priming legacy transactions, active, failed or deactivated. | EnumCostConfigurationLedgerStatus (enum) | No | CASCostConfigurationLedgerEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
LedgerIdxReplacement keyUnique, alternate key.
Relations (4)
Each relation joins CostConfigurationLedger to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany CostConfigurationLedger records → exactly one Currency record
LegalEntity→CompanyInfoJoin on
LegalEntity = CompanyInfo.DataAreaMany CostConfigurationLedger records → exactly one CompanyInfo record
ExchangeRateType→ExchangeRateTypeJoin on
ExchangeRateType = ExchangeRateType.NameMany CostConfigurationLedger records → zero or one ExchangeRateType record
FiscalCalendar→FiscalCalendarJoin on
FiscalCalendar = FiscalCalendar.CalendarIdMany CostConfigurationLedger records → zero or one FiscalCalendar record
Get this data out
Tables are not exposed directly. These public entities read from CostConfigurationLedger; use one of them in Power BI, Power Platform or a data management project.
CASCostConfigurationLedgerEntity· 10 fields from this table
Need help with CostConfigurationLedger in a report, an integration or a migration? Talk to Dr Dynamics.