Problem:
How to setup a lump sum payment upon retirement and it should feed to a T4A?
Solution:
Go to setup -> payroll category, create a payroll category as earning with type being Regular and make sure under ‘Form Assignment’ T4A (reporting to appropriate box)
Assign category to employee and payout employee.