Inventory and Sales Calculation