Open EMDI->Inventory

At Profit rates and balance select one of the 3 options:

-based on average selling/purchase price

-based on total sales/purchases

-based on sales/purchases price