Available in Sage 50 Premium Accounting and higher.

Settings Window - Payroll > Linked Accounts > Expense Groups

In this window, you can turn on the payroll expense group feature, and add or remove a payroll expense groups. You can also set up a linked account in a payroll expense group.

Select the task you want help with in this window:

Turn on payroll expense groups

Add or remove a payroll expense group

Add, change, or remove a linked account in a payroll expense group