Planning and Coordinating Demand and Supply in a Supply Chain