This is an example log produced at build time, approving the three events in turn. With JavaScript, the events arrive live and you approve them.
Demand change Approved
Customer demand revised up
Demand for this batch rises from 1,200 to 1,400 units.
Keeping the current plan: 1,200 of 1,400 units on time
Re-plan: 1,300 of 1,400 units on time (100 more), variable cost $36,085 (+$3,185)
Why Both plants together are at their capacity of 1,300 units; the other 100 units need overtime, outsourcing or a new date agreed with the customer.
Supply risk Approved
Supplier A stops shipping
Supplier A cannot ship its 600 units for this batch.
Keeping the current plan: 700 of 1,400 units on time
Re-plan: 950 of 1,400 units on time (250 more), variable cost $27,400 (+$8,200)
Why Suppliers B and C are fully used at 950 units together; 450 units are still missing and need a new source.
Supply opportunity Approved
Supplier C can supply more
Supplier C raises its capacity for this batch from 500 to 700 units.
Keeping the current plan: 950 of 1,400 units on time
Re-plan: 1,150 of 1,400 units on time (200 more), variable cost $34,400 (+$7,000)
Why The extra 200 units go from supplier C to plant 1 (6 days), inside the 7-day deadline.