Table

RPayJournalTrans

Payroll journal lines

Holds the lines of payroll journals. The key is the journal number plus the line number. Each line is for an employee or a group, a pay type, a date, and a quantity, rate and amount.

Table name
RPayJournalTrans
Module
Obsolete
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
RPayroll
Primary index
LineNumIdx
Replacement key
LineNumIdx
Key fields
JournalId, LineNum
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalIdJournal the line belongs to. It points to the payroll journal table.String (20)
RPayJournalNum
YesRPayJournalTable.JournalIdNone
LineNumNumber of the line within the journal.Real
LineNum
NoNone
AmountAmount on the line.Real
RPayAmount
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndDateLast date the line applies to.Date
BaseDate
NoNone
FamilyRecIdRelative linked to the line, by system record ID in the relatives table.Int64
RHRMFamilyRecId
NoRHRMVirtualNetworkFamily.RecIdNone
NumberCode of the employee or payroll group. It points to the employee table or the payroll groups table.String (20)
RPayEmplGroup
YesRHRMEmplTable.EmployeeIdRPayGroupTable.PayGroupNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayCtypePay type used on the line. It points to the pay types table.String
RPayCostType
YesRPayTable.PayCtypeNone
PercentYes or No flag. The label is Percent, so it probably shows whether the rate is a percentage.low confidenceEnum
NoYes (enum)
NoNone
QtyQuantity on the line.Real
RPayQty
NoNone
RateRate used on the line.Real
RPayRate
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the line.Date
JournalTransDate
NoNone
TransTypeLine type. The values are Employee or Group.Enum
RPayTypeString (enum)
NoNone
TxtText description of the line.String (60)
TransTxt
NoNone

Indexes (2)

Relations (6)

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

  • JournalError → JournalError

    Join on JournalError.RefTableId = 101959, LineNum = JournalError.LineNum, JournalId = JournalError.JournalId

    Many RPayJournalTrans records → zero or one JournalError record

  • PayGroupTable → RPayGroupTable

    Join on TransType = RPayTypeString::GroupEmpl, Number = RPayGroupTable.PayGroup

    Many RPayJournalTrans records → zero or one RPayGroupTable record

  • RHRMEmplTable → RHRMEmplTable

    Join on TransType = RPayTypeString::Employee, Number = RHRMEmplTable.EmployeeId

    Many RPayJournalTrans records → zero or one RHRMEmplTable record

  • RHRMVirtualNetworkFamily → RHRMVirtualNetworkFamily

    Join on FamilyRecId = RHRMVirtualNetworkFamily.RecId

    Many RPayJournalTrans records → zero or one RHRMVirtualNetworkFamily record

  • RPayJournalTable_JournalId → RPayJournalTable

    Join on JournalId = RPayJournalTable.JournalId

    Many RPayJournalTrans records → exactly one RPayJournalTable record

  • RPayTable → RPayTable

    Join on PayCtype = RPayTable.PayCtype

    One or more RPayJournalTrans records → exactly one RPayTable record

Get this data out

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

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

Email sales@drdynamics.co.uk