Table
RTax25ProfitLedgerSetup
Expense code and ledger relation
Links an expense code to ledger accounts and tax registers. Each record sets debit and credit account ranges, dimensions and a register code. The ranges can apply to a single account, a group or all.
- Table name
RTax25ProfitLedgerSetup- Module
Profit tax register (Russia)- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountIntervalTypeShows whether the debit account setting applies to a single account, a group or all. | EnumTableGroupAll (enum) | No | None | |
AccountNumGroupDebit account interval group. | String (20)RTax25AccountIntervalGroup | No | RTax25LedgerIntervalGroup.IntervalGroup | None |
AllowEmptyTaxDimYes/No flag allowing an empty tax dimension. | EnumNoYesIdNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDimension set for the debit side. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
OffsetAccountIntervalTypeShows whether the credit account setting applies to a single account, a group or all. | EnumTableGroupAll (enum) | No | None | |
OffsetAccountNumGroupCredit account interval group. | String (20)RTax25AccountIntervalGroup | No | RTax25LedgerIntervalGroup.IntervalGroup | None |
OffsetDefaultDimensionDimension set for the credit side. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | 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 | |
RegisterIdCode of the tax register. | String (20)RTax25RegisterId | No | RTax25RegisterTable.RegisterId | None |
RTax25ProfitTablePoints to the expense code. | Int64RTax25ProfitTableRecId | No | RTax25ProfitTable.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (4)
DefaultDimensionIdxNot unique.
OffsetDefaultDimensionIdxNot unique.
ProfitAccountNumIdxRTax25ProfitTable,AccountIntervalType,AccountNumGroupNot unique.
RegisterAccountNumIdxRegisterId,AccountIntervalType,AccountNumGroupNot unique.
Relations (9)
Each relation joins RTax25ProfitLedgerSetup to another table on the fields shown.
AccountIntervalGroup→RTax25LedgerIntervalGroupJoin on
AccountIntervalType = TableGroupAll::GroupId,AccountNumGroup = RTax25LedgerIntervalGroup.IntervalGroupMany RTax25ProfitLedgerSetup records → zero or one RTax25LedgerIntervalGroup record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany RTax25ProfitLedgerSetup records → zero or one DimensionAttributeValueSet record
MainAccount→MainAccountJoin on
AccountIntervalType = TableGroupAll::Table,AccountNumGroup = MainAccount.MainAccountIdMany RTax25ProfitLedgerSetup records → zero or one MainAccount record
OffsetAccountIntervalGroup→RTax25LedgerIntervalGroupJoin on
OffsetAccountIntervalType = TableGroupAll::GroupId,OffsetAccountNumGroup = RTax25LedgerIntervalGroup.IntervalGroupMany RTax25ProfitLedgerSetup records → zero or one RTax25LedgerIntervalGroup record
OffsetDefaultDimension→DimensionAttributeValueSetJoin on
OffsetDefaultDimension = DimensionAttributeValueSet.RecIdMany RTax25ProfitLedgerSetup records → zero or one DimensionAttributeValueSet record
OffsetMainAccount→MainAccountJoin on
OffsetAccountIntervalType = TableGroupAll::Table,OffsetAccountNumGroup = MainAccount.MainAccountIdMany RTax25ProfitLedgerSetup records → zero or one MainAccount record
RTax25ProfitTable→RTax25ProfitTableJoin on
RTax25ProfitTable = RTax25ProfitTable.RecIdMany RTax25ProfitLedgerSetup records → exactly one RTax25ProfitTable record
RTax25RegisterProfit→RTax25RegisterProfitJoin on
RegisterId = RTax25RegisterProfit.RegisterIdMany RTax25ProfitLedgerSetup records → zero or one RTax25RegisterProfit record
RTax25RegisterTable→RTax25RegisterTableJoin on
RegisterId = RTax25RegisterTable.RegisterIdMany RTax25ProfitLedgerSetup records → exactly one RTax25RegisterTable record
Get this data out
No public entity reads from RTax25ProfitLedgerSetup. Its data is only reachable through the application, a custom entity or a database export.
Need help with RTax25ProfitLedgerSetup in a report, an integration or a migration? Talk to Dr Dynamics.