SAP Knowledge Base Article - Public

2789682 - Sequence from "employment_information" is not in order in Compound Employee - SuccessFactors SFAPI

Symptom

The order which "employment_information" segments are shown in the response of a query on Compound Employee are not being displayed in order according to its "start_date" value.

Environment

  • SuccessFactors SFAPI
  • Compound Employee

Resolution

It's not possible to order the entity "employment_information" by its "start_date" value, since it's not an effective-dated entity.

If there were results in your query which were ordered by their "start_date" value, it was only a coincidence, since they are shown according to the order which they were placed in the database.

See Also

More info on Compound Employee guide: Implementing the Employee Central Compound Employee API - Sorting by Start Date

Keywords

compound, employee, compoundemployee, order, sequence, sorting, incorrect, wrong, results, employment, information, employment_information, employmentinformation, effective, dated, start, date, start_date, startdate, top, element, stack, information, record, sfapi , KBA , LOD-SF-INT , Integrations , LOD-SF-INT-CE , Compound Employee API , Problem

Product

SAP SuccessFactors HCM suite all versions