Table

PayrollPositionDetails

Payroll details for positions

Holds date-ranged payroll details for a position. It links the position to a pay cycle, work cycle, schedule, default earning code, insurance benefit and the legal entity that pays. It also holds annual regular hours, pay period overtime hours and yes/no flags for salary and earnings generation.

Table name
PayrollPositionDetails
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
HRMAdministrationPayrollInfo
Primary index
None
Replacement key
PositionIdx
Key fields
Position, ValidFrom, ValidTo
Model
PersonnelManagement

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PositionThe position these details belong to, pointing to a position record.Int64
HcmPositionRecId
YesHcmPosition.RecIdPayrollPositionDetailsEntity
ValidFromFirst date on which this record is valid.Date
ValidFromDate
NoPayrollPositionDetailsEntityPayrollPositionEntityPayIntV1PayrollPositionEntityand 3 more
ValidToLast date on which this record is valid.Date
ValidToDate
NoPayrollPositionDetailsEntityPayrollPositionEntityPayIntV1PayrollPositionEntityand 3 more
AutoGenerateSalaryYes/no flag for generating salary.Enum
NoYesId
NoYes (enum)
NoPayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity
DefaultEarningCodeDefault earning code for the position, pointing to an earning code record.Int64
PayrollPositionEarningRecId
NoPayrollEarningCode.RecIdPayrollPositionDetailsEntity
DefaultGLIBenefitInsurance benefit used by default, pointing to a benefit record.Int64
HcmBenefitRecId
NoHcmBenefit.RecIdPayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity
GenerateEarningsFromScheduleYes/no flag for generating earnings from the schedule.Enum
NoYesId
NoYes (enum)
NoPayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity
IsCompanyOfficerYes/no flag showing whether the position is an organizational officer.Enum
NoYesId
NoYes (enum)
YesNone
PaidByLegalEntityThe legal entity that pays for the position, pointing to a company record.Int64
LegalEntityRecId
YesCompanyInfo.RecIdPayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionV2Entityand 3 more
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayCyclePay cycle used for the position, pointing to a pay cycle record.Int64
PayrollPayCycleRecId
YesPayrollPayCycle.RecIdPayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntityand 1 more
PayrollEarningCodeGeneral reference ID. The metadata does not state which record it points to.low confidenceInt64
RefRecId
NoNone
PayrollNormalHoursAnnual regular hours for the position.Real
PayrollHours
NoPayrollPositionDetailsEntityPayrollPositionEntityPayIntV1PayrollPositionEntityand 3 more
PayrollOvertimeHoursOvertime hours for each pay period.Real
PayrollHours
NoPayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity
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
ScheduleID of the work calendar used as the schedule.String
CalendarId
NoWorkCalendarTable.CalendarIdPayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity
ScheduleDataAreaIdCompany of the work calendar used as the schedule.String
DataAreaId
NoWorkCalendarTable.dataAreaIdPayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkCycleWork cycle for the position, pointing to a work cycle record.Int64
PayrollWorkCycleRecId
NoPayrollWorkCycle.RecIdNone

Indexes (2)

Relations (7)

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

  • ComapnyInfo → CompanyInfo

    Join on PaidByLegalEntity = CompanyInfo.RecId

    Many PayrollPositionDetails records → exactly one CompanyInfo record

  • PayrollPayCycle → PayrollPayCycle

    Join on PayCycle = PayrollPayCycle.RecId

    Many PayrollPositionDetails records → exactly one PayrollPayCycle record

  • Position → HcmPosition

    Join on Position = HcmPosition.RecId

    Many PayrollPositionDetails records → exactly one HcmPosition record

  • Benefit → HcmBenefit

    Join on DefaultGLIBenefit = HcmBenefit.RecId

    Many PayrollPositionDetails records → zero or one HcmBenefit record

  • WorkCalendarTable → WorkCalendarTable

    Join on ScheduleDataAreaId = WorkCalendarTable.dataAreaId, Schedule = WorkCalendarTable.CalendarId

    Many PayrollPositionDetails records → exactly one WorkCalendarTable record

  • PayrollWorkCycle → PayrollWorkCycle

    Join on WorkCycle = PayrollWorkCycle.RecId

    Many PayrollPositionDetails records → zero or one PayrollWorkCycle record

  • PayrollEarningCode → PayrollEarningCode

    Join on DefaultEarningCode = PayrollEarningCode.RecId, PayrollEarningCode.QuantityUnit = PayrollQuantityUnit::Hours

    Many PayrollPositionDetails records → zero or one PayrollEarningCode record

Get this data out

Tables are not exposed directly. These public entities read from PayrollPositionDetails; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk