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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PositionThe position these details belong to, pointing to a position record. | Int64HcmPositionRecId | Yes | HcmPosition.RecId | PayrollPositionDetailsEntity |
ValidFromFirst date on which this record is valid. | DateValidFromDate | No | PayrollPositionDetailsEntityPayrollPositionEntityPayIntV1PayrollPositionEntityand 3 more | |
ValidToLast date on which this record is valid. | DateValidToDate | No | PayrollPositionDetailsEntityPayrollPositionEntityPayIntV1PayrollPositionEntityand 3 more | |
AutoGenerateSalaryYes/no flag for generating salary. | EnumNoYesIdNoYes (enum) | No | PayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity | |
DefaultEarningCodeDefault earning code for the position, pointing to an earning code record. | Int64PayrollPositionEarningRecId | No | PayrollEarningCode.RecId | PayrollPositionDetailsEntity |
DefaultGLIBenefitInsurance benefit used by default, pointing to a benefit record. | Int64HcmBenefitRecId | No | HcmBenefit.RecId | PayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity |
GenerateEarningsFromScheduleYes/no flag for generating earnings from the schedule. | EnumNoYesIdNoYes (enum) | No | PayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity | |
IsCompanyOfficerYes/no flag showing whether the position is an organizational officer. | EnumNoYesIdNoYes (enum) | Yes | None | |
PaidByLegalEntityThe legal entity that pays for the position, pointing to a company record. | Int64LegalEntityRecId | Yes | CompanyInfo.RecId | PayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionV2Entityand 3 more |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayCyclePay cycle used for the position, pointing to a pay cycle record. | Int64PayrollPayCycleRecId | Yes | PayrollPayCycle.RecId | PayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntityand 1 more |
PayrollEarningCodeGeneral reference ID. The metadata does not state which record it points to.low confidence | Int64RefRecId | No | None | |
PayrollNormalHoursAnnual regular hours for the position. | RealPayrollHours | No | PayrollPositionDetailsEntityPayrollPositionEntityPayIntV1PayrollPositionEntityand 3 more | |
PayrollOvertimeHoursOvertime hours for each pay period. | RealPayrollHours | No | PayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity | |
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 | |
ScheduleID of the work calendar used as the schedule. | StringCalendarId | No | WorkCalendarTable.CalendarId | PayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity |
ScheduleDataAreaIdCompany of the work calendar used as the schedule. | StringDataAreaId | No | WorkCalendarTable.dataAreaId | PayrollPositionDetailsEntityHcmPositionV2EntityHcmPositionEntity |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkCycleWork cycle for the position, pointing to a work cycle record. | Int64PayrollWorkCycleRecId | No | PayrollWorkCycle.RecId | None |
Indexes (2)
PositionIdxReplacement keyUnique, alternate key.
CompanyInfoPayCycleIdxNot unique.
Relations (7)
Each relation joins PayrollPositionDetails to another table on the fields shown.
ComapnyInfo→CompanyInfoJoin on
PaidByLegalEntity = CompanyInfo.RecIdMany PayrollPositionDetails records → exactly one CompanyInfo record
PayrollPayCycle→PayrollPayCycleJoin on
PayCycle = PayrollPayCycle.RecIdMany PayrollPositionDetails records → exactly one PayrollPayCycle record
Position→HcmPositionJoin on
Position = HcmPosition.RecIdMany PayrollPositionDetails records → exactly one HcmPosition record
Benefit→HcmBenefitJoin on
DefaultGLIBenefit = HcmBenefit.RecIdMany PayrollPositionDetails records → zero or one HcmBenefit record
WorkCalendarTable→WorkCalendarTableJoin on
ScheduleDataAreaId = WorkCalendarTable.dataAreaId,Schedule = WorkCalendarTable.CalendarIdMany PayrollPositionDetails records → exactly one WorkCalendarTable record
PayrollWorkCycle→PayrollWorkCycleJoin on
WorkCycle = PayrollWorkCycle.RecIdMany PayrollPositionDetails records → zero or one PayrollWorkCycle record
PayrollEarningCode→PayrollEarningCodeJoin on
DefaultEarningCode = PayrollEarningCode.RecId,PayrollEarningCode.QuantityUnit = PayrollQuantityUnit::HoursMany 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.
PayrollPositionDetailsEntity· 13 fields from this tablePayrollPositionEntity· 3 fields from this tablePayIntV1PayrollPositionEntity· 3 fields from this tableHcmPositionV2Entity· 12 fields from this tableHcmPositionEntity· 12 fields from this tableHcmPositionTimelineEntity· 5 fields from this table
Need help with PayrollPositionDetails in a report, an integration or a migration? Talk to Dr Dynamics.