Home      Ask a Question      My Stuff      Help   
  
TimeWorks - Excluding Employees or Groups of Employees from Receiving Overtime
Question
ID
498
Category
>Support
  Scripting
Date Created
9/20/2010 7:13:54 AM
Date Updated
8/5/2015 2:51:35 PM
How do I exclude certain employees from getting overtime as some employees are not allowed for my client?
Answer
There are a few ways to do this but generally we first need to identify the employees that do not get overtime. This is done by using something like the phrase "No OT" (no quotes) in one of our identifying fields in Employee Setup (Department, Location, Supervisor or Home 1,2 or 3).

So using this example above and using Home1 as our identifying field we can write a script to say if the system sees "No OT" (no quotes) in Home1 use the overtime rule "NO" which means do not promote any hours the employee has worked to overtime as they are not allowed this. See below:


if (home1 = "No OT")
{
otrules = "NO";
}

This can also be made dynamic using a Job Code clock prompt (x, y, z) and having an employee clock into a code the system knows not to apply to OT:

if (x = "3")
{
otrules = "NO";
}

So if the employee clocks IN and at the x prompt enters in a "3" the system will know not to apply OT to those hours.


Back to Search Results