Symptom
This note explains the order to create an Employee using OData APIs.
If you facing an issue to insert / upsert data into User, PerPerson, EmpEmployment, EmpJob or perPersonal.
Environment
SuccessFactors Employee Central OData AP
Cause
Order to insert or upsert data into the entities is not correct.
Resolution
The order should be as follows:
- User (required fields: username, userId, status)
- 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? - EC
Keywords
How to create an Employee, OData, User, PerPerson, EmpJob, PerPersonal , KBA , LOD-SF-INT-ODATA , OData API Framework , How To
Product
SAP SuccessFactors HXM Suite all versions