Symptom
Odata API entities are returning different value(diference can be observed in the time part) for the 'startDate' field when retrieving it from EmpJob,PerPerson or EmpEmployment entity compared to the value inserted for this field.
For example:
- API request written to upsert the Start date:
- API response when trying to read the data from either of those entities:
Environment
Successfactors
Reproducing the Issue
- API request written to upsert the Start date:
- API response when trying to read the data for during Onboarding:
Resolution
- This is an expected behavior of Odata API.
- For "starDate", only the date is stored and not the time.
- In this example the writting time stamp is 1493184507000 which is equal to 2017-04-26 05:28:27. Whereas, the query time stamp is 1493164800000 i.e., 2017-04-26 00:00:00.
Keywords
- 'startDate' field is not returning correct value
- Mismatch in the 'startDate' field value returned by the Odata API v/s what was inserted
Product
SAP SuccessFactors HCM Suite all versions