Accounting for Inventory and Cost of Goods Sold