Linking Stock items to Sales and Purchase accounts

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.