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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PayPeriodCalculation period, used for Russia. | DateReportPeriod_RU | No | None | |
PaySheetNumNumber of the related payroll sheet. | StringRPaySheetNum | Yes | None | |
EmplIdThe employee the deposit belongs to. | String (20)RHRMEmplId | Yes | RHRMEmplTable.EmployeeId | None |
CashAccountCash account used for the payment. | String (20)RCashAccount | No | RCashTable.AccountNum | None |
CashJournalNumJournal batch number of the related ledger journal. | String (20)LedgerJournalId | No | LedgerJournalTable.JournalNum | None |
ClosedDateDate the deposit was paid. | DateTransDate | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DepositPeriodPeriod of the deposit. | DateRPayYearPeriod | No | None | |
DepositSumAmount of the deposit. | RealAmount | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayDepositNumNumber of the deposit. | StringRPayDepositNum | No | None | |
PayDepositTypeHow the deposit is paid: petty cash, payroll, against payroll or against profit. | EnumRPayDepositType (enum) | No | None | |
PayDocNumNumber of the related cash document. | String (20)DocumentNum | No | None | |
ProfitVoucherVoucher number for the profit posting. | String (20)Voucher | No | None | |
ProfitVoucherDateDate of the profit voucher. | DateTransDate | 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 | |
RefPaySheetTableRecIdSystem record ID of the related payroll sheet. | Int64RefRecId | No | RPaySheetTable.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VoucherVoucher number of the deposit. | String (20)Voucher | No | None | |
VoucherDateDate of the voucher. | DateTransDate | No | None |
Indexes (1)
PaySheetNumIdxPrimary indexPayPeriod,PaySheetNum,EmplIdUnique, alternate key.
Relations (6)
Each relation joins RPayDepositTable to another table on the fields shown.
LedgerJournalTable→LedgerJournalTableJoin on
CashJournalNum = LedgerJournalTable.JournalNumMany RPayDepositTable records → exactly one LedgerJournalTable record
RCashTable→RCashTableJoin on
CashAccount = RCashTable.AccountNumMany RPayDepositTable records → exactly one RCashTable record
RCashTrans→RCashTransJoin on
RCashTrans.DocType = RCashDocType::DisbursementSlip,PayDepositType = RPayDepositType::PettyCash,CashAccount = RCashTrans.AccountNum,ClosedDate = RCashTrans.TransDate,PayDocNum = RCashTrans.DocIdMany RPayDepositTable records → exactly one RCashTrans record
RHRMEmplTable→RHRMEmplTableJoin on
EmplId = RHRMEmplTable.EmployeeIdMany RPayDepositTable records → exactly one RHRMEmplTable record
RPaySheetTable→RPaySheetTableJoin on
RefPaySheetTableRecId = RPaySheetTable.RecIdMany RPayDepositTable records → exactly one RPaySheetTable record
RPaySheetTable_Num→RPaySheetTableJoin on
PaySheetNum = RPaySheetTable.PaySheetNumMany 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.