Setting up leave requests
A setup screen for leave requests is accessible in Tools > Setup > General setup > Resources and Labor > Leave request setup.
It contains the Do not allow employees to make multiple leave requests over the same period box:
- If the box is checked, employees cannot make a leave request over if it overlaps another leave (validated or not). This restriction applies to all users of the company. It also applies for leave requests of different types.
- If the box is unchecked, employees can make leave requests on the same days or half-days than another leave.
Examples
The setup box is checked:
- If the employee tries to make a leave request of half a day for August, 22nd in the morning and another one of half a day on the August, 22nd on the afternoon, no error message will be displayed and the employee can make two leave requests because it not on the same half-day.
- If the employee tries to make a leave request of 1 day for September, 7th and another one of 5 days from September, 5th to September, 9th, an error message is displayed when they enter the second leave request; The employee will not be able to validate it because it overlaps the first request.
- If the employee tries to make a leave request of half a day on March, 23th and another identical request, then an error message is displayed when they enter the second request leave and the employee will not be able to validate it because it overlaps the first request.
The setup box is not checked: The employee can make a request leave even if it overlaps another leave. Previous cases will not have shown an error message and all would have worked.