
Introduction:
In this blog, you understand the difference between fromDate and toDate and how it's worked.
OData API supports two keywords as a filter parameter.
For example- the employee has 2 home address records in SuccessFactors, 1st address valid till 31/08/2022, and the second address valid from 01/09/2022 to 31/12/9999.
when we get the data using fromDate=9999-12-31, then the 2nd address shows.
Because fromDate always gets the data basis on endDate.
And when we get the data using toDate=9999-12-31, then both address shows.
Because toDate always gets the data basis on StartDate.
Ex 2:-
For example, 1 employee is hired on 01/05/2022 and the employee startDate is 22/7/2022. this employee endDate on 29/07/2022 set the data. If we need terminated reason and employee terminated information (end date information), we have to use fromDate=9999-12-31.
Because fromDate search the data basis on endDate.
using the fromDate filter try to get future terminated employee data and termination information
After using the fromDate filter we get the future terminated employee details
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
7 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |