Table

RPayJournalTable

Payroll journal

Holds payroll journal headers, identified by a journal number. Each header has an amount, line count, posting status, the user and time of posting, and the session details. It links to journal names, resolutions, users and user groups.

Table name
RPayJournalTable
Module
Obsolete
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
RPayroll
Primary index
NumIdx
Replacement key
None
Key fields
JournalId
Model
Foundation

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalIdNumber that identifies the journal.String (20)
RPayJournalNum
YesNone
AmountTotal amount of the journal.Real
RPayAmount
NoNone
BlockUserGroupIdUser group the journal is private to. It points to the user group table.String
JournalBlockUserGroupId
NoUserGroupInfo.idNone
BlockUserIdUser the journal is private to. It relates to the user table.String
JournalBlockUserId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeletePostedLinesYes or No flag showing whether lines are deleted after posting.Enum
JournalDeletePostedLines
NoYes (enum)
NoNone
DescriptionText describing the journal.String (60)
JournalDescription
NoNone
JournalIdOriginalNumber of the original journal. It points to another row in this table.String (20)
RPayJournalIdOriginal
NoRPayJournalTable.JournalIdNone
JournalNameIdJournal setup the journal uses. It points to the payroll journal setup table.String
RPayJournalNameId
YesRPayJournalName.JournalNameIdNone
journalTypeType of payroll journal. Only the value None is listed.Enum
RPayJournalType (enum)
NoNone
NumOfLinesNumber of lines in the journal.Integer
JournalNumOfLines
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostedYes or No flag showing whether the journal is posted.Enum
JournalPosted
NoYes (enum)
NoNone
PostedDateTimeDate and time at which the journal was posted.UtcDateTime
JournalPostedDateTime
NoNone
PostedUserIdUser who posted the journal. It relates to the user table.String
JournalPostedUserId
NoNone
RatePerEmplYes or No flag showing whether a rate value is used for each employee.Enum
RPayRatePerEmpl
NoYes (enum)
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
RHRMOrderTableResolution linked to the journal, by system record ID.Int64
RefRecId
NoRHRMOrderTable.RecIdNone
SessionIdNumber of the session in which the journal was handled.Integer
JournalSessionId
NoNone
SessionLoginDateDate of the logon session.Date
TransDate
NoNone
SessionLoginDateTimeDate and time of the logon.UtcDateTime
JournalSessionLoginDateTime
NoNone
SessionLoginTimeTime of day of the logon session. No label is given.low confidenceTime
TimeOfDay
NoNone
SystemBlockedYes or No flag showing whether the system has locked the journal.Enum
JournalSystemBlocked
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (7)

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

  • BonusOrder_FK → RHRMOrderTable

    Join on RHRMOrderTable.JournalType = RHRMJournalType::Bonus, RHRMOrderTable.Posted = 1, RHRMOrderTable = RHRMOrderTable.RecId

    Many RPayJournalTable records → zero or one RHRMOrderTable record

  • JournalError → JournalError

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

    Cardinality not set in the metadata.

  • RPayJournalName → RPayJournalName

    Join on JournalNameId = RPayJournalName.JournalNameId

    Many RPayJournalTable records → exactly one RPayJournalName record

  • RPayOrderTable_JournalIdOriginal → RPayJournalTable

    Join on JournalIdOriginal = RPayJournalTable.JournalId

    Many RPayJournalTable records → zero or one RPayJournalTable record

  • UserGroupInfo → UserGroupInfo

    Join on BlockUserGroupId = UserGroupInfo.id

    Many RPayJournalTable records → zero or one UserGroupInfo record

  • UserInfo_BlockUserId → UserInfo

    Join on BlockUserId = UserInfo.id

    Many RPayJournalTable records → zero or one UserInfo record

  • UserInfo_PostedUserId → UserInfo

    Join on PostedUserId = UserInfo.id

    Many RPayJournalTable records → zero or one UserInfo record

Get this data out

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

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

Email sales@drdynamics.co.uk