Predictika · Supply disruption action plans drafted from plant records

An AI purchasing agent's action plan for a late steel shipment, checked before anything is released

A supplier shipment slips. An AI purchasing agent reads the open orders, the stock at each site and the supplier list, and proposes an action plan: a replacement purchase order, a transfer from another site and a new production start. Before anything is released, the agent sends the plan to Predictika, which checks it against a declarative model of what the plant's records say and returns a verdict, every reason and the figures it computed.

Scope: Recovery plans after a late metal shipment at a three-site fabricator: replacement orders, stock transfers between sites and production reschedules for plate, bar, stainless and aluminum. See everything this validator covers

This validator models one action plan for one late shipment at a fictional three-site metal fabricator, not just the scenarios shown below. The plant, its suppliers, prices and stock are fictional stand-ins for what a real plant keeps in its ERP: purchase orders, inventory by site, the supplier master and the production schedule.

  • Whether a replacement is needed — the late shipment's new arrival is compared with the day production must start. If it still arrives in time, nothing should be bought or moved. If it does not, the plan must bring in every ton that is short.
  • Suppliers — four suppliers, each approved for some materials only; aerospace work must buy from the approved vendor list, defense work needs domestic melt, and a supplier charging more than 15 percent over contract needs the purchasing manager.
  • Stock at another site — a transfer cannot take more than the site holds above its safety stock, and needs a source site.
  • Schedule — the material's arrival comes from the slower of the supplier lead time and the transfer time. If it lands after production must start, the plan has to move the start to the day after it arrives; a new start later than the customer order's float goes to planning and sales.
  • Figures the plan states — the order total and the arrival day are compared with the validator's own; an order over $150,000 goes to the plant controller.

Any action plan that touches these materials, suppliers, sites and rules is in scope — not only the scenarios pictured here. Not covered: freight cost, customs, multi-line orders, partial deliveries and sites other than the two named. All suppliers, prices, stock and rules are fictional; the orders are fictional.

The AI purchasing agentReads the open orders, stock and suppliers, drafts the action plan for the late shipment, and says it is ready to release.
Predictika validatorChecks every rule at once and returns the verdict, each finding, and the computed figures.

6 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch

What the agent proposes

The AI purchasing agent says

Illustrative agent statement. The validator receives the structured request below.

Proposing agent: AI purchasing agent (scripted)

Before sending, the agent must call Recorded run

Predictika validator


      
Waiting for the call.

Where purchasing rules in an ERP get it wrong

Click to expand

Our assessment of what the purchasing rules and approval workflow in a typical ERP (reorder points, approved vendor lists, approval limits) do with the same cases. It is a judgment about effort and reliability, not a claim that nothing can be built.

What the validator caughtTypical purchasing module in an ERPPredictika
Whether a replacement is needed at allOnly with workarounds
A reorder point fires on stock, not on dates. Whether the late shipment still lands before the order must start is a comparison across a purchase order line, a slip and a production order, which a planner usually does by hand.
The new arrival is compared with the production start on every call, and a plan that spends money when the shipment arrives in time is stopped.
Suppliers that depend on the material and the customer programOnly with care
An approved supplier list per item is standard; layering the aerospace vendor list and defense domestic melt on top, by customer program, is a manual check or a rule per combination.
Material, supplier and industry are checked together on every call.
Stock at another site above its safety stockOnly with workarounds
The buyer sees on-hand stock; whether the transfer would eat into the other site's safety stock is netted by hand or in a separate report.
The transfer is checked against what the site can release above its safety stock.
Fixing one choice changes the nextOnly with workarounds
Moving to a slower supplier lengthens the arrival, which moves the earliest production start, which can push past the order's float. Each step is checked separately, after the order is released, by whoever notices.
Supplier, transfer, arrival, start and float are recomputed together, so a fix that opens the next problem is caught in the same answer.
An order total and an arrival that have to match the supplier price and lead timeOnly with workarounds
The ERP prices the order it creates, but the total and arrival an agent typed in its message are not an input, so a total that left out the premium or an arrival taken from the wrong lead time goes through.
The stated total and arrival are compared with the validator's own figures.
Every problem returned in one answerOnly with workarounds
Rules tend to fire as the order is saved, so a buyer often fixes one error and meets the next.
All findings come back together, whatever order the choices arrived in.

