You as a Time Administrator, while assigning a work schedule to an employee, system throws an exception.
Reproducing the Issue
- Go to Time Administration work center.
- Select Employees view.
- Select an employee and select Edit button.
- Go to Time profile tab.
- Select Work Schedule sub tab.
- Select a Work Schedule.
System throws Exception.
The cause of the problem is that the period models which are used for the schedule models. This period models cannot be enrolled to employees work schedule.
The numbering must be in a sequence from 1 to 7 for each day of a week.
When using the schedule model XYZ the work schedule enrollment fails because of the wrong numbering.
Example (How the assignment should be):
Day 1 - Daily Model = XYZ
Day 2 - Daily Model = XYZ
Day 3 - Daily Model = XYZ
Day 4 - Daily Model = XYZ
Day 5 - Daily Model = XYZ
Day 6 - Daily Model = no model>
Day 7 - Daily Model = no model>
The schedule model must reference the period model. By using the Move Up and Move Down button the schedule model must be adapted until Day 1 is a Monday. Employees work schedule will be calculated according to the schedule model. After Day 7 (Sunday) the work schedule of the employee will continue with Day 1 (Monday), Day 2 (Tuesday)... and so on....
KBA , SRD-HR-TLM , Time and Labour Management , Product Enhancement