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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CorrectChoice of None, No or Yes for whether the rule applies only to reversing entries.Enum
RTSLNoneNoYes (enum)
NoNone
CreditingChoice of None, No or Yes for the crediting setting of the rule.Enum
RTSLLedgerCrediting
RTSLNoneNoYes (enum)
NoRTSLLedgerTransRuleEntity
CurrencyRuleGroupIdThe currency rule group applied by this rule.String
RTSLCurrencyRuleGroupId
YesRTSLCurrencyRuleGroup.CurrencyRuleGroupIdRTSLLedgerTransRuleEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultLedgerDimensionPoints to the source main account combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
DefaultLedgerDimensionOffsetPoints to the source offset account combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
DimensionRuleGroupIdThe dimension rule group applied by this rule.String
RTSLDimensionRuleGroupId
YesRTSLDimensionRuleGroup.DimesionRuleGroupIdRTSLLedgerTransRuleEntity
LineIdUnique identifier (GUID) of the rule line.Guid
SysGuid
NoRTSLLedgerTransRuleEntity
MainAccountNumThe source main account number.String (20)
MainAccountNum
NoRTSLLedgerTransRuleEntity
MainAccountNumOffsetThe source offset account number.String (20)
MainAccountNum
NoRTSLLedgerTransRuleEntity
OperationTaxThe source posting layer, such as Current, Operations or Tax.Enum
CurrentOperationsTax (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingThe source posting type.Enum
LedgerPostingType (enum)
NoNone
PostingOffsetThe posting type of the offset account.Enum
LedgerPostingType (enum)
NoNone
PriorityNumber that ranks this rule against others.Integer
Priority
NoRTSLLedgerTransRuleEntity
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
RuleGroupIdThe translation rule group that owns this rule.String
RTSLRuleGroupId
YesRTSLCurrencyRuleGroup.RuleGroupIdRTSLDimensionRuleGroup.RuleGroupIdRTSLRuleGroup.RuleGroupIdRTSLLedgerTransRuleEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToCompanyIdThe target company of the translation.String
RTSLToCompanyId
YesRTSLRuleGroup.ToCompanyIdNone
ToDefaultLedgerDimensionPoints to the target account combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdNone
ToMainAccountNumThe target main account number.String (20)
MainAccountNum
NoRTSLLedgerTransRuleEntity
ToOperationTaxThe posting layer used in the target.Enum
CurrentOperationsTax (enum)
NoNone

Indexes (1)

Relations (9)

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

  • CurrencyRuleGroup → RTSLCurrencyRuleGroup

    Join on RuleGroupId = RTSLCurrencyRuleGroup.RuleGroupId, CurrencyRuleGroupId = RTSLCurrencyRuleGroup.CurrencyRuleGroupId

    Many RTSLLedgerTransRule records → exactly one RTSLCurrencyRuleGroup record

  • DefaultAccount → DimensionAttributeValueCombination

    Join on DefaultLedgerDimension = DimensionAttributeValueCombination.RecId

    Many RTSLLedgerTransRule records → zero or one DimensionAttributeValueCombination record

  • DefaultAccountOffset → DimensionAttributeValueCombination

    Join on DefaultLedgerDimensionOffset = DimensionAttributeValueCombination.RecId

    One or more RTSLLedgerTransRule records → zero or one DimensionAttributeValueCombination record

  • DimensionRuleGroup → RTSLDimensionRuleGroup

    Join on RuleGroupId = RTSLDimensionRuleGroup.RuleGroupId, DimensionRuleGroupId = RTSLDimensionRuleGroup.DimesionRuleGroupId

    Many RTSLLedgerTransRule records → exactly one RTSLDimensionRuleGroup record

  • MainAccountNum → MainAccount

    Join on MainAccountNum = MainAccount.MainAccountId

    Many RTSLLedgerTransRule records → zero or one MainAccount record

  • MainAccountNumOffset → MainAccount

    Join on MainAccountNumOffset = MainAccount.MainAccountId

    Many RTSLLedgerTransRule records → zero or one MainAccount record

  • RuleGroup → RTSLRuleGroup

    Join on RuleGroupId = RTSLRuleGroup.RuleGroupId, ToCompanyId = RTSLRuleGroup.ToCompanyId

    Many RTSLLedgerTransRule records → exactly one RTSLRuleGroup record

  • ToDefaultAccount → DimensionAttributeValueCombination

    Join on ToDefaultLedgerDimension = DimensionAttributeValueCombination.RecId

    One or more RTSLLedgerTransRule records → exactly one DimensionAttributeValueCombination record

  • ToMainAccountNum → MainAccount

    Join on ToMainAccountNum = MainAccount.MainAccountId

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

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

Email sales@drdynamics.co.uk