What is the role of ERP in inventory management ?