Proposal Summary
This proposal covers the scope of Customization of Group Calendar for Employees with Time Off Events.
Requirement
Cleerline Technologies would like to get a group Calendar which displays time-offs of a group of Employees and is accessible to all the employees in the particular group.
Our Solution
The requirement can be achieved by creating an employee group and a scheduled script for adding employee group to time-off events. The 2 steps included in the customization are as follows:
- Creating an Employee Group
The Employee Group can be created by adding the employees who receives Payroll. The group will have a group calendar which is shared with all the member employees.
- Scheduled Script to add employee group to time-off events.
When an employee creates a time-off request, an event is added to the calendar when the time-off request gets approved. For this, the “Create calendar event” checkbox in the time-off type should be checked. A scheduled script can be deployed that checks for approved time-off events created within every 15 minutes. The script checks for time-off events from employees receiving payroll and adds the employee group to the time-off event. Thus, the approved time-off event is shown in the group calendar as well in the personal calendars of all employees in the group.
Assumptions
- Time-off requests are created by employees manually in NetSuite.
- The “Create calendar event” check box is marked true in the time-off type.
Risks
- As the scheduled script runs in every 15 minutes, time-off requests will not be added to Calendar at the time of approval, it will be added only in the next script run.