Symptom
This note explains the order to create an Employee using OData APIs.
If you facing an issue to insert / upsert data into PerPerson, EmpEmployment, EmpJob or perPersonal.
Environment
SuccessFactors Employee Central OData API
Cause
Order to insert or upsert data into the entities is not correct.
Resolution
The order should be as follows:
- PerPerson (required fields: userId, personIdExternal)
- EmpEmployment (required fields: userId, personIdExternal, startDate)
- EmpJob (required fields: userId, jobCode, startDate, eventReason, company, businessUnit, managerId)
- PerPersonal (required fields: personIdExternal, gernder, firstname, lastName)
Note: In case of a Rehire, perform a Job Information (EmpJob) import before Employment Information Import (EmpEmployment).
See Also
How to create an Employee using OData APIs
2080146 - What is the Correct Import Order When Creating Users? - Employee Central - SAP for Me
Keywords
How to create an Employee, OData, PerPerson, EmpJob, PerPersonal, Add, new, Employee,EmpEmployment , KBA , LOD-SF-INT-ODATA , OData API Framework , How To