What this validator catches: findings from its test cases

Click to expand

Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the action plan; approval findings need a person to sign off; everything else is computed.

1The delayed shipment now arrives in 7 days, before production must start in 10 days, so nothing needs to be bought or moved.
2The plan brings in 30 tons of the 40 tons short.
3A replacement order of 30 tons names no supplier.
4The chosen supplier is not on the approved list for this material.
5The supplier charges 18 percent above the contract price, over the 15 percent a buyer may accept alone; the purchasing manager approves.
6Aerospace work must buy from an approved vendor list supplier that issues mill certificates.
7Defense work needs domestic melt material, which only one supplier on the list provides.
8A transfer of 10 tons names no source site.
9The plan moves 6 tons from a site that holds only 5 tons of this material above its safety stock.
10The material arrives in 9 days, after production must start in 6 days, and the plan does not move the start to 10 days or later.
11The new production start of 10 days is later than the 8 days the customer order can absorb; planning and sales agree the new date with the customer.
12The plan states a purchase order total of $27,000.00, but the contract price with the supplier premium gives $28,620.00.
13The plan states material arriving in 2 days, but the supplier lead time and the transfer time give 6 days.
14The replacement order totals $164,300.00, above the $150,000.00 a buyer may release alone; the plant controller signs off.

Scenarios and results

Click to expand

The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.

1. Aerospace plate shortage: Aerospace plate, 40 tons short after a 14 day slip

The agent's request. The A36 steel plate shipment, due in 5 days, has slipped 14 days, leaving 40 tons short for aerospace orders that must start production in 3 days. I propose buying 28 tons from Gulf Alloys and moving 12 tons from the Reno plant. The replacement order totals $25,200.00 and the material arrives in 2 days. It is ready to release.

Verdict: Blocked.

  • Aerospace order from a supplier off the approved vendor list. Aerospace work must buy from an approved vendor list supplier that issues mill certificates.
  • Transfer larger than the site can release. The plan moves 12 tons from a site that holds only 5 tons of this material above its safety stock.
  • Production start not moved past the arrival. The material arrives in 4 days, after production must start in 3 days, and the plan does not move the start to 5 days or later.
  • Stated purchase order total differs from the supplier price. The plan states a purchase order total of $25,200.00, but the contract price with the supplier premium gives $29,736.00.
  • Stated arrival differs from the lead times. The plan states material arriving in 2 days, but the supplier lead time and the transfer time give 4 days.
  • Supplier price well above contract. The supplier charges 18 percent above the contract price, over the 15 percent a buyer may accept alone; the purchasing manager approves.

2. Aerospace plate shortage: The agent resubmits after fixing the errors

The agent's request. The A36 steel plate shipment, due in 5 days, has slipped 14 days, leaving 40 tons short for aerospace orders that must start production in 3 days. I propose buying 20 tons from Northstar Metals and moving 20 tons from the Dayton plant, with production starting in 7 days. The replacement order totals $19,080.00 and the material arrives in 6 days. It is ready to release.

Verdict: Allowed.

  • Plan summary. The plan brings in 40 tons, the material arrives in 6 days and the replacement order totals $19,080.00.

3. Defense stainless shortage: Defense stainless steel, 50 tons short

The agent's request. The stainless steel 304 shipment, due in 6 days, has slipped 10 days, leaving 50 tons short for defense orders that must start production in 5 days. I propose buying 30 tons from Pinnacle Trading and moving 10 tons from the Reno plant. The replacement order totals $125,550.00 and the material arrives in 3 days. It is ready to release.

Verdict: Blocked.

  • Plan does not cover the shortage. The plan brings in 40 tons of the 50 tons short.
  • Defense order without domestic melt. Defense work needs domestic melt material, which only one supplier on the list provides.
  • Transfer larger than the site can release. The plan moves 10 tons from a site that holds only 0 tons of this material above its safety stock.
  • Stated arrival differs from the lead times. The plan states material arriving in 3 days, but the supplier lead time and the transfer time give 4 days.
  • Supplier price well above contract. The supplier charges 35 percent above the contract price, over the 15 percent a buyer may accept alone; the purchasing manager approves.

