Table

RPaySheetTrans

Payroll lines

Holds the payroll lines of a pay-sheet, one per employee. Each line holds the amount, tax amount, and bank or deposit payment details. It links to the pay-sheet, an employee, a separate division and a budget revenue code. The key is the pay-sheet reference plus the employee.

Table name
RPaySheetTrans
Module
Obsolete
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
RPayroll
Primary index
EmplNumIdx
Replacement key
EmplNumIdx
Key fields
SheetTableRecId, Emplid
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SheetTableRecIdSystem record ID of the pay-sheet this line belongs to.Int64
RefRecId
NoRPaySheetTable.RecIdNone
EmplidEmployee the line is for.String (20)
RHRMEmplId
YesRHRMEmplTable.EmployeeIdNone
AmountAmount for the employee on the line; currency not stated in the metadata.Real
RPayAmount
NoNone
BankPaymentShows whether the line is paid by bank.Enum
NoYesId
NoYes (enum)
NoNone
BranchIdSeparate division linked to the line.String (20)
BranchId_RU
NoBranches_RU.BranchIdNone
BudgetReceiptClassCodeBudget revenue classification code for the line.String (26)
PaymentOrderBudgetReceiptClassCode_RU
NoPaymentOrderBudgetReceiptClassTable_RU.PaymentOrderBudgetReceiptClassCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DepositShows whether the line is paid as a deposit.Enum
NoYesId
NoYes (enum)
NoNone
EmplBankAccountIdEmployee bank account used for the payment.String
RHRMPersonBankAccountId
NoNone
JournalNumLedger journal batch number linked to the line.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayDateBankDate of the bank payment.Date
TransDate
NoNone
PayVoucherBankVoucher number for the bank payment.String (20)
Voucher
NoNone
PayVoucherDepositVoucher number for the deposit payment.String (20)
Voucher
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
SendToBankShows whether the line has been sent to the bank.Enum
NoYes (enum)
NoNone
SendToDepositShows whether the line has been sent to the deposit.Enum
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountTax amount on the line; currency not stated in the metadata.Real
RPayAmount
NoNone

Indexes (1)

Relations (6)

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

  • Branches_RU → Branches_RU

    Join on BranchId = Branches_RU.BranchId

    Many RPaySheetTrans records → exactly one Branches_RU record

  • LedgerJournalTable → LedgerJournalTable

    Join on JournalNum = LedgerJournalTable.JournalNum

    Many RPaySheetTrans records → exactly one LedgerJournalTable record

  • PaymentOrderBudgetReceiptClassTable_RU → PaymentOrderBudgetReceiptClassTable_RU

    Join on BudgetReceiptClassCode = PaymentOrderBudgetReceiptClassTable_RU.PaymentOrderBudgetReceiptClassCode

    Many RPaySheetTrans records → exactly one PaymentOrderBudgetReceiptClassTable_RU record

  • RHRMEmplTable → RHRMEmplTable

    Join on Emplid = RHRMEmplTable.EmployeeId

    Many RPaySheetTrans records → exactly one RHRMEmplTable record

  • RPaySheetTable → RPaySheetTable

    Join on SheetTableRecId = RPaySheetTable.RecId

    Exactly one RPaySheetTrans record → exactly one RPaySheetTable record

  • RPayTrans → RPayTrans

    Join on TableId = RPayTrans.SourceTableId, RecId = RPayTrans.SourceRecId

    Many RPaySheetTrans records → exactly one RPayTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk