The month in which employee is marked ex-employee, the employee payroll record is moved to separate payroll group marked as <xxx>-Final (xxx is the current payroll group of the employee)
If the Exit process is applicable but not complete then status of Salary will be Regenerate. Complete Exit Process and Regenerate salary again.
On generating a Final payroll, additional components as setup for the organization are also added. These can be No Dues Clearance amount, Leave Encashment, unpaid Bonuses, short notice recovery adjustment , etc