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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RuleGroupIdID of the translation rule group. It is the key of the table. | StringRTSLRuleGroupId | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultCurrencyRuleGroupIdDefault currency rule group for this group. | StringRTSLCurrencyRuleGroupId | No | RTSLCurrencyRuleGroup.CurrencyRuleGroupId | None |
DefaultDimensionRuleGroupIdDefault dimension rule group for this group. | StringRTSLDimensionRuleGroupId | No | RTSLDimensionRuleGroup.DimesionRuleGroupId | None |
DefaultLedgerPriorityDefault priority number for ledger rules. | IntegerPriority | No | None | |
DescriptionShort description of the rule group. | String (60)Description | No | None | |
DiffLedgerDimensionLedger account used for translation differences. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
DisbalanceLedgerDimensionLedger account used for imbalances. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
FileNameName of the export file. | String (259)Filename | No | None | |
LedgerDiffErrorLevelWhether a translation difference is treated as an error or a warning. | EnumRTSLLedgerErrorLevel (enum) | No | None | |
LedgerDisbalanceErrorLevelWhether an imbalance is treated as an error or a warning. | EnumRTSLLedgerErrorLevel (enum) | No | None | |
LedgerUseVoucherSeriesShows whether a number sequence is used for new ledger vouchers. | EnumNoYes (enum) | No | None | |
LedgerVoucherSeriesNumber sequence code for new ledger vouchers. | StringRTSLLedgerVoucherSequenceCode | No | None | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToCompanyIdThe company the translation goes to. | StringRTSLToCompanyId | Yes | None | |
UseExportFileShows whether the translation goes to a file. | EnumNoYes (enum) | No | None |
Indexes (3)
RuleGroupIdxPrimary indexReplacement keyUnique, alternate key.
DimensionAttributeValueCombinationIdxNot unique.
DimensionAttributeValueCombinationIdx1Not unique.
Relations (6)
Each relation joins RTSLRuleGroup to another table on the fields shown.
Company→DataAreaJoin on
ToCompanyId = DataArea.idMany RTSLRuleGroup records → exactly one DataArea record
CurrencyRuleGroup→RTSLCurrencyRuleGroupJoin on
RuleGroupId = RTSLCurrencyRuleGroup.RuleGroupId,DefaultCurrencyRuleGroupId = RTSLCurrencyRuleGroup.CurrencyRuleGroupIdMany RTSLRuleGroup records → zero or one RTSLCurrencyRuleGroup record
DimensionAttributeValueCombinationDiff→DimensionAttributeValueCombinationJoin on
DiffLedgerDimension = DimensionAttributeValueCombination.RecIdMany RTSLRuleGroup records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombinationDisb→DimensionAttributeValueCombinationJoin on
DisbalanceLedgerDimension = DimensionAttributeValueCombination.RecIdMany RTSLRuleGroup records → zero or one DimensionAttributeValueCombination record
DimensionRuleGroup→RTSLDimensionRuleGroupJoin on
RuleGroupId = RTSLDimensionRuleGroup.RuleGroupId,DefaultDimensionRuleGroupId = RTSLDimensionRuleGroup.DimesionRuleGroupIdMany RTSLRuleGroup records → zero or one RTSLDimensionRuleGroup record
LedgerVoucherSeries→NumberSequenceTableJoin on
LedgerVoucherSeries = NumberSequenceTable.NumberSequenceMany 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.