Table

GeneralLedgerBalance

General ledger balance

Holds ledger balances as debit and credit totals. Each record is for one ledger, period type, accounting date, posting layer and ledger account combination. It also separates system-generated closing transactions.

Table name
GeneralLedgerBalance
Module
General ledger
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
None
Replacement key
BalanceQueryIdx
Key fields
Ledger, FiscalCalendarPeriodType, AccountingDate, PostingLayer, LedgerDimension, IsClosingTransaction
Model
GeneralLedger

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LedgerLink to the ledger that the balance belongs to.Int64
LedgerRecId
YesLedger.RecIdGeneralLedgerBalanceCDREntity
FiscalCalendarPeriodTypeType of fiscal period: opening, operating or closing.Enum
FiscalPeriodType (enum)
YesGeneralLedgerBalanceCDREntity
AccountingDateDate that the balance amounts relate to.Date
TransDate
YesGeneralLedgerBalanceCDREntity
PostingLayerPosting layer of the balance, such as Current, Operations, Tax or a custom layer.Enum
CurrentOperationsTax (enum)
YesGeneralLedgerBalanceCDREntity
LedgerDimensionLink to the dimension combination that forms the ledger account.Int64
LedgerDimensionAccount
YesDimensionAttributeValueCombination.RecIdGeneralLedgerBalanceCDREntity
IsClosingTransactionYes/No flag showing whether the amounts come from a system-generated closing transaction.Enum
LedgerSystemGeneratedUltimo
NoYes (enum)
YesGeneralLedgerBalanceCDREntity
CreditAccountingCurrencyAmountTotal credit amount in the accounting currency of the ledger.Real
AmountMST
NoGeneralLedgerBalanceCDREntity
CreditReportingCurrencyAmountTotal credit amount in the reporting currency.Real
AmountMSTSecondary
NoGeneralLedgerBalanceCDREntity
DebitAccountingCurrencyAmountTotal debit amount in the accounting currency of the ledger.Real
AmountMST
NoGeneralLedgerBalanceCDREntity
DebitReportingCurrencyAmountTotal debit amount in the reporting currency.Real
AmountMSTSecondary
NoGeneralLedgerBalanceCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QuantityStatistical quantity held with the balance.Real
QtyStatistical
NoGeneralLedgerBalanceCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoGeneralLedgerBalanceCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (2)

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

  • Ledger → Ledger

    Join on Ledger = Ledger.RecId

    Many GeneralLedgerBalance records → exactly one Ledger record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many GeneralLedgerBalance records → exactly one DimensionAttributeValueCombination record

Get this data out

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

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

Email sales@drdynamics.co.uk