Symptom
When you change the country field in the address information portlet you can see the 3 operations being performed in the compound employee API responses, like Delete / Insert and No Change.
Your expectation is to have only one operation action = 'Change', but the system behaves differently in case of country field updates as it picks up "Delete","Insert","No change" basis updates done of address country.
Environment
-
SuccessFactors HCM Suite
-
Implementing the Employee Central Compound Employee API in Delta Transmission Mode
Reproducing the Issue
Run the SFAPI CompoundEmployee queries in delta mode and observe the results in the response payload.
Cause
This is the expected behavior of the SFAPI CE.
Resolution
If you change the country of the address portlet, so it is a normal behavior that the delta calculation returns a delete of the old country and an insert of the new country!
More details can be seem in our handbook using this direct link.
Keywords
Country changes in address portlet deleted in the SFAPI CompoundEmployee - SuccessFactors HCM Suite, DELETE, no change, insert, Implementing the Employee Central Compound Employee API in Delta Transmission Mode, CE, API, integrations, response payload, different country , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT , Integrations , LOD-SF-INT-CE , Compound Employee API , How To