Table
RPayTaxTransOpen
Open NDFL transactions
Holds open NDFL (personal income tax) transactions. Each line has an amount, an employee, a tax authority vendor, a budget revenue code and a settled amount. A closed flag and a source type show where it came from and whether it is finished. It has no defined key.
- Table name
RPayTaxTransOpen- Module
Obsolete- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
RPayTax- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AmountAmount of the transaction. | RealRPayAmount | No | None | |
BranchIdID of the separate division. It points to a separate division record. | String (20)BranchId_RU | No | Branches_RU.BranchId | None |
BudgetReceiptClassCodeBudget revenue code. It points to the budget revenue classification. | String (26)PaymentOrderBudgetReceiptClassCode_RU | No | PaymentOrderBudgetReceiptClassTable_RU.PaymentOrderBudgetReceiptClassCode | None |
ClosedYes/No flag that shows whether the transaction is closed. | EnumNoYesIdNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EmplIdEmployee. It points to the employee record. | String (20)RHRMEmplId | No | RHRMEmplTable.EmployeeId | 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 | |
RefRecIdSystem record ID of the source record. It relates to the registry of payment orders. | Int64RefRecId | No | None | |
RefTableIdID of the table that the source record belongs to. | IntegerRefTableId | No | None | |
SettleAmountAmount that has been settled. | RealRPayAmount | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxSourceTypeDetailed origin: payment to tax authority, tax for refund, interim pay-sheet or income tax. | EnumRPayTaxSourceType (enum) | No | None | |
TaxVendorTax authority, as a vendor account. It points to a vendor record. | String (20)VendAccount | No | VendTable.AccountNum | None |
TransDateDate of the transaction. | DateTransDate | No | None |
Indexes (3)
RefTableRecIdxNot unique.
BudgetClassCodeIdxNot unique.
EmplDateIdxNot unique.
Relations (8)
Each relation joins RPayTaxTransOpen to another table on the fields shown.
BankPaymentOrderJour_RU→BankPaymentOrderJour_RUJoin on
TaxSourceType = RPayTaxSourceType::TaxPayment,RefTableId = BankPaymentOrderJour_RU.TableId,RefRecId = BankPaymentOrderJour_RU.RecIdMany RPayTaxTransOpen records → zero or one BankPaymentOrderJour_RU record
Branches_RU→Branches_RUJoin on
BranchId = Branches_RU.BranchIdMany RPayTaxTransOpen records → zero or one Branches_RU record
PaymentOrderBudgetReceiptClassTable_RU→PaymentOrderBudgetReceiptClassTable_RUJoin on
BudgetReceiptClassCode = PaymentOrderBudgetReceiptClassTable_RU.PaymentOrderBudgetReceiptClassCodeMany RPayTaxTransOpen records → zero or one PaymentOrderBudgetReceiptClassTable_RU record
RHRMEmplTable→RHRMEmplTableJoin on
EmplId = RHRMEmplTable.EmployeeIdMany RPayTaxTransOpen records → zero or one RHRMEmplTable record
RPaySheetTrans→RPaySheetTransJoin on
TaxSourceType = RPayTaxSourceType::InterimSheet,RefTableId = RPaySheetTrans.TableId,RefRecId = RPaySheetTrans.RecIdMany RPayTaxTransOpen records → zero or one RPaySheetTrans record
RPayTrans_Tax→RPayTransJoin on
TaxSourceType = RPayTaxSourceType::IncomeTax,RefTableId = RPayTrans.TableId,RefRecId = RPayTrans.RecId,RPayTrans.TaxRedemption = nullMany RPayTaxTransOpen records → zero or one RPayTrans record
RPayTrans_TaxRefund→RPayTransJoin on
TaxSourceType = RPayTaxSourceType::TaxRedemption,RefTableId = RPayTrans.TableId,RefRecId = RPayTrans.RecId,RPayTrans.TaxRedemption = 1Many RPayTaxTransOpen records → zero or one RPayTrans record
VendTable→VendTableJoin on
TaxVendor = VendTable.AccountNumMany RPayTaxTransOpen records → zero or one VendTable record
Get this data out
No public entity reads from RPayTaxTransOpen. Its data is only reachable through the application, a custom entity or a database export.
Need help with RPayTaxTransOpen in a report, an integration or a migration? Talk to Dr Dynamics.