It is possible to check whether or not a punch was edited using the key words INISEDITED and OUTISEDITED.
These keywords allow you to decide how you want those edited punches to be treated. In order for a punch to be considered an edited punch, the TIME has to have been changed, rather than just a category.
Example: If we were using a roundtoschedule script, but we only wanted this to round un-edited punches. The script might look like this:
if(inisedited = false and outisedited = false) { roundtoschedule(30,0,0,30); }
This script says that if the punch has not been edited, then execute the script, otherwise if either the out or in punches have been edited or added manually ignore the script.
|