Hello all, I have a view that consists of time entries that employees make while working on service orders. Management is developing a compensation plan based on employee utilization (each employee has a percentage goal to reach of billable versus non-billable time).
The problem is company holidays need to be excluded.
Holidays I need to exclude are
* New Year's Day (January 1)
* Memorial Day (last Monday in May)
* Independence Day (July 4)
* Labor Day (first Monday in September)
* Thanksgiving (fourth Thursday in November)
* 1/2 Day Christmas Eve (December 24)
* Christmas (December 25)
* 1/2 Day New Year's Eve (December 31)
Here are the rules I need to follow:
A recognized holiday that falls on a Saturday will be observed on the preceding Friday.
A recognized holiday that falls on a Sunday will be observed on the following Monday.
Currently I have the report working by calculating total available minutes (each workday = 480 minutes) so for normal holidays I need to remove 480 minuters per holiday from total hours worked, and from the total hours available).
For the half day holidays I need to remove 240 minutes from total available and to discard any minutes worked above 240).
I hope that makes sense.
The problem is company holidays need to be excluded.
Holidays I need to exclude are
* New Year's Day (January 1)
* Memorial Day (last Monday in May)
* Independence Day (July 4)
* Labor Day (first Monday in September)
* Thanksgiving (fourth Thursday in November)
* 1/2 Day Christmas Eve (December 24)
* Christmas (December 25)
* 1/2 Day New Year's Eve (December 31)
Here are the rules I need to follow:
A recognized holiday that falls on a Saturday will be observed on the preceding Friday.
A recognized holiday that falls on a Sunday will be observed on the following Monday.
Currently I have the report working by calculating total available minutes (each workday = 480 minutes) so for normal holidays I need to remove 480 minuters per holiday from total hours worked, and from the total hours available).
For the half day holidays I need to remove 240 minutes from total available and to discard any minutes worked above 240).
I hope that makes sense.