Table
RHRMOrderTable
Resolutions
Holds resolution headers for staff administration, one record for each journal (key JournalId). Each has a journal type, a date, a reason and a posting status. Business trip details and links to a bonus code, document code and payroll journal are also stored.
- Table name
RHRMOrderTable- Module
Obsolete- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
RHRM- Primary index
JournalIdx- Replacement key
JournalIdx- Key fields
JournalId- Model
Foundation
Fields (32)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
JournalIdNumber that identifies the journal. It is the key of this table. | String (20)RHRMJournalNum | Yes | None | |
AttachDocDateDate of the attached document. | DateDocumentDate | No | None | |
AttachDocNumNumber of the accompanying document. | String (20)DocumentNum | No | None | |
BlockUserGroupIdUser group for which the journal is private. It points to the user group information table. | StringJournalBlockUserGroupId | No | UserGroupInfo.id | None |
BlockUserIdUser for whom the journal is private. | StringJournalBlockUserId | No | None | |
BonusCodeCode of the bonus type. It points to the bonus types table. | StringRHRMBonusCodeId | No | RHRMBonusCode.BonusCodeId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeletePostedLinesYes/No flag for deleting lines after posting. | EnumJournalDeletePostedLinesNoYes (enum) | No | None | |
DescriptionText describing the journal. | String (60)JournalDescription | No | None | |
DocArgCodeCode of the document the resolution is based on. It points to the document-arguments table. | StringRHRMDocArgCode | No | RHRMDocArg.DocArgCode | None |
JournalIdOriginalNumber of the original journal, which points to another resolution. | String (20)RHRMJournalIdOriginal | No | None | |
JournalNameIdName of the journal. It points to the staff administration journal names table. | StringRHRMJournalNameId | Yes | RHRMOrderName.JournalNameId | None |
JournalTypeKind of staff journal, such as recruiting, transfer, dismissal, bonus or vacation. | EnumRHRMJournalType (enum) | No | None | |
MotiveFree text giving the motive for the resolution. | String (200)RHRMReason | No | None | |
NumOfLinesNumber of lines in the journal. | IntegerJournalNumOfLines | No | None | |
OrderNumNumber of the resolution. It relates to the employee events history. | StringRHRMOrderNum | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayJournalNumNumber of the related payroll journal. It points to the payroll journal table. | String (20)RPayJournalNum | No | RPayJournalTable.JournalId | None |
PostedYes/No flag showing whether the journal is posted. | EnumJournalPostedNoYes (enum) | No | None | |
PostedDateTimeDate and time when the journal was posted. | UtcDateTimeJournalPostedDateTime | No | None | |
PostedUserIdUser who posted the journal. | StringJournalPostedUserId | No | None | |
ReasonFree text giving the reason for the resolution. | 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 | |
SessionIdID of the session linked to the journal. | IntegerJournalSessionId | No | None | |
SessionLoginDateTimeLogon time of the session linked to the journal. | UtcDateTimeJournalSessionLoginDateTime | No | None | |
StaffWageChangeTransferYes/No flag showing that a transfer changes the salary of the position. | EnumRHRMStaffWageChangeTransferNoYes (enum) | No | None | |
SystemBlockedYes/No flag showing that the system has locked the journal. | EnumJournalSystemBlockedNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateDate of the resolution. It relates to the employee events history. | DateRHRMOrderDate | Yes | None | |
TripLocationLocation of a business trip. It points to a record in the locations table. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | None |
TripOrganizationName of the organization visited on a business trip. | String (50)RHRMBusinessTrip | No | None |
Indexes (2)
OrderNumIdxOrderNum,JournalType,TransDateNot unique.
JournalIdxPrimary indexReplacement keyUnique, alternate key.
Relations (13)
Each relation joins RHRMOrderTable to another table on the fields shown.
JournalError→JournalErrorJoin on
JournalError.RefTableId = 16237,JournalId = JournalError.JournalIdExactly one RHRMOrderTable record → zero or one JournalError record
LogisticsLocation→LogisticsLocationJoin on
TripLocation = LogisticsLocation.RecIdMany RHRMOrderTable records → zero or one LogisticsLocation record
RHRMBonusCode→RHRMBonusCodeJoin on
BonusCode = RHRMBonusCode.BonusCodeIdMany RHRMOrderTable records → exactly one RHRMBonusCode record
RHRMDocArg→RHRMDocArgJoin on
DocArgCode = RHRMDocArg.DocArgCodeMany RHRMOrderTable records → exactly one RHRMDocArg record
RHRMOrderName→RHRMOrderNameJoin on
JournalNameId = RHRMOrderName.JournalNameIdOne or more RHRMOrderTable records → exactly one RHRMOrderName record
RHRMOrderTable_JournalIdOriginal→RHRMOrderTableJoin on
JournalIdOriginal = RHRMOrderTable.OrderNumMany RHRMOrderTable records → zero or one RHRMOrderTable record
RPayHistoryDismiss→RPayHistoryJoin on
RPayHistory.operationType = RHRMJournalType::Dismiss,JournalType = RHRMJournalType::Dismiss,OrderNum = RPayHistory.hrmOrderNum,TransDate = RPayHistory.hrmOrderDateMany RHRMOrderTable records → zero or one RPayHistory record
RPayHistoryMove→RPayHistoryJoin on
RPayHistory.operationType = RHRMJournalType::Transfer,JournalType = RHRMJournalType::Transfer,OrderNum = RPayHistory.hrmOrderNum,TransDate = RPayHistory.hrmOrderDateMany RHRMOrderTable records → zero or one RPayHistory record
RPayHistoryReceive→RPayHistoryJoin on
RPayHistory.operationType = RHRMJournalType::Receive,JournalType = RHRMJournalType::Receive,TransDate = RPayHistory.hrmOrderDate,OrderNum = RPayHistory.hrmOrderNumMany RHRMOrderTable records → zero or one RPayHistory record
RPayJournal→RPayJournalTableJoin on
PayJournalNum = RPayJournalTable.JournalIdZero or one RHRMOrderTable record → exactly one RPayJournalTable record
UserGroupInfo→UserGroupInfoJoin on
BlockUserGroupId = UserGroupInfo.idMany RHRMOrderTable records → zero or one UserGroupInfo record
UserInfo_BlockUserId→UserInfoJoin on
BlockUserId = UserInfo.idMany RHRMOrderTable records → exactly one UserInfo record
UserInfo_PostedUserId→UserInfoJoin on
PostedUserId = UserInfo.idMany RHRMOrderTable records → exactly one UserInfo record
Get this data out
No public entity reads from RHRMOrderTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with RHRMOrderTable in a report, an integration or a migration? Talk to Dr Dynamics.