Planning and Managing Inventories in a Supply Chain