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 descriptionType / EDT / enumMandatoryReferencesIn public entities
NameName of the ledger. It is the key.String (70)
CostConfigurationLedgerNameLong
YesCASCostConfigurationLedgerEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCurrency of the ledger.String (3)
CostConfigurationCurrency
YesCurrency.CurrencyCodeCASCostConfigurationLedgerEntity
DescriptionShort description of the ledger.String (60)
CostConfigurationLedgerDescription
NoCASCostConfigurationLedgerEntity
EnabledDateDate when the ledger was enabled.Date
CostConfigurationLedgerEnabledDate
NoCASCostConfigurationLedgerEntity
EnablementWhether the ledger is disabled or enabled.Enum
CostConfigurationLedgerDisabledEnabled (enum)
NoCASCostConfigurationLedgerEntity
ExchangeRateTypeExchange rate type used by the ledger.String (20)
CostConfigurationExchangeRateTypeName
YesExchangeRateType.NameCASCostConfigurationLedgerEntity
FiscalCalendarFiscal calendar used by the ledger.String
CostConfigurationFiscalCalendar
YesFiscalCalendar.CalendarIdCASCostConfigurationLedgerEntity
LegalEntityLegal entity linked to the ledger.String
CostConfigurationLegalEntity
YesCompanyInfo.DataAreaCASCostConfigurationLedgerEntity
NeedsPrimingYes/no flag showing that older inventory transactions must be processed for this ledger.Enum
CostConfigurationNeedsPriming
NoYes (enum)
NoCASCostConfigurationLedgerEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StatusCurrent state of the ledger: not created, priming legacy transactions, active, failed or deactivated.Enum
CostConfigurationLedgerStatus (enum)
NoCASCostConfigurationLedgerEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • LedgerIdxReplacement key

    Name

    Unique, alternate key.

Relations (4)

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

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many CostConfigurationLedger records → exactly one Currency record

  • LegalEntity → CompanyInfo

    Join on LegalEntity = CompanyInfo.DataArea

    Many CostConfigurationLedger records → exactly one CompanyInfo record

  • ExchangeRateType → ExchangeRateType

    Join on ExchangeRateType = ExchangeRateType.Name

    Many CostConfigurationLedger records → zero or one ExchangeRateType record

  • FiscalCalendar → FiscalCalendar

    Join on FiscalCalendar = FiscalCalendar.CalendarId

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

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

Email sales@drdynamics.co.uk