They both work at the same time. Part class is for inventory and purchasing: the Part Class GL Control type defines the inventory accounts that are affected when a part moves. Product Group is for sales, production, and revenue: it defines which accounts are affected on the WIP and cost of sales side.

