Controlling inventories in a supply chain: a case study