Digitalizing supply chain planning and control