Most of this information can also be accomplished by following the Knowledge Base article ID: 62 Scripting - Holiday Worked Feature. All this article does is allows you to customize the script more than those outlined in the previous article.
To script manually for holidays worked you would follow the below script:
if (isholiday and istimes = true) { category = "HolidayWorked"; }
You can also edit the above script to include an alternate payrate as below:
if (isholiday and istimes = true) { category = "HolidayWorked"; payrate = payrate * 1.75; }
The above script says if an employee worked on a holiday recognized by the system he would get his regular payrate plus an additional 75% of his regular payrate.
| |