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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RuleIdUnique ID of the elimination rule. | String (20)LedgerEliminationRuleId | Yes | LedgerEliminationRuleEntity | |
ActiveShows whether the rule is active (yes or no). | EnumNoYes (enum) | No | LedgerEliminationRuleEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateLastRunDate on which the rule was last run. | DateLastInvoiceDate | No | LedgerEliminationRuleEntity | |
DescriptionShort text describing the rule. | String (60)Description | No | LedgerEliminationRuleEntity | |
DestinationCompanyCompany (legal entity) that receives the elimination. | StringSelectableDataArea | Yes | LedgerEliminationRuleEntity | |
EffectiveEndDateLast date on which the rule is valid. | DateEndDate | No | LedgerEliminationRuleEntity | |
EffectiveStartDateFirst date on which the rule is valid. | DateStartDate | No | LedgerEliminationRuleEntity | |
JournalNameName of the ledger journal linked to the rule. | StringLedgerJournalNameId | No | LedgerJournalName.JournalName | LedgerEliminationRuleEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
SourceCompanyCompany (legal entity) that the elimination starts from. | StringSelectableDataArea | No | LedgerEliminationRuleEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
RuleIdxPrimary indexUnique, alternate key.
DestCoRuleIdxUnique, alternate key.
Relations (4)
Each relation joins LedgerEliminationRule to another table on the fields shown.
DataArea→DataAreaJoin on
DestinationCompany = DataArea.idMany LedgerEliminationRule records → exactly one DataArea record
DataArea_DestinationCompany→DataAreaJoin on
DestinationCompany = DataArea.id,DataArea.isVirtual = nullMany LedgerEliminationRule records → exactly one DataArea record
DataArea_SourceCompany→DataAreaJoin on
SourceCompany = DataArea.id,DataArea.isVirtual = nullMany LedgerEliminationRule records → zero or one DataArea record
LedgerJournalName→LedgerJournalNameJoin on
JournalName = LedgerJournalName.JournalNameMany 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.
LedgerEliminationRuleEntity· 9 fields from this table
Need help with LedgerEliminationRule in a report, an integration or a migration? Talk to Dr Dynamics.