Generation of calendars is done for a specified date interval for an employee or a scheme group. By generating the calendar the day schemes are connected to the right date for the employees. Existing records in the calendar are recreated if the day is not processed in the time calculation.
Warnings
Errors and warnings from the generation are logged in the Batch job error log. Warnings are printed in the following situations:
- There will be a gap in the calendar, i.e., missing days.
- Start date is not greater than the last calculated date of the employee. Generation starts from the first not calculated date.
- There is a gap between the day schemes of two subsequent days.
- The day schemes of two days are overlapping so that the first day ends inside working hours of the second or the second day starts inside working hours of the first.
Errors
When an error is indicated the generation stops for that employee. Errors are indicated in the following situations:
- The calendar is recreated for a day that is already attested.
- A day scheme, which is not valid for the scheme group to which the employee belongs, has been found in a standard week, rolling scheme or exception date.
- Standard weeks are used but no valid standard week is found.
- There is an error in the system calendar. (This error is not very likely.)
Standard weeks
When standard weeks are used for creation, the day scheme that will be used for a date is searched in the following order:
1. Exception dates: | a. Exception for employee. b. Exception for scheme group. c. General exception. |
2. Standard weeks: | a. Standard week for employee. b. Standard week for scheme group. |
Rolling schemes
When rolling schemes are used the day scheme is searched in the following order:
1. Exception dates: | a. Exception for employee. b. Exception for scheme group. c. General exception. |
2. The rolling scheme. |
Prerequisites
You have to define a rolling scheme or a standard week before generating a calendar. Here, a rolling scheme has to be defined. See Set up a rolling scheme for instructions.
- Select the Work with personnel menu item.
- On the main panel, select the applicable employee and click Generate calendar.
- You access Employee calendar generation. Complete the following fields:
- Date interval
- Enter the date interval for the generation.
- Use rolling scheme
- Indicate if a rolling scheme should be used. If NO, a standard week will be used.
- Rolling scheme
- If Use rolling scheme is set to YES, enter a rolling scheme.
Click OK and the calendar is generated for the given period. You will receive a message when the generation has been completed. Exit the routine.
Result
You have now generated a calendar, which means that an employee has a day scheme attached to each day.