Table

LedgerTrialBalanceSnapshotData

Transaction table for trial balance snapshot data

Holds the saved lines of a trial balance snapshot. Each line belongs to a snapshot header and stores a ledger account, period, debit and credit amounts, opening and closing balances, quantities and dimension values, in accounting and reporting currency.

Table name
LedgerTrialBalanceSnapshotData
Module
General ledger
Table group
TransactionLine
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
FocusRecIdIdx
Replacement key
None
Key fields
PrimaryFocus, RecId
Model
GeneralLedger

Fields (49)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PrimaryFocusCombined account and dimension value used to sort the line.String (255)
DimensionSortValue
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
AccountingDateAccounting date of the line.Date
TransDate
YesNone
AmountCreditCredit amount in the accounting currency.Real
AmountMSTLong
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
AmountCreditTransCredit amount in the transaction currency.Real
AmountCurCredit
NoNone
AmountDebitDebit amount in the accounting currency.Real
AmountMSTLong
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
AmountDebitTransDebit amount in the transaction currency.Real
AmountCurDebit
NoNone
ClosingAdjustmentsAmount of closing period adjustments.Real
AmountMSTLong
NoNone
ClosingTransactionsAmount of closing transactions.Real
AmountMSTLong
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DimValue1Value of the first dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
DimValue10Value of the tenth dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
DimValue11Value of the eleventh dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
DimValue2Value of the second dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
DimValue3Value of the third dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
DimValue4Value of the fourth dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
DimValue5Value of the fifth dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
DimValue6Value of the sixth dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
DimValue7Value of the seventh dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
DimValue8Value of the eighth dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
DimValue9Value of the ninth dimension in the snapshot.String (30)
DimensionValue
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
EndingBalanceClosing balance of the account.Real
AmountMSTLong
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
EndingQuantityBalanceEnding balance of the quantity.Real
Qty
NoNone
FiscalCalendarPeriodRecIdPoints to the fiscal calendar period of the line.Int64
FiscalCalendarPeriodRecId
NoFiscalCalendarPeriod.RecIdNone
IsClosingTransactionYes/no flag showing whether the line is a closing transaction.Enum
NoYes (enum)
NoNone
LedgerDimensionPoints to the ledger account (dimension combination).Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
MainAccountCategoryCategory of the ledger account.String (20)
AccountCategory
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NetChangeNet change amount for the period.Real
AmountMSTLong
NoNone
OpeningBalanceOpening balance of the account.Real
AmountMSTLong
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
OpeningQuantityBalanceOpening balance of the quantity.Real
Qty
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingLayerPosting layer of the line, such as current, operations, tax or a custom layer.Enum
CurrentOperationsTax (enum)
NoLedgerTrialBalanceFiscalYearSnapshotDataEntity
PrimaryFocusDescriptionName or display text for the account and dimension value.String (500)
DimensionDisplayValue
NoNone
QuantityQuantity for the line.Real
Qty
NoNone
QuantityClosingTransactionsQuantity from closing transactions.Real
Qty
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReportingAmountCreditCredit amount in the reporting currency.Real
AmountMSTLong
NoNone
ReportingAmountDebitDebit amount in the reporting currency.Real
AmountMSTLong
NoNone
ReportingClosingAdjustmentsClosing period adjustments in the reporting currency.Real
AmountMSTLong
NoNone
ReportingClosingTransactionsClosing transactions amount in the reporting currency.Real
AmountMSTLong
NoNone
ReportingDimensionPoints to the reporting dimension balance record.Int64
GeneralLedgerBalanceReportingDimensionsRecId
NoGeneralLedgerBalanceReportingDimension.RecIdNone
ReportingEndingBalanceEnding balance in the reporting currency.Real
AmountMSTLong
NoNone
ReportingOpeningBalanceOpening balance in the reporting currency.Real
AmountMSTLong
NoNone
SnapshotHeaderPoints to the snapshot header that this line belongs to.Int64
LedgerTrialBalanceSnapshotHeaderRecId
YesLedgerTrialBalanceSnapshotHeader.RecIdLedgerTrialBalanceFiscalYearSnapshotDataEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionTypeType of fiscal period: opening, operating or closing.Enum
FiscalPeriodType (enum)
NoNone

Indexes (6)

Relations (4)

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

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many LedgerTrialBalanceSnapshotData records → zero or one DimensionAttributeValueCombination record

  • ReportingDimension → GeneralLedgerBalanceReportingDimension

    Join on ReportingDimension = GeneralLedgerBalanceReportingDimension.RecId

    Many LedgerTrialBalanceSnapshotData records → zero or one GeneralLedgerBalanceReportingDimension record

  • FiscalCalendarPeriod → FiscalCalendarPeriod

    Join on FiscalCalendarPeriodRecId = FiscalCalendarPeriod.RecId

    Many LedgerTrialBalanceSnapshotData records → zero or one FiscalCalendarPeriod record

  • LedgerTrialBalanceSnapshotHeader → LedgerTrialBalanceSnapshotHeader

    Join on SnapshotHeader = LedgerTrialBalanceSnapshotHeader.RecId

    Many LedgerTrialBalanceSnapshotData records → zero or one LedgerTrialBalanceSnapshotHeader record

Get this data out

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

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

Email sales@drdynamics.co.uk