Table
RPaySheetTable
Pay-sheets
Header record of a pay-sheet. It holds the payroll type, status, period, amounts and payment details by bank or cash. It can link to a bank account, cash account, ledger journals and a department. The key is the payroll number plus the calculation period.
- Table name
RPaySheetTable- Module
Obsolete- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
RPayroll- Primary index
SheetNumIdx- Replacement key
SheetNumIdx- Key fields
PaySheetNum, PayPeriod- Model
Foundation
Fields (27)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PaySheetNumNumber that identifies the pay-sheet. | StringRPaySheetNum | Yes | None | |
PayPeriodCalculation period of the pay-sheet. | DateReportPeriod_RU | No | None | |
BankAccountIdCompany bank account used for the payment. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | None |
BankJournalNumJournal batch number for the bank payment. | String (20)LedgerJournalId | No | LedgerJournalTable.JournalNum | None |
BankPaymentShows whether the payment is made through a bank. | EnumNoYes (enum) | No | None | |
BankPaymentOrderNumNumber of the bank payment order. | String (20)BankPaymentOrderBase_RU | No | None | |
BankPaymentTransDateDate of the bank payment order. | DateTransDate | No | None | |
CashAccountCash account used for the payment. | String (20)RCashAccount | No | RCashTable.AccountNum | None |
CashJournalNumJournal batch number for the cash payment. | String (20)LedgerJournalId | No | LedgerJournalTable.JournalNum | None |
CashOrderDateDate of the cash voucher. | DateTransDate | No | None | |
CashOrderNumNumber of the cash disbursement slip. | String (20)RCashDocId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DisbursedSumAmount that has been paid out; currency not stated in the metadata. | RealRPayAmount | No | None | |
HrmOrganisationIdDepartment the pay-sheet is for. | StringRpayHRMOrganizationId | No | RPayHRMOrganization.hrmOrganizationId | None |
NameShort description of the pay-sheet. | String (35)RPaySheetName | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaySheetDateFromStart date of the pay-sheet. | DateTransDate | No | None | |
PaySheetDateToExpiry date of the pay-sheet. | DateTransDate | No | None | |
PaySheetRoundRound-off value for the pay-sheet. | RealRpaySheetRound | No | None | |
PaySheetSostStatus of the pay-sheet: in process, for payment or paid. | EnumRPaySheetSost (enum) | No | None | |
PaySheetTypeKind of payroll, such as payroll, vacations, advance, interim or tax. | EnumRPaySheetType (enum) | No | None | |
PnYes/No flag labelled Withholding tax. | EnumNoYes (enum) | 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 | |
SumSheetTotal amount of the pay-sheet; currency not stated in the metadata. | RealRPayAmount | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateDate of the pay-sheet. | DateTransDate | No | None |
Indexes (3)
SheetNumIdxPrimary indexReplacement keyUnique, alternate key.
DateNumIdxUnique.
CashOrderIdxCashAccount,CashOrderNum,CashOrderDateNot unique.
Relations (6)
Each relation joins RPaySheetTable to another table on the fields shown.
BankAccountTable→BankAccountTableJoin on
BankAccountId = BankAccountTable.AccountIDMany RPaySheetTable records → exactly one BankAccountTable record
LedgerJournalTable_Bank→LedgerJournalTableJoin on
BankJournalNum = LedgerJournalTable.JournalNumMany RPaySheetTable records → exactly one LedgerJournalTable record
LedgerJournalTable_Cash→LedgerJournalTableJoin on
CashJournalNum = LedgerJournalTable.JournalNumMany RPaySheetTable records → exactly one LedgerJournalTable record
PaySheetTrans→RPaySheetTransJoin on
RecId = RPaySheetTrans.SheetTableRecIdMany RPaySheetTable records → exactly one RPaySheetTrans record
RCashTable→RCashTableJoin on
CashAccount = RCashTable.AccountNumMany RPaySheetTable records → exactly one RCashTable record
RPayHRMOrganization→RPayHRMOrganizationJoin on
HrmOrganisationId = RPayHRMOrganization.hrmOrganizationIdMany RPaySheetTable records → exactly one RPayHRMOrganization record
Get this data out
No public entity reads from RPaySheetTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with RPaySheetTable in a report, an integration or a migration? Talk to Dr Dynamics.