Table

RPayTaxSumYear

Last year income tax totals

Holds income tax totals for last year, per employee and income group. The key is the period, income group code and employee. It stores amounts for tax imposed, deducted, repaid and for future periods. It also has a closed flag.

Table name
RPayTaxSumYear
Module
Obsolete
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
RPayTax
Primary index
PeriodEmplIdx
Replacement key
None
Key fields
PayPeriod, RpayTaxIncomeGroupCode, EmplId
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PayPeriodDate of the calculation period.Date
ReportPeriod_RU
NoNone
RpayTaxIncomeGroupCodeCode of the income group.String
RpayTaxIncomeGroupCode
YesNone
EmplIdEmployee identifier. It relates to the employee record.String (20)
RHRMPayMainEmplId
YesNone
AcquittanceAmount of tax repaid.Real
RPayAmount
NoNone
AddTaxAmountAmount of tax imposed.Real
RPayAmount
NoNone
ClosedYes/No flag that shows whether the record is closed.Enum
NoYesId
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeductTaxAmountAmount of tax deducted.Real
RPayAmount
NoNone
FutureTaxAmountAmount of tax that relates to a future period.Real
RPayAmount
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PassToGniAmount transferred to the state tax inspectorate (STI).Real
RPayAmount
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

Indexes (2)

Relations (1)

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

  • RHRMEmplTable → RHRMEmplTable

    Join on EmplId = RHRMEmplTable.PayMainEmplId

    Many RPayTaxSumYear records → zero or one RHRMEmplTable record

Get this data out

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

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

Email sales@drdynamics.co.uk