You can specify which Category and Account are updated by the Item on the Accounting tab on the Edit Items page.
Main Menu > Items > Items > View > New/Edit > Accounting
Category - This specifies the Accounting Category for this Item.
Account - This specifies which Account is updated by this Item, relative to the Category that was selected.