Home      Ask a Question      My Stuff      Help   
  
Scripting - Paying Only Up to a Certain Amount of Break Time
Question
ID
459
Category
Training
  FAQ's
Date Created
1/21/2010 1:02:20 PM
Date Updated
8/22/2012 7:26:21 AM
We have a client that has paid breaks/lunches but only want it paid for a certain amount of OUT time and any time after that would be unpaid. Can this be done?
Answer
Yes, we will use a script to accomplish this.

As an example: if employees clock into a "break" or "lunch" department, we can set the system to allow up to 30 minutes paid and create a split for time over the 30 paid minutes, then move the unpaid time into another category, for example an "unpaid break" category.

Note: This can present problems since it requires the employees to punch in/out using a certain sequence, creating confusion and/or be more time consuming for employees.

The clock in/out sequence is explained below:

1. Clock OUT of work department then clock IN to the "Break" department.

2. When coming off of break clock OUT of the "Break" department.

3. Then clock back IN to a work shift.

Below is the script based on 30 minutes. Using this will allow paid breaks up to 30 minutes then it will go into an "Unpaid Break" category after 30 minutes.

We also use the clock prompt "x" and entries at the prompt. "1" at the "x" prompt equals to "Paid Break" which needs to be entered by the employee at the clock to signify they are in the new "Paid Break" category, and "2" which the system, through the script, will assign itself to switch to "Unpaid Break" after the 30 minutes has been passed.

Also, in the last two "x" prompt scripts, we use a general "house keeping" script that removes the "1" and "2" off of the time card once the process is run.

amount = DateAdd("n",30,intime);

if(x = "01")
{
x = "02";
Split(amount);
if(outtime <= amount)
{
category = "Paid Break";
x = "";
}}

if(x = "02")
{
category = "Unpaid Break";
x = "";
}

NOTE: Please keep in mind that if you are using the "Out Punch Completion" feature, this script will not work properly.
Back to Search Results