Home      Ask a Question      My Stuff      Help   
  
Scripting - Flagging a WebClock Punch from a TimeClock Punch
Question
ID
411
Category
Training
  FAQ's
Date Created
6/5/2009 9:13:43 AM
Date Updated
10/6/2011 11:17:00 AM
How can I tell when an employee clocks in via Web Clock vs a Time Clock? Is there a report with a flag to show me this information?
Answer
By default there isn't a report to display this.

But using a clock prompt set for Location Stamp would work in this case (How To's - Tracking the Location of TimeClock Punches) as it would display the locations on the time card and if there weren't any locations this would mean one of three things. Either the punch was made on the WebClock, a location stamp was not created for the TimeClock they clocked in on, or the punch was manually edited on the site.

If you were just looking for a one or the other answer so you could run reports against it using the above location stamp and a small script we could do this:

Things we need in place before this can happen are:

1. All TimeClocks need a Location Stamp placed on them (How To's - Tracking the Location of TimeClock Punches)
2. A clock prompt for 'Location Stamp' needs to be in place (also in How To's - Tracking the Location of TimeClock Punches). But we want to label it in the 'What do you want to name this field?' to something in reference to the Webclock/Timeclock like in our example we will use 'Clock Type' for the Labor Code prompt 'x'.

Next we write the script:

if (x = "")
{
if (inisedited = false or outisedited = false)
{
x = "WebClock";
}}
else
{
x = "TimeClock";
}

This script says that if no location stamp is present ("") and the punch was not manually entered on the site then it must be a 'WebClock' and puts that under the 'x' prompt on the time card and if there is then enter 'TimeClock' under the 'x' prompt instead.

Now you can run reports filtered by the 'x' prompt to show either one or the other if need be.
Back to Search Results