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 descriptionType / EDT / enumMandatoryReferencesIn public entities
EmplIdEmployee identifier. It relates to the employee record.String (20)
RHRMPayMainEmplId
YesNone
PayPeriodDate of the calculation period.Date
ReportPeriod_RU
YesNone
CorrectedPeriodDate of the period that is corrected.Date
RPayCorrectedPeriod
NoNone
SourceYes/No value labelled Source. Its exact meaning is not stated in the metadata.low confidenceEnum
NoYes (enum)
NoNone
RpayTaxIncomeGroupCodeCode of the income group. It points to an income code group.String
RpayTaxIncomeGroupCode
YesRPayTaxIncomeGroupTable.RpayTaxIncomeGroupCodeNone
BranchIdID of the separate division. It points to a separate division record.String (20)
BranchId_RU
NoBranches_RU.BranchIdNone
AcquittanceAmount of tax repaid.Real
RPayAmount
NoNone
AcquittanceFuturePeriodAmount of repayment that relates to a future period.Real
RPayAmount
NoNone
AddTaxAmountAmount of tax imposed.Real
RPayAmount
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeductionOtherAmountTotal of other deductions.Real
RPayAmount
NoNone
DeductionStandardAmountTotal of standard deductions.Real
RPayAmount
NoNone
DeductTaxAmountAmount of tax deducted.Real
RPayAmount
NoNone
DeductTaxAmountFutureAmount of tax that relates to a future period.Real
RPayAmount
NoNone
IncomeAmountAmount of revenue (income) for the employee.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
PayrollRedemptionAmountAmount of refund.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
ReckoningTaxAmountAmount of tax to be reimbursed.Real
RPayAmount
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
TaxRateCodeRate code used for the tax. It points to a rate record.String
RPayRateCode
NoRPayRateTable.PayRateNone

Indexes (1)

Relations (5)

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

  • Branches_RU → Branches_RU

    Join on BranchId = Branches_RU.BranchId

    Many RPayTaxEmplSum records → exactly one Branches_RU record

  • RHRMEmplTable → RHRMEmplTable

    Join on EmplId = RHRMEmplTable.PayMainEmplId

    Many RPayTaxEmplSum records → exactly one RHRMEmplTable record

  • RPayRateTable → RPayRateTable

    Join on TaxRateCode = RPayRateTable.PayRate

    Many RPayTaxEmplSum records → exactly one RPayRateTable record

  • RpayTaxEmplTrans → RPayTaxEmplTrans

    Join on RecId = RPayTaxEmplTrans.TaxSumRecId

    Exactly one RPayTaxEmplSum record → zero or one RPayTaxEmplTrans record

  • RPayTaxIncomeGroupTable_FK → RPayTaxIncomeGroupTable

    Join on RpayTaxIncomeGroupCode = RPayTaxIncomeGroupTable.RpayTaxIncomeGroupCode

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

Email sales@drdynamics.co.uk