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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
NumberEmployee the history row belongs to. It points to the employee table. | String (20)RHRMEmplId | Yes | RHRMEmplTable.EmployeeId | None |
StartDateDate on which the event or period starts. | DateStartDate | Yes | None | |
operationTypeType of event, such as recruiting, transfer, dismissal, bonus, vacation or business trip. | EnumRHRMJournalType (enum) | No | None | |
EndDateDate on which the event or period ends. | DateEndDate | No | None | |
TransferWithoutTermChangesYes or No flag showing whether the position's salary changes on a transfer. | EnumRHRMStaffWageChangeTransferNoYes (enum) | No | None | |
attachDocDateDate of the document attached to the event. | DateDocumentDate | No | None | |
attachDocNumNumber of the accompanying document. | String (20)DocumentNum | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
del_hrmPositionIdPosition code held in an older field. The 'del_' prefix suggests it is no longer used.low confidence | String (30)RHRMPositionId | No | None | |
del_LastPositionIdPrevious position code held in an older field. The 'del_' prefix suggests it is no longer used.low confidence | String (30)RHRMPositionId | No | None | |
GradeIdGrade number assigned to the employee. | IntegerRHRMGradeId | No | None | |
GradeScaleIdCode of the grade scale. It points to the table of scale names. | StringRHRMGradeScaleId | No | RHRMGradeScaleName.GradeScaleId | None |
HcmTitlePosition (title) the employee holds. It points to the titles table by system record ID. | Int64RHRMTitleRecId | No | HcmTitle.RecId | None |
HistTypeType of history record. The values are System, History or Employment. | EnumRPayHistType (enum) | No | None | |
hrmKindOfWorkKind of work: permanent, temporary, for a specific term or seasonal. | EnumRHRMKindOfWork (enum) | No | None | |
hrmOrderDateDate of the document (resolution) behind the event. | DateDocumentDate | No | None | |
hrmOrderNumNumber of the resolution behind the event. It relates to the resolutions table. | StringRHRMOrderNum | No | None | |
hrmOrganizationIdCode of the department concerned. It points to the organisation table. | StringRHRMOrganizationAll | No | RPayHRMOrganization.hrmOrganizationId | None |
hrmReasonCodeIdCode giving the reason for the event. It relates to the reason codes table. | StringRHRMReasonCodeId | No | None | |
HRMStaffListRefRecIdReference to a line of the organisational chart (staff list), by system record ID. | Int64RHRMStaffListRefRecId | No | RHRMStaffList.RecId | None |
LastOrganizationIdCode of the previous department. It points to the organisation table. | StringRHRMOrganizationAll | No | RPayHRMOrganization.hrmOrganizationId | None |
LastStaffListRefRecIdReference to the previous line of the organisational chart, by system record ID. | Int64RHRMStaffListRefRecId | No | RHRMStaffList.RecId | None |
LastTitlePrevious position (title), by system record ID in the titles table. | Int64RefRecId | No | HcmTitle.RecId | None |
LastTradeCategoryPrevious trade class or category. It relates to the trade category table. | String (15)RHRMTradeCategoryId | No | None | |
monthProbationLength of the trial period, as a number. | RealRHRMEmploymentMonthProbation | No | None | |
OrderTransRecIdReference to a line of a resolution, by system record ID. | Int64RefRecId | No | RHRMOrderTrans.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
reasonFree-text reason for the event. | String (200)RHRMReason | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
tradeCategoryClass or category of the trade for the employee. It points to the trade category table. | String (15)RHRMTradeCategoryId | No | None | |
transferTypeKind of transfer. The values are Permanent or Temporary. | EnumRHRMTransferType (enum) | No | None | |
TransTimeTime of day linked to the record. No label is given.low confidence | TimeTimeOfDay | No | None |
Indexes (1)
TypeNumDatIdxPrimary indexReplacement keyNumber,StartDate,operationType,EndDate,TransferWithoutTermChangesUnique, alternate key.
Relations (13)
Each relation joins RPayHistory to another table on the fields shown.
HcmTitle→HcmTitleJoin on
HcmTitle = HcmTitle.RecIdMany RPayHistory records → zero or one HcmTitle record
LastHcmTitle→HcmTitleJoin on
LastTitle = HcmTitle.RecIdMany RPayHistory records → zero or one HcmTitle record
RHRMEmplTable→RHRMEmplTableJoin on
Number = RHRMEmplTable.EmployeeIdOne or more RPayHistory records → exactly one RHRMEmplTable record
RHRMGradeScaleName→RHRMGradeScaleNameJoin on
GradeScaleId = RHRMGradeScaleName.GradeScaleIdMany RPayHistory records → exactly one RHRMGradeScaleName record
RHRMOrderNum→RHRMOrderTableJoin on
hrmOrderNum = RHRMOrderTable.OrderNumMany RPayHistory records → exactly one RHRMOrderTable record
RHRMOrderTrans→RHRMOrderTransJoin on
OrderTransRecId = RHRMOrderTrans.RecIdMany RPayHistory records → exactly one RHRMOrderTrans record
RHRMReasonCode→RHRMReasonCodeJoin on
hrmReasonCodeId = RHRMReasonCode.ReasonCodeIdMany RPayHistory records → exactly one RHRMReasonCode record
RHRMStaffList→RHRMStaffListJoin on
HRMStaffListRefRecId = RHRMStaffList.RecIdMany RPayHistory records → zero or one RHRMStaffList record
RHRMStaffList_Last→RHRMStaffListJoin on
LastStaffListRefRecId = RHRMStaffList.RecIdMany RPayHistory records → zero or one RHRMStaffList record
RHRMTradeCategory→RHRMTradeCategoryJoin on
tradeCategory = RHRMTradeCategory.TradeCategoryIdMany RPayHistory records → exactly one RHRMTradeCategory record
RHRMTradeCategory_Last→RHRMTradeCategoryJoin on
LastTradeCategory = RHRMTradeCategory.TradeCategoryIdMany RPayHistory records → exactly one RHRMTradeCategory record
RPayHRMOrganization→RPayHRMOrganizationJoin on
hrmOrganizationId = RPayHRMOrganization.hrmOrganizationIdMany RPayHistory records → exactly one RPayHRMOrganization record
RPayHRMOrganization_Last→RPayHRMOrganizationJoin on
LastOrganizationId = RPayHRMOrganization.hrmOrganizationIdMany 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.