Deducting Leave Hours from Regular Hours

When leave is paid to employees who work regular standard hours, the hours paid as leave must be deducted from the regular standard hours.

To achieve this, the leave earnings appear in a section in the process list that is resolved before regular pay. The same earnings contribute to the ERN AC REDUCE HRS accumulator. The unit in the calculation rule for the REGPAY STDHR earnings element is formula ERN FM REGSTD UNIT, and the ERN AC REDUCE HRS accumulator subtracts from the regular hours calculation within the formula.