Calculate Cost Of Goods Sold With Inventory