Table

RPayTaxEmplTrans

Amounts in the

Holds the amounts that make up an income tax calculation total. Each line is either income or a deduction, and links to a record in the income tax calculation table. It can also link to a relative and can be entered manually.

Table name
RPayTaxEmplTrans
Module
Obsolete
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
RPayTax
Primary index
IncDebCodeIdx
Replacement key
None
Key fields
TaxSumRecId, RpayTaxType, RpayTaxIncDedCode, manual, FamilyRecId
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxSumRecIdSystem record ID of the income tax calculation total this line belongs to.Int64
RefRecId
NoRPayTaxEmplSum.RecIdNone
RpayTaxTypeType of line: income or deduction.Enum
RpayTaxType (enum)
NoNone
RpayTaxIncDedCodeNumber of the income or deduction. It points to a deduction code or an income code, depending on the type.Integer
RpayTaxIncDedCode
NoRPayTaxDeductionTable.RpayTaxDeductionCodeRPayTaxIncomeTable.RpayTaxIncomeCodeNone
manualYes/No flag that shows whether the data was entered manually.Enum
NoYes (enum)
NoNone
FamilyRecIdSystem record ID of the relative this line relates to.Int64
RHRMFamilyRecId
NoRHRMVirtualNetworkFamily.RecIdNone
AmountAmount of the line.Real
RPayAmount
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeductionAmount of the discount (deduction).Real
RPayAmount
NoNone
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
RpayTaxDeductionCodeDeduction code. It points to a deduction, discount and relief code.Integer
RpayTaxDeductionOther
NoRPayTaxDeductionTable.RpayTaxDeductionCodeNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

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

  • RHRMVirtualNetworkFamily → RHRMVirtualNetworkFamily

    Join on FamilyRecId = RHRMVirtualNetworkFamily.RecId

    Many RPayTaxEmplTrans records → exactly one RHRMVirtualNetworkFamily record

  • RPayTaxDeductionTable → RPayTaxDeductionTable

    Join on RPayTaxDeductionTable.RpayTaxDeductionType = RpayTaxDeductionType::Standard, RpayTaxType = RpayTaxType::Deduction, RpayTaxIncDedCode = RPayTaxDeductionTable.RpayTaxDeductionCode

    Many RPayTaxEmplTrans records → exactly one RPayTaxDeductionTable record

  • RPayTaxDeductionTable_FK → RPayTaxDeductionTable

    Join on RpayTaxDeductionCode = RPayTaxDeductionTable.RpayTaxDeductionCode, RPayTaxDeductionTable.RpayTaxDeductionType = RpayTaxDeductionType::Other

    Many RPayTaxEmplTrans records → exactly one RPayTaxDeductionTable record

  • RpayTaxEmplSum → RPayTaxEmplSum

    Join on TaxSumRecId = RPayTaxEmplSum.RecId

    Zero or one RPayTaxEmplTrans record → exactly one RPayTaxEmplSum record

  • RpayTaxIncomeTable → RPayTaxIncomeTable

    Join on RpayTaxIncDedCode = RPayTaxIncomeTable.RpayTaxIncomeCode, RpayTaxType = RpayTaxType::Income

    One or more RPayTaxEmplTrans records → exactly one RPayTaxIncomeTable record

Get this data out

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

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

Email sales@drdynamics.co.uk