Table
RPayTaxEmplSum
Income tax calculation
Holds income tax calculation totals for an employee. Totals are kept per calculation period, corrected period, source, income group and separate division. It stores amounts for income, deductions, tax imposed, tax deducted and repayments. Detail lines are in the related transaction table.
- Table name
RPayTaxEmplSum- Module
Obsolete- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
RPayTax- Primary index
EmplPeriodGroupIdx- Replacement key
EmplPeriodGroupIdx- Key fields
EmplId, PayPeriod, CorrectedPeriod, Source, RpayTaxIncomeGroupCode, BranchId- Model
Foundation
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
EmplIdEmployee identifier. It relates to the employee record. | String (20)RHRMPayMainEmplId | Yes | None | |
PayPeriodDate of the calculation period. | DateReportPeriod_RU | Yes | None | |
CorrectedPeriodDate of the period that is corrected. | DateRPayCorrectedPeriod | No | None | |
SourceYes/No value labelled Source. Its exact meaning is not stated in the metadata.low confidence | EnumNoYes (enum) | No | None | |
RpayTaxIncomeGroupCodeCode of the income group. It points to an income code group. | StringRpayTaxIncomeGroupCode | Yes | RPayTaxIncomeGroupTable.RpayTaxIncomeGroupCode | None |
BranchIdID of the separate division. It points to a separate division record. | String (20)BranchId_RU | No | Branches_RU.BranchId | None |
AcquittanceAmount of tax repaid. | RealRPayAmount | No | None | |
AcquittanceFuturePeriodAmount of repayment that relates to a future period. | RealRPayAmount | No | None | |
AddTaxAmountAmount of tax imposed. | RealRPayAmount | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeductionOtherAmountTotal of other deductions. | RealRPayAmount | No | None | |
DeductionStandardAmountTotal of standard deductions. | RealRPayAmount | No | None | |
DeductTaxAmountAmount of tax deducted. | RealRPayAmount | No | None | |
DeductTaxAmountFutureAmount of tax that relates to a future period. | RealRPayAmount | No | None | |
IncomeAmountAmount of revenue (income) for the employee. | 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 | |
PayrollRedemptionAmountAmount of refund. | 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 | |
ReckoningTaxAmountAmount of tax to be reimbursed. | RealRPayAmount | 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 | |
TaxRateCodeRate code used for the tax. It points to a rate record. | StringRPayRateCode | No | RPayRateTable.PayRate | None |
Indexes (1)
EmplPeriodGroupIdxPrimary indexReplacement keyEmplId,PayPeriod,CorrectedPeriod,Source,RpayTaxIncomeGroupCode,BranchIdUnique, alternate key.
Relations (5)
Each relation joins RPayTaxEmplSum to another table on the fields shown.
Branches_RU→Branches_RUJoin on
BranchId = Branches_RU.BranchIdMany RPayTaxEmplSum records → exactly one Branches_RU record
RHRMEmplTable→RHRMEmplTableJoin on
EmplId = RHRMEmplTable.PayMainEmplIdMany RPayTaxEmplSum records → exactly one RHRMEmplTable record
RPayRateTable→RPayRateTableJoin on
TaxRateCode = RPayRateTable.PayRateMany RPayTaxEmplSum records → exactly one RPayRateTable record
RpayTaxEmplTrans→RPayTaxEmplTransJoin on
RecId = RPayTaxEmplTrans.TaxSumRecIdExactly one RPayTaxEmplSum record → zero or one RPayTaxEmplTrans record
RPayTaxIncomeGroupTable_FK→RPayTaxIncomeGroupTableJoin on
RpayTaxIncomeGroupCode = RPayTaxIncomeGroupTable.RpayTaxIncomeGroupCodeMany RPayTaxEmplSum records → exactly one RPayTaxIncomeGroupTable record
Get this data out
No public entity reads from RPayTaxEmplSum. Its data is only reachable through the application, a custom entity or a database export.
Need help with RPayTaxEmplSum in a report, an integration or a migration? Talk to Dr Dynamics.