When trying to update startTime and endTime in the entity EmployeeTime you have received the following error message:
Save batch MDF object failed! 0:The start time and end time should be empty. with the index 0
SuccessFactors OData API
Reproducing the Issue
Try to update the startTime and endTime objects in the entity EmployeeTime with an API call.
In job information for an employee you can define whether to use duration based or clock-time based time recording.
If that field is not enabled / visible, duration based time recording is used by default.
If you choose time recording variant clock-time, you can assign start time and end time.
In duration based scenario, the mentioned validation error occurs when trying to update that data.
In duration based scenario it is an expected behavior, becuase a validation occurs when trying to update that data.
To be able to update these fields you need to use the clock-time based scenario.
- SuccessFactors OData API
- Save batch MDF object failed!
- Error to update EmployeeTime
- The start time and end time should be empty. with the index 0