Payroll position
Applies to these Dynamics 365 apps:
Human Resources
This article describes the Payroll Positions entity in Dynamics 365 Human Resources.
Physical name: mshr_payrollpositionentity.
Description
This entity provides position-related information for a given employee.
Physical name: mshr_payrollpositionentity.
Properties
PropertyPhysical nameType | Use | Description |
---|---|---|
Position IDmshr_positionidString | Read-only | The ID of the position. |
Pay cycle IDmshr_paycycleidString | Read-only | The pay cycle that is defined on the position. |
Annual regular hoursannualregularhoursDecimal | Read-only | The annual regular hours that are defined on the position. |
Paid by legal entitypaidbylegalentityString | Read-only | The legal entity that is defined on the position and responsible for issuing payment. |
Valid tovalidtoDate Time Offset | Read-only | The date that the position details are valid to. |
Valid fromvalidfromDate Time Offset | Read-only | The date that the position details are valid from. |
Primary fieldmshr_primaryfieldString | System generated | The primary field. |
Payroll position details entity IDpayrollpositiondetailsentityidGuid | RequiredSystem generated. | A system-generated globally unique identifier (GUID) value to uniquely identify the position. |
Relations
Property value | Related entity | Navigation property | Collection type |
---|---|---|---|
_mshr_fk_fixedcompplan_id_value | mshr_payrollfixedcompensationplanentity | mshr_FK_FixedCompPlan_id | mshr_FK_PayrollFixedCompensationPlanEntity_PayrollPosition |
_mshr_fk_hcmpositionhierarchy_id_value | mshr_hcmpositionhierarchyentity | mshr_FK_HcmPositionHierarchy_id | Not applicable |
_mshr_fk_job_id_value | mshr_payrollpositionjobentity | mshr_FK_Job_id | mshr_FK_PayrollPositionJobEntity_Payroll |
_mshr_fk_positionassignmentv2_id_value | mshr_hcmpositionworkerassignmentv2entity | mshr_FK_PositionAssignmentV2_id | Not applicable |
Example query
Request
GET [Organizaton URI]/api/data/v9.1/mshr_payrollpositionentities?$filter=mshr_positionid eq @positionid and mshr_validfrom le @asofdate and mshr_validto ge @asofdate&@positionid='000276'&@asofdate=2021-04-01
Response
{
"mshr_positionid": "000276",
"mshr_paycycleid": "w",
"mshr_annualregularhours": 3000,
"mshr_paidbylegalentity": "USMF",
"mshr_validfrom": "2021-03-14T00:00:00Z",
"mshr_validto": "2154-12-31T00:00:00Z",
"mshr_primaryfield": "000276 | 3/14/2021",
"_mshr_fk_job_id_value": "00010094-0000-0000-df00-014105000000",
"_mshr_fk_fixedcompplan_id_value": "0000029f-0000-0000-d5ff-004105000000",
"mshr_payrollpositionentityid": "00010097-0000-0000-df00-014105000000"
}
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for