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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PayPeriodDate of the calculation period. | DateReportPeriod_RU | No | None | |
RpayTaxIncomeGroupCodeCode of the income group. | StringRpayTaxIncomeGroupCode | Yes | None | |
EmplIdEmployee identifier. It relates to the employee record. | String (20)RHRMPayMainEmplId | Yes | None | |
AcquittanceAmount of tax repaid. | RealRPayAmount | No | None | |
AddTaxAmountAmount of tax imposed. | RealRPayAmount | No | None | |
ClosedYes/No flag that shows whether the record is closed. | EnumNoYesIdNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeductTaxAmountAmount of tax deducted. | RealRPayAmount | No | None | |
FutureTaxAmountAmount of tax that relates to a future period. | RealRPayAmount | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PassToGniAmount transferred to the state tax inspectorate (STI). | RealRPayAmount | 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 |
Indexes (2)
Relations (1)
Each relation joins RPayTaxSumYear to another table on the fields shown.
RHRMEmplTable→RHRMEmplTableJoin on
EmplId = RHRMEmplTable.PayMainEmplIdMany 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.