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 descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalIdNumber that identifies the journal. It is the key of this table.String (20)
RHRMJournalNum
YesNone
AttachDocDateDate of the attached document.Date
DocumentDate
NoNone
AttachDocNumNumber of the accompanying document.String (20)
DocumentNum
NoNone
BlockUserGroupIdUser group for which the journal is private. It points to the user group information table.String
JournalBlockUserGroupId
NoUserGroupInfo.idNone
BlockUserIdUser for whom the journal is private.String
JournalBlockUserId
NoNone
BonusCodeCode of the bonus type. It points to the bonus types table.String
RHRMBonusCodeId
NoRHRMBonusCode.BonusCodeIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeletePostedLinesYes/No flag for deleting lines after posting.Enum
JournalDeletePostedLines
NoYes (enum)
NoNone
DescriptionText describing the journal.String (60)
JournalDescription
NoNone
DocArgCodeCode of the document the resolution is based on. It points to the document-arguments table.String
RHRMDocArgCode
NoRHRMDocArg.DocArgCodeNone
JournalIdOriginalNumber of the original journal, which points to another resolution.String (20)
RHRMJournalIdOriginal
NoNone
JournalNameIdName of the journal. It points to the staff administration journal names table.String
RHRMJournalNameId
YesRHRMOrderName.JournalNameIdNone
JournalTypeKind of staff journal, such as recruiting, transfer, dismissal, bonus or vacation.Enum
RHRMJournalType (enum)
NoNone
MotiveFree text giving the motive for the resolution.String (200)
RHRMReason
NoNone
NumOfLinesNumber of lines in the journal.Integer
JournalNumOfLines
NoNone
OrderNumNumber of the resolution. It relates to the employee events history.String
RHRMOrderNum
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayJournalNumNumber of the related payroll journal. It points to the payroll journal table.String (20)
RPayJournalNum
NoRPayJournalTable.JournalIdNone
PostedYes/No flag showing whether the journal is posted.Enum
JournalPosted
NoYes (enum)
NoNone
PostedDateTimeDate and time when the journal was posted.UtcDateTime
JournalPostedDateTime
NoNone
PostedUserIdUser who posted the journal.String
JournalPostedUserId
NoNone
ReasonFree text giving the reason for the resolution.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
SessionIdID of the session linked to the journal.Integer
JournalSessionId
NoNone
SessionLoginDateTimeLogon time of the session linked to the journal.UtcDateTime
JournalSessionLoginDateTime
NoNone
StaffWageChangeTransferYes/No flag showing that a transfer changes the salary of the position.Enum
RHRMStaffWageChangeTransfer
NoYes (enum)
NoNone
SystemBlockedYes/No flag showing that the system has locked the journal.Enum
JournalSystemBlocked
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the resolution. It relates to the employee events history.Date
RHRMOrderDate
YesNone
TripLocationLocation of a business trip. It points to a record in the locations table.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdNone
TripOrganizationName of the organization visited on a business trip.String (50)
RHRMBusinessTrip
NoNone

Indexes (2)

Relations (13)

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

  • JournalError → JournalError

    Join on JournalError.RefTableId = 16237, JournalId = JournalError.JournalId

    Exactly one RHRMOrderTable record → zero or one JournalError record

  • LogisticsLocation → LogisticsLocation

    Join on TripLocation = LogisticsLocation.RecId

    Many RHRMOrderTable records → zero or one LogisticsLocation record

  • RHRMBonusCode → RHRMBonusCode

    Join on BonusCode = RHRMBonusCode.BonusCodeId

    Many RHRMOrderTable records → exactly one RHRMBonusCode record

  • RHRMDocArg → RHRMDocArg

    Join on DocArgCode = RHRMDocArg.DocArgCode

    Many RHRMOrderTable records → exactly one RHRMDocArg record

  • RHRMOrderName → RHRMOrderName

    Join on JournalNameId = RHRMOrderName.JournalNameId

    One or more RHRMOrderTable records → exactly one RHRMOrderName record

  • RHRMOrderTable_JournalIdOriginal → RHRMOrderTable

    Join on JournalIdOriginal = RHRMOrderTable.OrderNum

    Many RHRMOrderTable records → zero or one RHRMOrderTable record

  • RPayHistoryDismiss → RPayHistory

    Join on RPayHistory.operationType = RHRMJournalType::Dismiss, JournalType = RHRMJournalType::Dismiss, OrderNum = RPayHistory.hrmOrderNum, TransDate = RPayHistory.hrmOrderDate

    Many RHRMOrderTable records → zero or one RPayHistory record

  • RPayHistoryMove → RPayHistory

    Join on RPayHistory.operationType = RHRMJournalType::Transfer, JournalType = RHRMJournalType::Transfer, OrderNum = RPayHistory.hrmOrderNum, TransDate = RPayHistory.hrmOrderDate

    Many RHRMOrderTable records → zero or one RPayHistory record

  • RPayHistoryReceive → RPayHistory

    Join on RPayHistory.operationType = RHRMJournalType::Receive, JournalType = RHRMJournalType::Receive, TransDate = RPayHistory.hrmOrderDate, OrderNum = RPayHistory.hrmOrderNum

    Many RHRMOrderTable records → zero or one RPayHistory record

  • RPayJournal → RPayJournalTable

    Join on PayJournalNum = RPayJournalTable.JournalId

    Zero or one RHRMOrderTable record → exactly one RPayJournalTable record

  • UserGroupInfo → UserGroupInfo

    Join on BlockUserGroupId = UserGroupInfo.id

    Many RHRMOrderTable records → zero or one UserGroupInfo record

  • UserInfo_BlockUserId → UserInfo

    Join on BlockUserId = UserInfo.id

    Many RHRMOrderTable records → exactly one UserInfo record

  • UserInfo_PostedUserId → UserInfo

    Join on PostedUserId = UserInfo.id

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

Email sales@drdynamics.co.uk