Hi,
I have this idea of how to model vacation or holiday:
- There is a holiday timetable with specific days marked. During down, a global flag IsHoliday is marked to indicate holiday time. During resume, the flag is clear to indicate no holiday.
- The operators are assigned weekly repeating, daily schedule as shift timetable.
- In the operator shift time table resume function, if IsHoliday is true, then set the operator state to not available. (Holiday date is defined so that it will happen before shift start).
- Likewise, on shift time table resume, we can roll the dice if the operator is taking a vacation that day.
Would that work?
Is there any issue with immediately setting the operator to an unavaible state in the resume function?
Thanks,
Hai