Employee Published Previous/Next Day shift in Time Calculation Rule Fast Formula
In Time and Labor -> Time Calculation rule Fast Formula, I would like to get Employee Published shift for Next Day/Previous Day in my logic to check the condition, if the next day is Day-off or a working Day or the Previous Day is Day-off or a working Day.
I can get the current day Employee Published shift by HWM_EMP_SCHD_START_TIME.count.
But, I am looking for Previous Scheduled Shift or Next Day Scheduled Shift from Assignment Work Schedule.
I tried to use CHANGE_CONTEXTS but this doesn't give me correct Employee Scheduled Start Time.