Yes, to do this we would first need to create the category by using this article How To - Adding a New Pay Category / Job Code. For our example we will use "Alt Payrate".
For changing the default to 'Payrate 2' in Employee Setup we would then create a script like the below:
if (category = "Alt Payrate") { payrate = payrate2; }
NOTE: The same script could be used in TimeWorksPlus, but you would need to refer to pay rates in Employee Setup with the prefix "employee.". So instead of "payrate2", use "employee.payrate2".
For adding a differential to the 'Default Payrate' in Employee Setup we would create a script like the below using the differential of payrate x 1.5:
if (category = "Alt Payrate") { payrate = payrate * 1.5; }
|