Recording Inventory and the Cost of Goods Sold