TIP:
You can make the employee a leaver after processing their final pay. They’ll drop off the Employee record after processing the next pay run.
For example, you have a weekly pay run. You process an employee’s final pay on 10/09/2023 and you mark them a leaver on 11/09/2023. They’ll drop off the Employee record on 17/09/2023.