Table

LedgerEliminationRule

Ledger elimination rule

Holds ledger elimination rules, one record per rule ID. A rule names a source company and a destination company. It also has an active flag, an effective date range and a journal name. Its lines are stored in a separate table.

Table name
LedgerEliminationRule
Module
General ledger
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
LedgerAdvConsolidations
Primary index
RuleIdx
Replacement key
None
Key fields
RuleId
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RuleIdUnique ID of the elimination rule.String (20)
LedgerEliminationRuleId
YesLedgerEliminationRuleEntity
ActiveShows whether the rule is active (yes or no).Enum
NoYes (enum)
NoLedgerEliminationRuleEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateLastRunDate on which the rule was last run.Date
LastInvoiceDate
NoLedgerEliminationRuleEntity
DescriptionShort text describing the rule.String (60)
Description
NoLedgerEliminationRuleEntity
DestinationCompanyCompany (legal entity) that receives the elimination.String
SelectableDataArea
YesLedgerEliminationRuleEntity
EffectiveEndDateLast date on which the rule is valid.Date
EndDate
NoLedgerEliminationRuleEntity
EffectiveStartDateFirst date on which the rule is valid.Date
StartDate
NoLedgerEliminationRuleEntity
JournalNameName of the ledger journal linked to the rule.String
LedgerJournalNameId
NoLedgerJournalName.JournalNameLedgerEliminationRuleEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SourceCompanyCompany (legal entity) that the elimination starts from.String
SelectableDataArea
NoLedgerEliminationRuleEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (4)

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

  • DataArea → DataArea

    Join on DestinationCompany = DataArea.id

    Many LedgerEliminationRule records → exactly one DataArea record

  • DataArea_DestinationCompany → DataArea

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

    Many LedgerEliminationRule records → exactly one DataArea record

  • DataArea_SourceCompany → DataArea

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

    Many LedgerEliminationRule records → zero or one DataArea record

  • LedgerJournalName → LedgerJournalName

    Join on JournalName = LedgerJournalName.JournalName

    Many LedgerEliminationRule records → zero or one LedgerJournalName record

Get this data out

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

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

Email sales@drdynamics.co.uk