Table
LedgerConsolidateHist
Ledger consolidation history
Keeps a history of ledger consolidation runs. Each record shows the company, the date range, when it ran, the batch job and the template used. It also shows whether the run was reversed or reviewed.
- Table name
LedgerConsolidateHist- Module
General ledger- Table group
TransactionHeader- Table type
Regular- Data per company
Yes- Configuration key
LedgerAdvConsolidations- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BatchJobIdPoints to the batch job record. | Int64RefRecId | No | BatchJob.RecId | None |
CompanyIdOriginCompany whose accounts were consolidated. | StringCompanyId | No | None | |
ConsolidateTemplatePoints to the ledger consolidation template used. | Int64RefRecId | No | LedgerConsolidateTemplate.RecId | 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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionDescription of the consolidation run. | String (60)Description | No | None | |
FromDateStart date of the consolidated period. | DateTransDate | No | None | |
NotesFree-text notes on the run. | String (254)NotesLine | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessDateTimeDate and time when the process ran. | UtcDateTimeStartDateTime | 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 | |
ReversedYes/No flag showing whether the run was reversed. | EnumNoYes (enum) | No | None | |
ReversedDateTimeDate and time when the run was reversed. | UtcDateTimeEndDateTime | No | None | |
ReviewedYes/No flag showing whether the run was reviewed. | EnumNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToDateEnd date of the consolidated period. | DateTransDate | No | None |
Indexes (4)
CompanyIdOriginIdxCompanyIdOrigin,Partition,DataAreaIDNot unique.
ConsolidateTemplateIdxConsolidateTemplate,Partition,DataAreaIdNot unique.
ReversedIdxReversed,Partition,DataAreaIdNot unique.
ReviwedIdxReviewed,Partition,DataAreaIdNot unique.
Relations (4)
Each relation joins LedgerConsolidateHist to another table on the fields shown.
DataArea→DataAreaJoin on
CompanyIdOrigin = DataArea.id,DataArea.isVirtual = nullMany LedgerConsolidateHist records → zero or one DataArea record
LedgerConsolidateHistRef→LedgerConsolidateHistRefJoin on
RecId = LedgerConsolidateHistRef.RefRecIdMany LedgerConsolidateHist records → zero or one LedgerConsolidateHistRef record
BatchJob→BatchJobJoin on
BatchJobId = BatchJob.RecIdZero or one LedgerConsolidateHist record → zero or one BatchJob record
LedgerConsolidateTemplate→LedgerConsolidateTemplateJoin on
ConsolidateTemplate = LedgerConsolidateTemplate.RecIdMany LedgerConsolidateHist records → zero or one LedgerConsolidateTemplate record
Get this data out
No public entity reads from LedgerConsolidateHist. Its data is only reachable through the application, a custom entity or a database export.
Need help with LedgerConsolidateHist in a report, an integration or a migration? Talk to Dr Dynamics.