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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountIntervalTypeShows whether the debit account setting applies to a single account, a group or all.Enum
TableGroupAll (enum)
NoNone
AccountNumGroupDebit account interval group.String (20)
RTax25AccountIntervalGroup
NoRTax25LedgerIntervalGroup.IntervalGroupNone
AllowEmptyTaxDimYes/No flag allowing an empty tax dimension.Enum
NoYesId
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDimension set for the debit side.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
OffsetAccountIntervalTypeShows whether the credit account setting applies to a single account, a group or all.Enum
TableGroupAll (enum)
NoNone
OffsetAccountNumGroupCredit account interval group.String (20)
RTax25AccountIntervalGroup
NoRTax25LedgerIntervalGroup.IntervalGroupNone
OffsetDefaultDimensionDimension set for the credit side.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
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
RegisterIdCode of the tax register.String (20)
RTax25RegisterId
NoRTax25RegisterTable.RegisterIdNone
RTax25ProfitTablePoints to the expense code.Int64
RTax25ProfitTableRecId
NoRTax25ProfitTable.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (4)

Relations (9)

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

  • AccountIntervalGroup → RTax25LedgerIntervalGroup

    Join on AccountIntervalType = TableGroupAll::GroupId, AccountNumGroup = RTax25LedgerIntervalGroup.IntervalGroup

    Many RTax25ProfitLedgerSetup records → zero or one RTax25LedgerIntervalGroup record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many RTax25ProfitLedgerSetup records → zero or one DimensionAttributeValueSet record

  • MainAccount → MainAccount

    Join on AccountIntervalType = TableGroupAll::Table, AccountNumGroup = MainAccount.MainAccountId

    Many RTax25ProfitLedgerSetup records → zero or one MainAccount record

  • OffsetAccountIntervalGroup → RTax25LedgerIntervalGroup

    Join on OffsetAccountIntervalType = TableGroupAll::GroupId, OffsetAccountNumGroup = RTax25LedgerIntervalGroup.IntervalGroup

    Many RTax25ProfitLedgerSetup records → zero or one RTax25LedgerIntervalGroup record

  • OffsetDefaultDimension → DimensionAttributeValueSet

    Join on OffsetDefaultDimension = DimensionAttributeValueSet.RecId

    Many RTax25ProfitLedgerSetup records → zero or one DimensionAttributeValueSet record

  • OffsetMainAccount → MainAccount

    Join on OffsetAccountIntervalType = TableGroupAll::Table, OffsetAccountNumGroup = MainAccount.MainAccountId

    Many RTax25ProfitLedgerSetup records → zero or one MainAccount record

  • RTax25ProfitTable → RTax25ProfitTable

    Join on RTax25ProfitTable = RTax25ProfitTable.RecId

    Many RTax25ProfitLedgerSetup records → exactly one RTax25ProfitTable record

  • RTax25RegisterProfit → RTax25RegisterProfit

    Join on RegisterId = RTax25RegisterProfit.RegisterId

    Many RTax25ProfitLedgerSetup records → zero or one RTax25RegisterProfit record

  • RTax25RegisterTable → RTax25RegisterTable

    Join on RegisterId = RTax25RegisterTable.RegisterId

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

Email sales@drdynamics.co.uk