4. Defense stainless shortage: The agent resubmits after fixing the errors

The agent's request. The stainless steel 304 shipment, due in 6 days, has slipped 10 days, leaving 50 tons short for defense orders that must start production in 5 days. I propose buying 46 tons from Northstar Metals and moving 4 tons from the Dayton plant, with production starting in 7 days. The replacement order totals $151,156.00 and the material arrives in 6 days. It is ready to release.

Verdict: Needs approval.

  • Purchase order above the buyer limit. The replacement order totals $151,156.00, above the $150,000.00 a buyer may release alone; the plant controller signs off.
  • Plan summary. The plan brings in 50 tons, the material arrives in 6 days and the replacement order totals $151,156.00.

5. Bar stock shortage: Carbon steel bar, 25 tons short for general orders

The agent's request. The carbon steel bar shipment, due in 7 days, has slipped 14 days, leaving 25 tons short for general industrial orders that must start production in 6 days. I propose buying 25 tons from Apex Steel, with production starting in 7 days. The replacement order totals $27,825.00 and the material arrives in 9 days. It is ready to release.

Verdict: Blocked.

  • Production start not moved past the arrival. The material arrives in 9 days, after production must start in 6 days, and the plan does not move the start to 10 days or later.
  • Stated purchase order total differs from the supplier price. The plan states a purchase order total of $27,825.00, but the contract price with the supplier premium gives $28,875.00.

6. Bar stock shortage: The agent resubmits after fixing the errors

The agent's request. The carbon steel bar shipment, due in 7 days, has slipped 14 days, leaving 25 tons short for general industrial orders that must start production in 6 days. I propose buying 11 tons from Northstar Metals and moving 14 tons from the Reno plant. The replacement order totals $12,243.00 and the material arrives in 6 days. It is ready to release.

Verdict: Allowed.

  • Plan summary. The plan brings in 25 tons, the material arrives in 6 days and the replacement order totals $12,243.00.

Narration transcript

Click to expand

The text of the narrated walkthrough, step by step.

  1. Welcome to a demo of Predictika's Validator. A supplier shipment slips. An AI purchasing agent reads the open orders, the stock at each site and the supplier list, and proposes an action plan: a replacement purchase order, a transfer from another site and a new production start. Before anything is released, the agent sends the plan to Predictika, which checks it against a declarative model of what the plant's records say and returns a verdict, every reason and the figures it computed.
  2. I will start with the first request by the agent.
  3. The agent says. The A36 steel plate shipment, due in 5 days, has slipped 14 days, leaving 40 tons short for aerospace orders that must start production in 3 days. I propose buying 28 tons from Gulf Alloys and moving 12 tons from the Reno plant. The rest of the request is on screen. The replacement order totals $25,200.00 and the material arrives in 2 days.
  4. Before it goes out, the agent calls the validator.
  5. Blocked, with five findings and one approval, all in one answer. Aerospace work must buy from an approved vendor list supplier that issues mill certificates. The plan moves 12 tons from a site that holds only 5 tons of this material above its safety stock. The material arrives in 4 days, after production must start in 3 days, and the plan does not move the start to 5 days or later. The other two are on screen.
  6. The validator returned five blocking findings and one approval in one answer. A check that reads one field at a time would pass most of this; it shows only when the choices in the action plan are checked against each other.
  7. What this shows: for an order total and an arrival that have to match the supplier price and lead time, a purchasing module in an ERP can do this only with workarounds.
  8. Now the agent resubmits.
  9. The corrected request. It changes the replacement order to 20 tons, the supplier to Northstar Metals, the transfer to 20 tons, the transfer source to dayton plant, the stated order total to $19,080.00 and the stated arrival to 6 days. It sets the new production start to 7 days.
  10. It calls the validator again.
  11. This time the validator clears it.
  12. The validator also returns the line-item quote, on screen.
  13. All six earlier findings are cleared, and the validator's total, $19,080.00, matches the action plan.
  14. Six problems caught in one call, fixed in one pass, and a clean action plan. That is the value of Predictika's validator: catching mistakes before the plan runs. Now you can try the other scenarios yourself.