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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PaySheetNumNumber that identifies the pay-sheet.String
RPaySheetNum
YesNone
PayPeriodCalculation period of the pay-sheet.Date
ReportPeriod_RU
NoNone
BankAccountIdCompany bank account used for the payment.String
CompanyBankAccountId
NoBankAccountTable.AccountIDNone
BankJournalNumJournal batch number for the bank payment.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumNone
BankPaymentShows whether the payment is made through a bank.Enum
NoYes (enum)
NoNone
BankPaymentOrderNumNumber of the bank payment order.String (20)
BankPaymentOrderBase_RU
NoNone
BankPaymentTransDateDate of the bank payment order.Date
TransDate
NoNone
CashAccountCash account used for the payment.String (20)
RCashAccount
NoRCashTable.AccountNumNone
CashJournalNumJournal batch number for the cash payment.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumNone
CashOrderDateDate of the cash voucher.Date
TransDate
NoNone
CashOrderNumNumber of the cash disbursement slip.String (20)
RCashDocId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DisbursedSumAmount that has been paid out; currency not stated in the metadata.Real
RPayAmount
NoNone
HrmOrganisationIdDepartment the pay-sheet is for.String
RpayHRMOrganizationId
NoRPayHRMOrganization.hrmOrganizationIdNone
NameShort description of the pay-sheet.String (35)
RPaySheetName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaySheetDateFromStart date of the pay-sheet.Date
TransDate
NoNone
PaySheetDateToExpiry date of the pay-sheet.Date
TransDate
NoNone
PaySheetRoundRound-off value for the pay-sheet.Real
RpaySheetRound
NoNone
PaySheetSostStatus of the pay-sheet: in process, for payment or paid.Enum
RPaySheetSost (enum)
NoNone
PaySheetTypeKind of payroll, such as payroll, vacations, advance, interim or tax.Enum
RPaySheetType (enum)
NoNone
PnYes/No flag labelled Withholding tax.Enum
NoYes (enum)
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
SumSheetTotal amount of the pay-sheet; currency not stated in the metadata.Real
RPayAmount
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the pay-sheet.Date
TransDate
NoNone

Indexes (3)

Relations (6)

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

  • BankAccountTable → BankAccountTable

    Join on BankAccountId = BankAccountTable.AccountID

    Many RPaySheetTable records → exactly one BankAccountTable record

  • LedgerJournalTable_Bank → LedgerJournalTable

    Join on BankJournalNum = LedgerJournalTable.JournalNum

    Many RPaySheetTable records → exactly one LedgerJournalTable record

  • LedgerJournalTable_Cash → LedgerJournalTable

    Join on CashJournalNum = LedgerJournalTable.JournalNum

    Many RPaySheetTable records → exactly one LedgerJournalTable record

  • PaySheetTrans → RPaySheetTrans

    Join on RecId = RPaySheetTrans.SheetTableRecId

    Many RPaySheetTable records → exactly one RPaySheetTrans record

  • RCashTable → RCashTable

    Join on CashAccount = RCashTable.AccountNum

    Many RPaySheetTable records → exactly one RCashTable record

  • RPayHRMOrganization → RPayHRMOrganization

    Join on HrmOrganisationId = RPayHRMOrganization.hrmOrganizationId

    Many 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.

Email sales@drdynamics.co.uk