Home      Ask a Question      My Stuff      Help   
  
Scripting - Shift differentials with labor code reporting
For shift differentials we have long had the problem of moving the hours into a category and people not being happy with the overtime calculating the way they want it to.
The new solution offers the ability to run labor code reports and see how many hours each shift has.
This will require an x, y, or z clock prompt to be setup. This will also give you the option to run reports of each shift.

An example script would look like this:

if ( touches ( 07:01, 14:59 ) )
{
split ( 07:00 );
split ( 15:00 );
x="Day Shift";
}

if ( touches ( 15:01, 22:59 ) )
{
split ( 15:00 );
split ( 23:00 );
x="Evening Shift";
}

if ( touches ( 23:01, 06:59 ) )
{
split ( 23:00 );
split ( 07:00 );
x="Night Shift";
payrate=payrate+.50;
}

This wouldn’t put the hours into a category, but it would track them by a “labor code”
For the clock prompt, set it up and name it 'Shift', and set collection to show online, but not prompt at the clock.
On the timecard, you will see the hours calculate correctly and the shift explanations will go into a 'Shift' column that you can run reports on.
ID
211
Category
Training
  FAQ's
Date Created
3/4/2008 9:14:44 AM
Date Updated
8/24/2011 11:44:44 AM
Back to Search Results