If you receive the below message while posting Payroll, please go to Payroll > Payroll Departments and ensure the GL accounts are set for each Payroll Department being used in the posting.