1. Just insert a new variable in the script and initialize it to 0.
Example:
numeric input var ExtraPay = 0;
2. Remember to save the script.
3. If you want to modify the new variable to be initialized by a formula, then you can modify the default value (the zero in the example) and put the formula you want.
Example (10 percent of BasicPay):
numeric input var ExtraPay = BasicPay * 0.1; |