Multiple shifts (shift 2,3,4,5)
The Schedule Import Interface has the ability to import up to five shifts for each schedule record in the data file. This provides the capability to assign multiple shifts to an employee. The shifts are processed sequentially. Shift 2 is processed before shift 3 with this logic:
- The first shift is mandatory. (The Sch_Shift_In and Sch_Shift_Out fields are required.)
- Shift 2 to shift 5 are optional. However, for every optional shift specified, the Sch_Shift[2..5]_In and Sch_Shift[2..5]_Out fields are required.
- Since the optional shifts are processed sequentially, the processing of the optional shifts (that is, shift 2…shift 5) stops when a shift with both null start and end times (that is, Sch_Shift[2..5]_In and Sch_Shift[2..5]_Out fields) is encountered. For example, cannot be supplied without supplying Sch_Shift4_In Sch_Shift3_In first.
- The search and processing logic for the optional shifts are the same as the first mandatory shift. See Shift search logic.