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 descriptionType / EDT / enumMandatoryReferencesIn public entities
BatchJobIdPoints to the batch job record.Int64
RefRecId
NoBatchJob.RecIdNone
CompanyIdOriginCompany whose accounts were consolidated.String
CompanyId
NoNone
ConsolidateTemplatePoints to the ledger consolidation template used.Int64
RefRecId
NoLedgerConsolidateTemplate.RecIdNone
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionDescription of the consolidation run.String (60)
Description
NoNone
FromDateStart date of the consolidated period.Date
TransDate
NoNone
NotesFree-text notes on the run.String (254)
NotesLine
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessDateTimeDate and time when the process ran.UtcDateTime
StartDateTime
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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReversedYes/No flag showing whether the run was reversed.Enum
NoYes (enum)
NoNone
ReversedDateTimeDate and time when the run was reversed.UtcDateTime
EndDateTime
NoNone
ReviewedYes/No flag showing whether the run was reviewed.Enum
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToDateEnd date of the consolidated period.Date
TransDate
NoNone

Indexes (4)

Relations (4)

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

  • DataArea → DataArea

    Join on CompanyIdOrigin = DataArea.id, DataArea.isVirtual = null

    Many LedgerConsolidateHist records → zero or one DataArea record

  • LedgerConsolidateHistRef → LedgerConsolidateHistRef

    Join on RecId = LedgerConsolidateHistRef.RefRecId

    Many LedgerConsolidateHist records → zero or one LedgerConsolidateHistRef record

  • BatchJob → BatchJob

    Join on BatchJobId = BatchJob.RecId

    Zero or one LedgerConsolidateHist record → zero or one BatchJob record

  • LedgerConsolidateTemplate → LedgerConsolidateTemplate

    Join on ConsolidateTemplate = LedgerConsolidateTemplate.RecId

    Many 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.

Email sales@drdynamics.co.uk