Predictika · MRO contract orders
An AI sales agent prepares an MRO contract order for a fictional customer: an item, a quantity, a ship method, a contract tier, and the order total it states. Before the order goes out, the agent sends it to Predictika, which checks it against a declarative model of item, shipping and contract rules, compares the order total the agent states with the one it computes, and returns a verdict with every reason.
This validator models a Grainger-style MRO contract order, not just the scenarios shown below.
Any MRO contract order that touches these rules is in scope — not only the scenarios pictured here. All items, prices, discounts, fees and thresholds are estimates for demonstration, not Grainger or manufacturer data. Not covered: other items, taxes, real stock levels, real customer contracts and one-time or negotiated pricing. The validator shows computed figures but no line-item table.
6 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch
Illustrative agent statement. The validator receives the structured request below.
Proposing agent: AI sales agent (scripted)
Before sending, the agent must call Recorded run
What this means
Our assessment of what a typical rules-based CPQ (product rules, price rules and validation rules, as in Salesforce CPQ) does with the same cases. It is a judgment about effort and reliability, not a claim that nothing can be built.
| What the validator caught | Typical rules-based CPQ | Predictika |
|---|---|---|
| Shipping that changes what else applies | Only with workarounds Moving an order from next-day air to will-call removes the hazmat and freight rules but brings in the branch stock rule and changes the fees, so a rep fixes one error and meets the next. | Ship method, quantity and item are in one request and every rule is checked together on every call, so a fix that exposes another problem shows up at once. |
| Fees that depend on the order value and ship method together | Only with workarounds Hazardous-item, freight and small-order fees depend on the computed order value and the ship method at once, so price rules chain and must run in the right order. | The order value is computed first and every fee reads it. |
| Pack size, hazard class and safety data sheet per item | Only with care Each is a validation rule keyed to the item; keeping them complete as items are added is the work. | The pack size, hazard class and sheet requirement are read from each item and checked on every call. |
| Discount authority and credit review | Only with care A rep limit, a hard maximum and a credit threshold on a computed value need separate approval rules. | All thresholds are evaluated together and returned with the reason. |
| A stated total that must match the computed total | Only with workarounds The total is built from the price and several fees, so a separate rule is needed to recompute it and compare it with the stated figure. | The stated total is a field of the request and is compared with the computed order total on every call. |
| Every problem returned in one answer | Only with workarounds Rules tend to fire as the order is saved, so a rep often fixes one error and meets the next. | All findings come back together, whatever order the choices arrived in. |
Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the order; approval findings need a person to sign off; everything else is computed.
| 1 | Order value $25,896.0 exceeds $25,000; credit review required. |
| 2 | 4 percent extra discount is above the 2 percent rep authority. |
| 3 | Zep acetone 1 gal sells in packs of 4; 6 is not a multiple. |
| 4 | CRC Brakleen aerosol case of 12 is hazmat class 2 and cannot ship next-day air; use ground or will-call. |
| 5 | CRC Brakleen aerosol case of 12 requires a safety data sheet acknowledgement before ordering. |
| 6 | Government accounts require a purchase order number. |
| 7 | Will-call of 5 exceeds the 3 on hand at the branch. |
| 8 | 8 percent extra discount exceeds the 5 percent maximum beyond contract pricing. |
| 9 | Order value $28.8 is below the $50 line minimum. |
| 10 | The order total the agent states ($1,125.65) differs from the total the validator computes ($1,184.9). |
| 11 | 5 percent extra discount is above the 2 percent rep authority. |
| 12 | 6 percent extra discount exceeds the 5 percent maximum beyond contract pricing. |
| 13 | Order value $25,099.2 exceeds $25,000; credit review required. |
| 14 | Zep acetone 1 gal is hazmat class 3 and cannot ship next-day air; use ground or will-call. |
| 15 | The order total the agent states ($1,186.9) differs from the total the validator computes ($1,184.9). |
| 16 | Will-call of 30 exceeds the 25 on hand at the branch. |
| 17 | Zep acetone 1 gal sells in packs of 4; 2 is not a multiple. |
| 18 | Zep acetone 1 gal requires a safety data sheet acknowledgement before ordering. |
| 19 | Order value $49.28 is below the $50 line minimum. |
| 20 | The order total the agent states ($49.28) differs from the total the validator computes ($111.78). |
| 21 | Order value $26,493.6 exceeds $25,000; credit review required. |
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.
The agent's request. Please order 2 Zep acetone (1 gallon) on the Gold contract tier for a government account, shipped by next-day air, with an extra discount of 8 percent, for an order total of $49.28. It is ready to send.
Verdict: Blocked.
The agent's request. Please order 8 Zep acetone (1 gallon) on the Gold contract tier for a government account, shipped by ground, with an extra discount of 2 percent, with the safety data sheet acknowledged, with a purchase order number, for an order total of $247.48. It is ready to send.
Verdict: Allowed.
The agent's request. Please order 30 CRC Brakleen aerosol cases on the Gold contract tier for a commercial account, shipped by next-day air, for an order total of $1,989.00. It is ready to send.
Verdict: Blocked.
The agent's request. Please order 25 CRC Brakleen aerosol cases on the Gold contract tier for a commercial account, shipped by will-call, with the safety data sheet acknowledged, for an order total of $1,657.50. It is ready to send.
Verdict: Allowed.
The agent's request. Please order 140 DeWalt DCD791 drill kits on the Gold contract tier for a commercial account, shipped by ground, with an extra discount of 4 percent, for an order total of $26,493.60. It is ready to send.
Verdict: Needs approval.
The agent's request. Please order 125 DeWalt DCD791 drill kits on the Gold contract tier for a commercial account, shipped by ground, with an extra discount of 2 percent, for an order total of $24,277.50. It is ready to send.
Verdict: Allowed.
The text of the narrated walkthrough, step by step.