Home      Ask a Question      My Stuff      Help   
  
TimeWorks Plus: Yesterday Rule
**How do I set up the yesterday rule in TimeWorks Plus?

You can set up a processing rule or you can write a script.

To turn on the processing rule you will go to the accountant menu > processing rules > type yesterday in the search for a rule field and hit search. The yesterday rule will pop up and by clicking on the 'yesterday' link you will open the page to set up the rule. You will save the cut off time on this page.

Another option is to add a script. To do so you will go to the accountant menu > processing rules > type reportingdatescript in to the search field and hit search. Once the rule populates you will click on the 'reportingdatescript' link and enter your script in the large text box. Here is an example of the yesterday script.

if (inispresent = true and istimes = true)
{
if (intime < 4:00am)
{
yesterday (0);
}
}

Any time an in punch is less than 4:00am, the punch will be pulled to the previous day. This is most commonly used for employees that clock out and back in on shifts where their break happens after midnight and the employer wants to keep the punches on the same day that the in punch was created.
ID
1036
Category
>Support
  TimeWorks Plus Features
Date Created
11/26/2013 1:21:42 PM
Date Updated
11/25/2015 7:14:06 AM
Back to Search Results