Go to the Lists menu and click Payroll Item List.
Click Payroll Item and choose New.
In the Add new payroll item window, select Custom Setup.
Follow the steps to create the payroll item.
In the Calculate based on quantity window, choose one of the options:
Calculate this item based on hours
Calculate this item based on quantity