Keywords
The following conditions are recognizable by the script processor. Unless otherwise specified, your script can only READ these values, not EDIT them.
Punch Information Keywords - these conditions return information about the current punch:
• I, J, K - returns the entry of the specified prompt ( script can modify these ) • X, Y, Z - returns the entry of the specified prompt ( script can modify these ) • category - returns the pay category such as "Regular" to a different category, such as "REG" ( script can modify the type of hours ) • payrate - returns the current pay rate "in effect" and not to be confused with the "default" pay rate ( script can modify this ) • intime, outtime - returns the actual IN and OUT times ( if "missing", equates to 0:00 ) • hours - returns total number of hours ( nonothours + othours ) • nonothours - returns total number of non-overtime hours
Employee Information Keywords - these conditions return information from the employee setup:
• pay - affects dollar only punches • payrate0 - returns the employee's "default pay rate" • payrate1, payrate2, payrate3 - returns the "alternate pay rate" 1, 2, and 3 respectively • department, location, supervisor - returns the "home" department, location, and supervisor respectively • home1, home2, home3 - returns the alternate departments 1, 2, and 3 respectively
Other Information Keywords:
• istimes - returns either a true or false value based on actual time entries • ishours - returns either a true or false value based on "hours only" entries • ispayonly - returns either a true or false value based on "dollars only" entries • isholiday - returns either a true or false value based on the holiday setup • inismissing, outismissing - returns either a true or false value based on whether or not a punch is "missing" • inisedited, outisedited - returns either a true or false value based on whether or not a punch has been edited
Scripting (Main Page) > Scripting - Keywords (Main Page) | |