Home      Ask a Question      My Stuff      Help   
  
Scripting - Creating an Exception Flag for Going Over Allowed Paid Break Times
Question
ID
395
Category
Training
  FAQ's
Date Created
5/7/2009 1:19:52 PM
Date Updated
12/15/2011 8:15:27 AM
My Client would like to keep track of paid breaks but if the employee takes a longer break than the specified time, they do not want to pay them for this. Can this be done?
Answer
Yes, this will require you to set up a clock prompt as well as add a script to the Client site. First you will set up a clock prompt as a break department. How To - Setting Up Clock Prompts

When it is time for the employee to go on break they will clock out and then clock in to the break department. When they return from break they will clock out of this department and back in to their regular department. This will result in the time spent on break being captured as well as the employee being paid for this time.

You will place the following script on your Client site.

DURING(PostOPC)
{

if(x = 3)
{
x = "Break";
if(x ="Break" and hours > .25)
{
exception ="Employee is over on break!"
}
}

}

I have used the 'x' prompt in this script to signify the break department. The above script says that if an employee clocks in to department 3 their timecard will reflect break. If they spend more than 15 minutes clocked in to this department their timecard will be flagged as 'Employee is over on break!' From here you will have to edit the timecard if they have gone over the allowed break time.

We use the "DURING(PostOPC)" part of the script to work if the employee is using the "OutPunchCompletion" feature to clock out of the "Break" job code as it doesn't natively recognize the italicized punches as a real punch.

Scripting (Main Page) > Scripting - Breaks & Lunches (Main Page)
Back to Search Results