Macro Scripts are used by the processor
when it processes Clockings into Daily Hours, and Daily Hours into Payroll
Hours. They are like mini-programs that can inspect, and alter
the clockings, and the answers.
They allow the user to add custom rules
into the processing.
They are created in the Configuration
Module, and attached to Daily, and Payroll shifts.
Macro Scripts contain 4 basic elements;
- Language
Construction : These define the way the scripts are written, and
the general syntax of a script.
- Embed
Points : These dictate where in the processing the script will
run. A single script can embed code into many different embed
points.
- Variables : These contain specific
values at certain places in the processing. By altering, or
overriding the variables, you can change the answers that the
processor generates.
- Functions
: These are additional functions that you can call to determine
other information.
|