Custom Calculation Script not calculating
I am trying to make a subtotal field in which overtime pay can be automatically calulated using current pay. However, the script I wrote in does not seem to calculate anything.
With O/T pay being 1.5x of normal pay, below is the Custom calculation I wrote. Disclamer, I am very new to this.
var nA = Number(this.getField("Hourly Pay").value);
var nB = Number(this.getField("Hourly Weeks").value);
var nC = Number(this.gedField("Hourly OT Hour").value);
var nResult = (nA * 1.5) * nB * nC;
event.value = nResult;
Any help would be greatly appreciated.
