There are three editing type keywords for scripting insiedited, outisedited AND isedited (TimeWorks Plus ONLY):
In TimeWorks and TimeWorks Plus:
insiedited - Requires a true/false identifier. An example would be if the IN punch was NOT edited then do something:
if (inisedited = false) {then do something;}
outisedited - Requires a true/false identifier An example would be if the OUT punch has been edited then do something:
if (outisedited = true) {then do something;}
In addition to the ones above, in TimeWorks Plus you can use:
isedited - This looks for a specific property of the time card entry to see if it was/wasn't edited (again using a true/false identifier) then do something. Examples would include, category, payrate or any field name of a clock prompt. For example if the payrate was NOT edited then do something:
if (isedited("payrate") = false) {then do something;}
| |