Table

RTSLRuleGroup

Translation rule groups

Translation rule groups. Each group names a target company and default currency and dimension rule groups. It also sets ledger accounts for differences and imbalances, error levels, voucher numbering and an optional export file.

Table name
RTSLRuleGroup
Module
General ledger
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RuleGroupIdx
Replacement key
RuleGroupIdx
Key fields
RuleGroupId
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RuleGroupIdID of the translation rule group. It is the key of the table.String
RTSLRuleGroupId
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultCurrencyRuleGroupIdDefault currency rule group for this group.String
RTSLCurrencyRuleGroupId
NoRTSLCurrencyRuleGroup.CurrencyRuleGroupIdNone
DefaultDimensionRuleGroupIdDefault dimension rule group for this group.String
RTSLDimensionRuleGroupId
NoRTSLDimensionRuleGroup.DimesionRuleGroupIdNone
DefaultLedgerPriorityDefault priority number for ledger rules.Integer
Priority
NoNone
DescriptionShort description of the rule group.String (60)
Description
NoNone
DiffLedgerDimensionLedger account used for translation differences.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
DisbalanceLedgerDimensionLedger account used for imbalances.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
FileNameName of the export file.String (259)
Filename
NoNone
LedgerDiffErrorLevelWhether a translation difference is treated as an error or a warning.Enum
RTSLLedgerErrorLevel (enum)
NoNone
LedgerDisbalanceErrorLevelWhether an imbalance is treated as an error or a warning.Enum
RTSLLedgerErrorLevel (enum)
NoNone
LedgerUseVoucherSeriesShows whether a number sequence is used for new ledger vouchers.Enum
NoYes (enum)
NoNone
LedgerVoucherSeriesNumber sequence code for new ledger vouchers.String
RTSLLedgerVoucherSequenceCode
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToCompanyIdThe company the translation goes to.String
RTSLToCompanyId
YesNone
UseExportFileShows whether the translation goes to a file.Enum
NoYes (enum)
NoNone

Indexes (3)

Relations (6)

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

  • Company → DataArea

    Join on ToCompanyId = DataArea.id

    Many RTSLRuleGroup records → exactly one DataArea record

  • CurrencyRuleGroup → RTSLCurrencyRuleGroup

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

    Many RTSLRuleGroup records → zero or one RTSLCurrencyRuleGroup record

  • DimensionAttributeValueCombinationDiff → DimensionAttributeValueCombination

    Join on DiffLedgerDimension = DimensionAttributeValueCombination.RecId

    Many RTSLRuleGroup records → zero or one DimensionAttributeValueCombination record

  • DimensionAttributeValueCombinationDisb → DimensionAttributeValueCombination

    Join on DisbalanceLedgerDimension = DimensionAttributeValueCombination.RecId

    Many RTSLRuleGroup records → zero or one DimensionAttributeValueCombination record

  • DimensionRuleGroup → RTSLDimensionRuleGroup

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

    Many RTSLRuleGroup records → zero or one RTSLDimensionRuleGroup record

  • LedgerVoucherSeries → NumberSequenceTable

    Join on LedgerVoucherSeries = NumberSequenceTable.NumberSequence

    Many RTSLRuleGroup records → zero or one NumberSequenceTable record

Get this data out

No public entity reads from RTSLRuleGroup. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk