How to Link stock item to sales/purchase account

I am in the process of setting up my Dolibarr system. when setting up the stock items, I enter the relevant Sales or Purchase accounts this stock item should be linked to. However when I SAVE and go back to the CARD information, these account numbers do not display. How do I solve this problem as I would prefer to link each stock item to particular sales and purchase accounts.

did you check Accountancy module? …/htdocs/accountancy/admin/productaccount.php?mainmenu=accountancy&leftmenu=accountancy_admin&idmenu=8329
Is that what you need?