Table

RPayDepositTable

Deposits

Holds deposits, which are amounts linked to an employee and a payroll sheet. It records the deposit type, the amount, and the cash and voucher details. The key is the calculation period, payroll number and employee.

Table name
RPayDepositTable
Module
Obsolete
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
RPayroll
Primary index
PaySheetNumIdx
Replacement key
None
Key fields
PayPeriod, PaySheetNum, EmplId
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PayPeriodCalculation period, used for Russia.Date
ReportPeriod_RU
NoNone
PaySheetNumNumber of the related payroll sheet.String
RPaySheetNum
YesNone
EmplIdThe employee the deposit belongs to.String (20)
RHRMEmplId
YesRHRMEmplTable.EmployeeIdNone
CashAccountCash account used for the payment.String (20)
RCashAccount
NoRCashTable.AccountNumNone
CashJournalNumJournal batch number of the related ledger journal.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumNone
ClosedDateDate the deposit was paid.Date
TransDate
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DepositPeriodPeriod of the deposit.Date
RPayYearPeriod
NoNone
DepositSumAmount of the deposit.Real
Amount
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayDepositNumNumber of the deposit.String
RPayDepositNum
NoNone
PayDepositTypeHow the deposit is paid: petty cash, payroll, against payroll or against profit.Enum
RPayDepositType (enum)
NoNone
PayDocNumNumber of the related cash document.String (20)
DocumentNum
NoNone
ProfitVoucherVoucher number for the profit posting.String (20)
Voucher
NoNone
ProfitVoucherDateDate of the profit voucher.Date
TransDate
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
RefPaySheetTableRecIdSystem record ID of the related payroll sheet.Int64
RefRecId
NoRPaySheetTable.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VoucherVoucher number of the deposit.String (20)
Voucher
NoNone
VoucherDateDate of the voucher.Date
TransDate
NoNone

Indexes (1)

Relations (6)

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

  • LedgerJournalTable → LedgerJournalTable

    Join on CashJournalNum = LedgerJournalTable.JournalNum

    Many RPayDepositTable records → exactly one LedgerJournalTable record

  • RCashTable → RCashTable

    Join on CashAccount = RCashTable.AccountNum

    Many RPayDepositTable records → exactly one RCashTable record

  • RCashTrans → RCashTrans

    Join on RCashTrans.DocType = RCashDocType::DisbursementSlip, PayDepositType = RPayDepositType::PettyCash, CashAccount = RCashTrans.AccountNum, ClosedDate = RCashTrans.TransDate, PayDocNum = RCashTrans.DocId

    Many RPayDepositTable records → exactly one RCashTrans record

  • RHRMEmplTable → RHRMEmplTable

    Join on EmplId = RHRMEmplTable.EmployeeId

    Many RPayDepositTable records → exactly one RHRMEmplTable record

  • RPaySheetTable → RPaySheetTable

    Join on RefPaySheetTableRecId = RPaySheetTable.RecId

    Many RPayDepositTable records → exactly one RPaySheetTable record

  • RPaySheetTable_Num → RPaySheetTable

    Join on PaySheetNum = RPaySheetTable.PaySheetNum

    Many RPayDepositTable records → exactly one RPaySheetTable record

Get this data out

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

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

Email sales@drdynamics.co.uk