Table
RTSLLedgerTransRule
Translation ledger account rules
Holds translation ledger account rules. Each rule links a source main account, with its offset account, to a target account in another company. It also selects the currency and dimension rule groups, a priority and posting layer settings.
- Table name
RTSLLedgerTransRule- Module
General ledger- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CorrectChoice of None, No or Yes for whether the rule applies only to reversing entries. | EnumRTSLNoneNoYes (enum) | No | None | |
CreditingChoice of None, No or Yes for the crediting setting of the rule. | EnumRTSLLedgerCreditingRTSLNoneNoYes (enum) | No | RTSLLedgerTransRuleEntity | |
CurrencyRuleGroupIdThe currency rule group applied by this rule. | StringRTSLCurrencyRuleGroupId | Yes | RTSLCurrencyRuleGroup.CurrencyRuleGroupId | RTSLLedgerTransRuleEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultLedgerDimensionPoints to the source main account combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
DefaultLedgerDimensionOffsetPoints to the source offset account combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
DimensionRuleGroupIdThe dimension rule group applied by this rule. | StringRTSLDimensionRuleGroupId | Yes | RTSLDimensionRuleGroup.DimesionRuleGroupId | RTSLLedgerTransRuleEntity |
LineIdUnique identifier (GUID) of the rule line. | GuidSysGuid | No | RTSLLedgerTransRuleEntity | |
MainAccountNumThe source main account number. | String (20)MainAccountNum | No | RTSLLedgerTransRuleEntity | |
MainAccountNumOffsetThe source offset account number. | String (20)MainAccountNum | No | RTSLLedgerTransRuleEntity | |
OperationTaxThe source posting layer, such as Current, Operations or Tax. | EnumCurrentOperationsTax (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingThe source posting type. | EnumLedgerPostingType (enum) | No | None | |
PostingOffsetThe posting type of the offset account. | EnumLedgerPostingType (enum) | No | None | |
PriorityNumber that ranks this rule against others. | IntegerPriority | No | RTSLLedgerTransRuleEntity | |
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 | |
RuleGroupIdThe translation rule group that owns this rule. | StringRTSLRuleGroupId | Yes | RTSLCurrencyRuleGroup.RuleGroupIdRTSLDimensionRuleGroup.RuleGroupIdRTSLRuleGroup.RuleGroupId | RTSLLedgerTransRuleEntity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToCompanyIdThe target company of the translation. | StringRTSLToCompanyId | Yes | RTSLRuleGroup.ToCompanyId | None |
ToDefaultLedgerDimensionPoints to the target account combination. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | None |
ToMainAccountNumThe target main account number. | String (20)MainAccountNum | No | RTSLLedgerTransRuleEntity | |
ToOperationTaxThe posting layer used in the target. | EnumCurrentOperationsTax (enum) | No | None |
Indexes (1)
LedgerTransRuleIdxNot unique.
Relations (9)
Each relation joins RTSLLedgerTransRule to another table on the fields shown.
CurrencyRuleGroup→RTSLCurrencyRuleGroupJoin on
RuleGroupId = RTSLCurrencyRuleGroup.RuleGroupId,CurrencyRuleGroupId = RTSLCurrencyRuleGroup.CurrencyRuleGroupIdMany RTSLLedgerTransRule records → exactly one RTSLCurrencyRuleGroup record
DefaultAccount→DimensionAttributeValueCombinationJoin on
DefaultLedgerDimension = DimensionAttributeValueCombination.RecIdMany RTSLLedgerTransRule records → zero or one DimensionAttributeValueCombination record
DefaultAccountOffset→DimensionAttributeValueCombinationJoin on
DefaultLedgerDimensionOffset = DimensionAttributeValueCombination.RecIdOne or more RTSLLedgerTransRule records → zero or one DimensionAttributeValueCombination record
DimensionRuleGroup→RTSLDimensionRuleGroupJoin on
RuleGroupId = RTSLDimensionRuleGroup.RuleGroupId,DimensionRuleGroupId = RTSLDimensionRuleGroup.DimesionRuleGroupIdMany RTSLLedgerTransRule records → exactly one RTSLDimensionRuleGroup record
MainAccountNum→MainAccountJoin on
MainAccountNum = MainAccount.MainAccountIdMany RTSLLedgerTransRule records → zero or one MainAccount record
MainAccountNumOffset→MainAccountJoin on
MainAccountNumOffset = MainAccount.MainAccountIdMany RTSLLedgerTransRule records → zero or one MainAccount record
RuleGroup→RTSLRuleGroupJoin on
RuleGroupId = RTSLRuleGroup.RuleGroupId,ToCompanyId = RTSLRuleGroup.ToCompanyIdMany RTSLLedgerTransRule records → exactly one RTSLRuleGroup record
ToDefaultAccount→DimensionAttributeValueCombinationJoin on
ToDefaultLedgerDimension = DimensionAttributeValueCombination.RecIdOne or more RTSLLedgerTransRule records → exactly one DimensionAttributeValueCombination record
ToMainAccountNum→MainAccountJoin on
ToMainAccountNum = MainAccount.MainAccountIdMany RTSLLedgerTransRule records → zero or one MainAccount record
Get this data out
Tables are not exposed directly. These public entities read from RTSLLedgerTransRule; use one of them in Power BI, Power Platform or a data management project.
RTSLLedgerTransRuleEntity· 9 fields from this table
Need help with RTSLLedgerTransRule in a report, an integration or a migration? Talk to Dr Dynamics.