To exclude foreign workers whom you have already filed IR21 in your IR8A process, please do as follows before you process IR8A:
Go to the Income Tax module and click Query Setup.
Click New, and enter a query name eg, ExcludeResignFW
Tick Use Custom Query checkbox, click on the 3 dotted button
Copy this Employee.ResidenceStatus IN ( 'Local', 'PR1', 'PR2', 'PR3' ) OR ( Employee.ResidenceStatus in ( 'DP', 'EP', 'FW' ) AND (Employee.CessationDate = '1899-12-30' OR Employee.CessationDate NOT BETWEEN '2015-01-01' AND '2025-12-31') )
Paste into the query window.
Click Save, and exit the window.
Click Apply.
Proceed with the Income tax process.
Refer to the video below on how to exclude terminated foreign workers in the IR8A processing.
