Geeting negative values in Salary Slip

Hi all,

I’m facing an issue while generating the salary for a month where all days are marked as Leave Without Pay (LOP). In this scenario, the Provident Fund amount—which is part of both the earnings and deductions sections on the salary slip—is showing a negative value.

Has anyone encountered this before? How can I prevent or handle negative Provident Fund values when the entire month is LOP?

Thanks in advance for your help!

Hi Abai,

You can either add a formula-based calculation for the PF component or directly apply a condition to control when PF should be calculated. For example, if there is LOP for the entire month, the system should check the Basic Amount — and only if it meets the required condition, PF will be calculated. Otherwise, it should return 0.

refer the Snapshot.

1 Like