Table
LedgerTrialBalanceSnapshotHeader
Header table for trial balance snapshots
Holds the header of a trial balance snapshot. It is identified by ledger, dimension set, fiscal year and an external tracking ID. It stores the status, posting layer, dimension names, last run date and how many fiscal years to process.
- Table name
LedgerTrialBalanceSnapshotHeader- Module
General ledger- Table group
TransactionHeader- Table type
Regular- Data per company
No- Configuration key
LedgerBasic- Primary index
LedgerHierarchyYearIdx- Replacement key
None- Key fields
LedgerRecId, DimensionHierarchyId, FiscalCalendarYearRecId, ExternalTrackingId- Model
GeneralLedger
Fields (27)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LedgerRecIdPoints to the ledger of the snapshot. | Int64LedgerRecId | No | Ledger.RecId | LedgerTrialBalanceFiscalYearSnapshotHeaderEntityLedgerTrialBalanceFiscalYearSnapshotDataEntity |
DimensionHierarchyIdPoints to the dimension set used in the snapshot. | Int64DimensionHierarchyId | No | DimensionHierarchy.RecId | LedgerTrialBalanceFiscalYearSnapshotHeaderEntityLedgerTrialBalanceFiscalYearSnapshotDataEntity |
FiscalCalendarYearRecIdPoints to the fiscal calendar year of the snapshot. | Int64FiscalCalendarYearRecId | No | FiscalCalendarYear.RecId | LedgerTrialBalanceFiscalYearSnapshotHeaderEntityLedgerTrialBalanceFiscalYearSnapshotDataEntity |
ExternalTrackingIdGUID used to track the snapshot from outside. | Guid | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntityLedgerTrialBalanceFiscalYearSnapshotDataEntity | |
BatchJobIdReference to the batch job that processes the snapshot.low confidence | Int64RefRecId | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DateLastRanDate and time when the snapshot was last updated. | UtcDateTime | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName1Name of the first dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName10Name of the tenth dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName11Name of the eleventh dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName2Name of the second dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName3Name of the third dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName4Name of the fourth dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName5Name of the fifth dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName6Name of the sixth dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName7Name of the seventh dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName8Name of the eighth dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
DimName9Name of the ninth dimension. | String (60)Name | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingLayerPosting layer included in the snapshot. | EnumCurrentOperationsTax (enum) | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity | |
ProcessScheduleSeriesReference to the schedule series that runs the snapshot.low confidence | Int64RefRecId | 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 | |
StatusStatus of the snapshot: not started, processing or complete. | EnumLedgerTrialBalanceSnapshotStatus (enum) | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntityLedgerTrialBalanceFiscalYearSnapshotDataEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
YearsToProcessWhich fiscal years are processed, such as the selected year or the current and previous years. | EnumLedgerTrialBalanceSnapshotYearsToProcess (enum) | No | LedgerTrialBalanceFiscalYearSnapshotHeaderEntity |
Indexes (2)
LedgerHierarchyYearIdxPrimary indexLedgerRecId,DimensionHierarchyId,FiscalCalendarYearRecId,ExternalTrackingIdUnique.
TrackingIdxUnique.
Relations (3)
Each relation joins LedgerTrialBalanceSnapshotHeader to another table on the fields shown.
Ledger→LedgerJoin on
LedgerRecId = Ledger.RecIdMany LedgerTrialBalanceSnapshotHeader records → zero or one Ledger record
FiscalCalendarYear→FiscalCalendarYearJoin on
FiscalCalendarYearRecId = FiscalCalendarYear.RecIdMany LedgerTrialBalanceSnapshotHeader records → zero or one FiscalCalendarYear record
DimensionHierarchy→DimensionHierarchyJoin on
DimensionHierarchyId = DimensionHierarchy.RecIdMany LedgerTrialBalanceSnapshotHeader records → zero or one DimensionHierarchy record
Get this data out
Tables are not exposed directly. These public entities read from LedgerTrialBalanceSnapshotHeader; use one of them in Power BI, Power Platform or a data management project.
LedgerTrialBalanceFiscalYearSnapshotHeaderEntity· 19 fields from this tableLedgerTrialBalanceFiscalYearSnapshotDataEntity· 5 fields from this table
Need help with LedgerTrialBalanceSnapshotHeader in a report, an integration or a migration? Talk to Dr Dynamics.