3.02 How is Unpaid Leave is Calculate? - RG-00243

Amount := Wages / DaysInAMonth(PayYear, PayMonth);

Notes

Wages = basic wages from employee for the process date

PayYear and PayMonth := PostDate