Home      Ask a Question      My Stuff      Help   
  
TimeWorks Plus - Scripting Overtime/Doubletime Threshold
These commands allow for an easy way to set up Overtime and Doubletime rules for clients in TimeWorks Plus.

Before using any of the overtime/doubletime Threshold commands, the below command must be entered first or it will default to the normal OT processing (40 hrs. / weekly which happens after all scripts have finished). This would need to be in the OTThresholdScript box under > Accountant Menu > Processing Rules > Overtime > OTThresholdScript.

otrules("");

Explanation of commands

Currently there are four known commands. Commands are case sensitive.

* ot1threshold - Can be set for overtime for hours calculated on a weekly basis (currently the default is set to 40 hours).

* ot2threshold - Can be set for doubletime for hours calculated on a weekly basis (currently the default is set to 20000 hours so in effect it is disabled at default).

* ot1daythreshold - Can be set for overtime for hours calculated on a daily basis (currently the default is set to 20000 hours so in effect it is disabled at default).

* ot2daythreshold - Can be set for doubletime for hours calculated on a daily basis (currently the default is set to 20000 hours so in effect it is disabled at default).

Example:

A Client wants employee’s in location 100 to have every hour after 7 hours of work in a day be considered OT (*1.50) and any hours after 10 considered DT (*2). The script will look as follows:

if(employee.location = "100")
{
otrules("");
ot1daythreshold = "7";
ot2daythreshold = "10";
}

For strictly double time promotion meaning you don't want to use overtime rules but want to promote to double time after a certain hour increment please use the below article:

Scripting - When Dealing with a Client that Only has Double Time Rules (OTthreshold Scripts)

ID
1369
Category
>Support
  Scripting
Date Created
11/17/2014 3:26:45 PM
Date Updated
11/17/2014 3:32:31 PM
Back to Search Results