Symptom
When uploading the employee job information using API, the employee records is inactive even when the latest record of the employee is rejoin records.
Environment
SAP Successfactors Odata API
Reproducing the Issue
Use the process type - full dump and then try to upload the employee job information using API.
Cause
Event picklist:
The non-unique external codes of the events must not be changed, because there is hard-coded logic using these codes. You can check in Check Tool check "Required events are defined" whether the configuration is correct. The result of this check is that the non-unique external code "R" (for Rehire) was missing (changed).
In Picklist Center, picklist "event", the non-unique external code of the "Rehire" event to "R" is updated.
Event Reasons:
In the event reason configuration under "Manage Organization, Pay and Job Structures", please note that the Employee Status must be set correctly! Otherwise, the system will behave unexpectedly (as in customer's case!).
For a lot of event reasons, the employee status was wrong. Especially for the event reasons with event "Data Change" and "Termination".
For event reasons with event "Data Change", the employee status field must remain empty, and for event reasons with event "Termination", the employee status must be "Terminated" or "Retired", and not "Inactive"!
Changed the employee status values for now for all event reasons. Then made a dummy change in the Termination record of sample employee 223153 which also corrected the employee status to "Terminated" (not "Inactive as before the change). Then made a dummy change in the Rehire record which provoked the employee status to change to "Active".
Resolution
In Picklist Center, DO NOT change non-unique external codes of event (and employee-status) picklist values!
Under "Manage Organization, Pay and Job Structures -> Event Reasons, set correct employee status!
See Also
Documentation/Preventive Action:
Please read the documentation to get a better knowledge of events/event reasons/employee status: Creating Event Reasons for Employee Central
Keywords
Successfactors, SFSF, Event picklist, Event Reasons, Odata API, Employee Central, , KBA , LOD-SF-INT-API , API & Adhoc API Framework , Problem