Table

RPayHistory

Employee’s events history

Records the history of events for an employee, such as recruiting, transfer or dismissal. Each row has a start and end date, an event type, and the position, department, grade and category involved. It links to employees, titles, organisation units, resolutions and reason codes.

Table name
RPayHistory
Module
Obsolete
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
RPayHRMCommon
Primary index
TypeNumDatIdx
Replacement key
TypeNumDatIdx
Key fields
Number, StartDate, operationType, EndDate, TransferWithoutTermChanges
Model
Foundation

Fields (35)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
NumberEmployee the history row belongs to. It points to the employee table.String (20)
RHRMEmplId
YesRHRMEmplTable.EmployeeIdNone
StartDateDate on which the event or period starts.Date
StartDate
YesNone
operationTypeType of event, such as recruiting, transfer, dismissal, bonus, vacation or business trip.Enum
RHRMJournalType (enum)
NoNone
EndDateDate on which the event or period ends.Date
EndDate
NoNone
TransferWithoutTermChangesYes or No flag showing whether the position's salary changes on a transfer.Enum
RHRMStaffWageChangeTransfer
NoYes (enum)
NoNone
attachDocDateDate of the document attached to the event.Date
DocumentDate
NoNone
attachDocNumNumber of the accompanying document.String (20)
DocumentNum
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
del_hrmPositionIdPosition code held in an older field. The 'del_' prefix suggests it is no longer used.low confidenceString (30)
RHRMPositionId
NoNone
del_LastPositionIdPrevious position code held in an older field. The 'del_' prefix suggests it is no longer used.low confidenceString (30)
RHRMPositionId
NoNone
GradeIdGrade number assigned to the employee.Integer
RHRMGradeId
NoNone
GradeScaleIdCode of the grade scale. It points to the table of scale names.String
RHRMGradeScaleId
NoRHRMGradeScaleName.GradeScaleIdNone
HcmTitlePosition (title) the employee holds. It points to the titles table by system record ID.Int64
RHRMTitleRecId
NoHcmTitle.RecIdNone
HistTypeType of history record. The values are System, History or Employment.Enum
RPayHistType (enum)
NoNone
hrmKindOfWorkKind of work: permanent, temporary, for a specific term or seasonal.Enum
RHRMKindOfWork (enum)
NoNone
hrmOrderDateDate of the document (resolution) behind the event.Date
DocumentDate
NoNone
hrmOrderNumNumber of the resolution behind the event. It relates to the resolutions table.String
RHRMOrderNum
NoNone
hrmOrganizationIdCode of the department concerned. It points to the organisation table.String
RHRMOrganizationAll
NoRPayHRMOrganization.hrmOrganizationIdNone
hrmReasonCodeIdCode giving the reason for the event. It relates to the reason codes table.String
RHRMReasonCodeId
NoNone
HRMStaffListRefRecIdReference to a line of the organisational chart (staff list), by system record ID.Int64
RHRMStaffListRefRecId
NoRHRMStaffList.RecIdNone
LastOrganizationIdCode of the previous department. It points to the organisation table.String
RHRMOrganizationAll
NoRPayHRMOrganization.hrmOrganizationIdNone
LastStaffListRefRecIdReference to the previous line of the organisational chart, by system record ID.Int64
RHRMStaffListRefRecId
NoRHRMStaffList.RecIdNone
LastTitlePrevious position (title), by system record ID in the titles table.Int64
RefRecId
NoHcmTitle.RecIdNone
LastTradeCategoryPrevious trade class or category. It relates to the trade category table.String (15)
RHRMTradeCategoryId
NoNone
monthProbationLength of the trial period, as a number.Real
RHRMEmploymentMonthProbation
NoNone
OrderTransRecIdReference to a line of a resolution, by system record ID.Int64
RefRecId
NoRHRMOrderTrans.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
reasonFree-text reason for the event.String (200)
RHRMReason
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
tradeCategoryClass or category of the trade for the employee. It points to the trade category table.String (15)
RHRMTradeCategoryId
NoNone
transferTypeKind of transfer. The values are Permanent or Temporary.Enum
RHRMTransferType (enum)
NoNone
TransTimeTime of day linked to the record. No label is given.low confidenceTime
TimeOfDay
NoNone

Indexes (1)

Relations (13)

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

  • HcmTitle → HcmTitle

    Join on HcmTitle = HcmTitle.RecId

    Many RPayHistory records → zero or one HcmTitle record

  • LastHcmTitle → HcmTitle

    Join on LastTitle = HcmTitle.RecId

    Many RPayHistory records → zero or one HcmTitle record

  • RHRMEmplTable → RHRMEmplTable

    Join on Number = RHRMEmplTable.EmployeeId

    One or more RPayHistory records → exactly one RHRMEmplTable record

  • RHRMGradeScaleName → RHRMGradeScaleName

    Join on GradeScaleId = RHRMGradeScaleName.GradeScaleId

    Many RPayHistory records → exactly one RHRMGradeScaleName record

  • RHRMOrderNum → RHRMOrderTable

    Join on hrmOrderNum = RHRMOrderTable.OrderNum

    Many RPayHistory records → exactly one RHRMOrderTable record

  • RHRMOrderTrans → RHRMOrderTrans

    Join on OrderTransRecId = RHRMOrderTrans.RecId

    Many RPayHistory records → exactly one RHRMOrderTrans record

  • RHRMReasonCode → RHRMReasonCode

    Join on hrmReasonCodeId = RHRMReasonCode.ReasonCodeId

    Many RPayHistory records → exactly one RHRMReasonCode record

  • RHRMStaffList → RHRMStaffList

    Join on HRMStaffListRefRecId = RHRMStaffList.RecId

    Many RPayHistory records → zero or one RHRMStaffList record

  • RHRMStaffList_Last → RHRMStaffList

    Join on LastStaffListRefRecId = RHRMStaffList.RecId

    Many RPayHistory records → zero or one RHRMStaffList record

  • RHRMTradeCategory → RHRMTradeCategory

    Join on tradeCategory = RHRMTradeCategory.TradeCategoryId

    Many RPayHistory records → exactly one RHRMTradeCategory record

  • RHRMTradeCategory_Last → RHRMTradeCategory

    Join on LastTradeCategory = RHRMTradeCategory.TradeCategoryId

    Many RPayHistory records → exactly one RHRMTradeCategory record

  • RPayHRMOrganization → RPayHRMOrganization

    Join on hrmOrganizationId = RPayHRMOrganization.hrmOrganizationId

    Many RPayHistory records → exactly one RPayHRMOrganization record

  • RPayHRMOrganization_Last → RPayHRMOrganization

    Join on LastOrganizationId = RPayHRMOrganization.hrmOrganizationId

    Many RPayHistory records → exactly one RPayHRMOrganization record

Get this data out

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

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

Email sales@drdynamics.co.uk