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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxSumRecIdSystem record ID of the income tax calculation total this line belongs to. | Int64RefRecId | No | RPayTaxEmplSum.RecId | None |
RpayTaxTypeType of line: income or deduction. | EnumRpayTaxType (enum) | No | None | |
RpayTaxIncDedCodeNumber of the income or deduction. It points to a deduction code or an income code, depending on the type. | IntegerRpayTaxIncDedCode | No | RPayTaxDeductionTable.RpayTaxDeductionCodeRPayTaxIncomeTable.RpayTaxIncomeCode | None |
manualYes/No flag that shows whether the data was entered manually. | EnumNoYes (enum) | No | None | |
FamilyRecIdSystem record ID of the relative this line relates to. | Int64RHRMFamilyRecId | No | RHRMVirtualNetworkFamily.RecId | None |
AmountAmount of the line. | RealRPayAmount | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeductionAmount of the discount (deduction). | RealRPayAmount | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RpayTaxDeductionCodeDeduction code. It points to a deduction, discount and relief code. | IntegerRpayTaxDeductionOther | No | RPayTaxDeductionTable.RpayTaxDeductionCode | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
IncDebCodeIdxPrimary indexTaxSumRecId,RpayTaxType,RpayTaxIncDedCode,manual,FamilyRecIdUnique, alternate key.
Relations (5)
Each relation joins RPayTaxEmplTrans to another table on the fields shown.
RHRMVirtualNetworkFamily→RHRMVirtualNetworkFamilyJoin on
FamilyRecId = RHRMVirtualNetworkFamily.RecIdMany RPayTaxEmplTrans records → exactly one RHRMVirtualNetworkFamily record
RPayTaxDeductionTable→RPayTaxDeductionTableJoin on
RPayTaxDeductionTable.RpayTaxDeductionType = RpayTaxDeductionType::Standard,RpayTaxType = RpayTaxType::Deduction,RpayTaxIncDedCode = RPayTaxDeductionTable.RpayTaxDeductionCodeMany RPayTaxEmplTrans records → exactly one RPayTaxDeductionTable record
RPayTaxDeductionTable_FK→RPayTaxDeductionTableJoin on
RpayTaxDeductionCode = RPayTaxDeductionTable.RpayTaxDeductionCode,RPayTaxDeductionTable.RpayTaxDeductionType = RpayTaxDeductionType::OtherMany RPayTaxEmplTrans records → exactly one RPayTaxDeductionTable record
RpayTaxEmplSum→RPayTaxEmplSumJoin on
TaxSumRecId = RPayTaxEmplSum.RecIdZero or one RPayTaxEmplTrans record → exactly one RPayTaxEmplSum record
RpayTaxIncomeTable→RPayTaxIncomeTableJoin on
RpayTaxIncDedCode = RPayTaxIncomeTable.RpayTaxIncomeCode,RpayTaxType = RpayTaxType::IncomeOne 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.