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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LedgerLink to the ledger that the balance belongs to. | Int64LedgerRecId | Yes | Ledger.RecId | GeneralLedgerBalanceCDREntity |
FiscalCalendarPeriodTypeType of fiscal period: opening, operating or closing. | EnumFiscalPeriodType (enum) | Yes | GeneralLedgerBalanceCDREntity | |
AccountingDateDate that the balance amounts relate to. | DateTransDate | Yes | GeneralLedgerBalanceCDREntity | |
PostingLayerPosting layer of the balance, such as Current, Operations, Tax or a custom layer. | EnumCurrentOperationsTax (enum) | Yes | GeneralLedgerBalanceCDREntity | |
LedgerDimensionLink to the dimension combination that forms the ledger account. | Int64LedgerDimensionAccount | Yes | DimensionAttributeValueCombination.RecId | GeneralLedgerBalanceCDREntity |
IsClosingTransactionYes/No flag showing whether the amounts come from a system-generated closing transaction. | EnumLedgerSystemGeneratedUltimoNoYes (enum) | Yes | GeneralLedgerBalanceCDREntity | |
CreditAccountingCurrencyAmountTotal credit amount in the accounting currency of the ledger. | RealAmountMST | No | GeneralLedgerBalanceCDREntity | |
CreditReportingCurrencyAmountTotal credit amount in the reporting currency. | RealAmountMSTSecondary | No | GeneralLedgerBalanceCDREntity | |
DebitAccountingCurrencyAmountTotal debit amount in the accounting currency of the ledger. | RealAmountMST | No | GeneralLedgerBalanceCDREntity | |
DebitReportingCurrencyAmountTotal debit amount in the reporting currency. | RealAmountMSTSecondary | No | GeneralLedgerBalanceCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QuantityStatistical quantity held with the balance. | RealQtyStatistical | No | GeneralLedgerBalanceCDREntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | GeneralLedgerBalanceCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
BalanceQueryIdxReplacement keyLedger,FiscalCalendarPeriodType,AccountingDate,PostingLayer,LedgerDimension,IsClosingTransactionUnique, alternate key.
AccountLedgerDatePostingLayerIdxLedger,AccountingDate,FiscalCalendarPeriodType,PostingLayer,LedgerDimension,CreditAccountingCurrencyAmount,DebitAccountingCurrencyAmount,CreditReportingCurrencyAmount,DebitReportingCurrencyAmount,Quantity,IsClosingTransactionNot unique.
LedgerDateIdxNot unique.
Relations (2)
Each relation joins GeneralLedgerBalance to another table on the fields shown.
Ledger→LedgerJoin on
Ledger = Ledger.RecIdMany GeneralLedgerBalance records → exactly one Ledger record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany 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.
GeneralLedgerBalanceCDREntity· 12 fields from this table
Need help with GeneralLedgerBalance in a report, an integration or a migration? Talk to Dr Dynamics.