real-time inventory valuation