Payroll Deduction Handling During Insufficient Salary

I have configured various salary components in the payroll module. However, I require clarification on how ERPNext handles recurring salary deductions when an employee’s salary is insufficient or unavailable.

The scenarios are as follows:

  1. No Salary for a Payroll Period
  • An employee has a recurring deduction (e.g., loan recovery or any other deduction) scheduled for a fixed period of two years.
  • During this period, the employee proceeds on leave without pay or otherwise becomes ineligible for salary for one month.
  • As a result, no deduction can be made during that payroll period.
  • In such a case:
    • Will ERPNext automatically carry forward the missed deduction to subsequent payroll periods?
    • Will the deduction schedule automatically be extended by one month, or will manual intervention be required?
  1. Partial Salary Available
  • An employee receives only a partial salary for a particular month.
  • The available salary is sufficient to recover only some of the scheduled deductions.
  • For example, three deductions are due during the month, but the available salary is sufficient to recover only two deductions and a portion of the third.
  • In such a case:
    • How does ERPNext determine which deductions are recovered first?
    • Can ERPNext make a partial recovery of a deduction and carry forward the balance?
    • If not, what is the standard system behaviour?
  1. Prorating or Carrying Forward Deductions
  • Does ERPNext provide any standard functionality to:
    • Prorate recurring deductions based on the salary actually payable?
    • Automatically defer unrecovered amounts to future payroll periods?
    • Maintain a running balance of unrecovered deductions for automatic recovery in subsequent salary slips?

I would appreciate guidance on the standard ERPNext functionality for handling these scenarios and any recommended configuration or best practices to manage such situations.