All challenges and every certification for $9 a month. And learn to build, buy and guide AI agents for supply chain: https://www.skool.com/supplychain

All game guides
ERP Terminal · Player guide

Fix the data before you trust the plan

You sit at a plant's ERP terminal with a command line and nothing else. MRP (material requirements planning) is about to order the wrong things because the material master holds wrong lead times, units, safety stocks, lot sizes or vendors. Find the bad records, fix them without touching the good ones, re-run MRP and release only the purchase orders that are really due. Every command counts, and every PO you release goes straight to the vendor.

You playSupply planner at the terminalLength6 minutes for the intro, 10 to 25 for the othersCommandsPar of about 17 to 30, set per contractPass mark60 in every contract; 75 silver, 90 gold
Opened from a contract? This guide is in its own tab and your game is still in the other tab, exactly where you left it. Nothing you do here changes your run, so read as much as you like and switch back when you're ready.
ERP Terminal as it looks in a contract

Quick start

Type each command at the prompt and press Enter, or click it under Quick commands. This order gets a passing run.

  1. run mrp, then exceptions. The list shows where to look, not the right values, and it doesn't show every error.
  2. show policy once. It tells you what the right value of each field is.
  3. For each record the exceptions point to, look before you change: show mat, show info and show history for a material, list vendors or show vendor for a vendor.
  4. Fix with set, for example set 1001 leadtime 14, or block vendor <id> for a duplicate. Read the briefing for hints about errors that raise no exception.
  5. run mrp again and exceptions. Only E10 and E15 lines (orders due) should be left.
  6. release po <number> for every order flagged E10 or E15. list po shows them as DUE NOW.
  7. submit, check the summary, then submit again (or press Submit run then Confirm submit).

What the game is about

Each contract is one planning session at one plant, with 5 to 7 materials, 4 to 8 vendors and an MRP horizon of usually 8 weeks starting in week 41. Three to five fields in the master data are wrong; you don't know which.

The loop

Run MRP → read the exceptions → inspect the records → check the info records, goods-receipt history and policy → fix → re-run MRP → release the due orders → submit twice → read the debrief.

What it teaches

Master data (material and vendor records, info records), how MRP turns lead times, safety stock, lot sizes, MOQ and units into purchase orders, exception messages, and why bad data silently creates wrong orders.

The twist

The exception list is a clue, not the answer. Some errors raise no exception at all, some odd-looking records are correct, and a 'fix' to good data counts as a new error. A PO released with bad data is a real commitment that can't be undone.

Reading the screen

A black terminal fills the left. A side panel on the right shows the session, quick commands and an exception code cheat sheet. The submit bar sits at the bottom.

Terminal headerA status light (green ready, orange busy, grey closed), the system name, client, plant, user and system date.
PromptUSER@PLANT> followed by a blinking cursor. Click anywhere on the screen to type. "| Processing" spins while the server works.
E: lines (red)Errors: an unknown command, a missing record, a value out of range, or a release that was rejected. They still count as a command.
W: lines (yellow)Warnings: a blocked vendor, a PO released early, MRP never run.
Green linesSuccess: PO released, run clean, change reverted, run locked.
Exception codesOrange codes in the exception list mark data problems; yellow E10, E15 and E26 mark supply problems.
Session panelMRP results (not run, run N, or out of date in red), Open exceptions, Records changed, POs released and Commands / par (red when over par).
Quick commandsButtons that run a command, or start one for you to finish (show mat …, set …).
Exception codes panelA short reminder of every code: E52, E58, E61, E69/70, E71, E26 and E10/15.

Every command

Commands are not case-sensitive. <id> is a material number or a vendor number as shown by list. The last column says whether the command counts towards your par.

CommandAlso acceptedWhat it doesPar
help
help set
help release
?The command list, or details for set and release (help po works too).help is free; ? counts
list materials
list vendors
list po
lsOne-line overview of every material (ABC, unit, lead time, safety stock, MOQ, lot size, vendor, stock), every vendor (city, VAT ID, status), or every order: open POs, POs you released and planned orders from the last MRP run, marked DUE NOW or with their release week.Counts
show mat <id>displayThe material master record: type, ABC class, procurement, base unit and unit of issue, planned delivery time, safety stock, lot size, MOQ, rounding, fixed vendor, price, stock and average weekly demand. Also: show material, show mm, or just show <id>.Counts
show vendor <id>-The vendor record: city, VAT ID, status (ACTIVE or BLOCKED with the reason), created date, payment terms and which materials use it as fixed vendor. Also: show supplier.Counts
show info <id>-Purchasing info records for a material: each vendor's order unit (for example "BOX = 10 EA"), minimum quantity, quoted lead time, net price and a note. Also: show inforecord, show quote.Counts
show history <id>-Goods receipts of past orders with the real number of days each took, and the average, minimum and maximum actual lead time. Also: show hist, show receipts, show gr.Counts
show plan <id>-The MRP list for one material after a run: demand, receipts, planned orders and projected stock per week, then each planned order with DUE NOW or its release week. Also: show mrp, show md04.Counts
show policy-The plant's planning policy: the rules that say what the right value of each field is.Counts
set <mat> <field> <value>changeChange one field of a material (see the field table below). Each change creates a numbered change document. If MRP has run, its results become out of date.Counts
block vendor <id>-Set a purchasing block on a vendor. Warns you if it is still the fixed vendor of a material.Counts
unblock vendor <id>-Remove a purchasing block.Counts
run mrpmrpPlan every material over the horizon and count planned orders and exception messages. Typing just mrp does the same.Counts
exceptionsexThe exception messages from the last MRP run, one line per problem with its code and the record it points to.Counts
release po <number>-Turn a planned order from the last MRP run into a real purchase order sent to the vendor. release order <number> and release <number> work too.Counts
undo-Revert your last master-data change (fields or vendor blocks). Repeat to go further back.Counts
submit-Show a summary (changes, POs released, open exceptions). Type submit again straight away to lock the run; any other command cancels.First counts, the confirming one is free
history-Your last 20 commands, numbered.Free
clear-Clear the screen (cls works too). Nothing is undone.Free
Mistakes count too. A typo, a wrong id or a rejected release still uses one command. Only help, history, clear, an empty line and the confirming submit are free. Example par: a contract with 3 hidden errors and 5 materials gets twice the errors plus one per material plus 10 = 21 commands, unless it sets its own.

Fields you can set

Use set <material> <field> <value>. The screen label is how show mat and the change message name the field. Numbers may contain commas and are rounded to whole numbers. Setting the value a field already has prints "No change" (and still counts).

Type thisScreen labelAllowed valuesWhat it doesWhere to check the right value
leadtime
also lead_time, lt, plifz
Planned deliv. timeWhole days, 0 to 365Days from ordering to delivery. MRP turns it into whole weeks, rounded up, and orders that many weeks before the need.Quoted lead time in show info, real days in show history (policy PL-01).
safety_stock
also safetystock, ss, safety
Safety stockA whole number, 0 or moreThe stock MRP keeps in reserve. It plans an order whenever projected stock would fall below it.ABC class and Avg demand in show mat (policy PL-02).
uom
also unit, base_unit
Base unitEA, BOX, PAK, KG, G, L, ML, M, ROL, PAL, SETThe base unit every quantity in the record is counted in. If it is a vendor pack (BOX) while the plant issues single pieces (EA), every PO is off by the pack size.Unit of issue in show mat, pack size in show info (policy PL-03).
moq
also min_qty, minimum
Min. order qtyA whole number, 0 or moreMinimum order quantity. Every planned order is raised to at least this.MIN QTY of the fixed vendor in show info (policy PL-04).
lot_size
also lotsize, lot
Lot-size procedureEX (lot-for-lot), FX (fixed lot), WB (weekly lot)How MRP sizes an order: lot-for-lot, fixed lot or weekly lot (see below).show info notes and the briefing. Lot-for-lot (EX) is the safe default unless the data gives a reason.
lot_qty
also lotqty, fixed_lot
Fixed lot qtyA whole number, 0 or moreThe fixed lot size, only used when the lot-size procedure is FX. Orders are whole multiples of it.show info. Only matters with FX.
rounding
also round, rounding_value
Rounding valueA whole number, 0 or moreOrders are rounded up to a multiple of this. 0 means no rounding.The fixed vendor's info record (policy PL-04).
vendor
also supplier, fixed_vendor
Fixed vendorAn existing vendor idThe fixed vendor every PO for this material goes to. It must exist and must not be blocked.list vendors and show vendor for status and VAT ID; show info for vendors that quote this material (policy PL-05).
Vendors have one field you can change: the purchasing block, with block vendor <id> and unblock vendor <id>. Stock, demand, price and ABC class are facts, not settings: you can read them but not change them.

Lot-size procedures

The lot-size procedure decides how big each planned order is. MOQ and rounding are applied after it.

EX: lot-for-lot

Lot-size procedure

Orders exactly the gap between projected stock and safety stock in the week it opens. The default, and right for most materials.

FX: fixed lot

Lot-size procedure

Orders whole multiples of the fixed lot qty. A huge fixed lot on a slow item buys months of stock (watch for E26).

WB: weekly lot

Lot-size procedure

Orders the gap plus next week's demand, so one order covers two weeks.

How MRP plans an order

MRP runs the same steps for every material, week by week over the horizon. Each step uses one field, so one wrong field gives one wrong order.

1. Projected stockStock on hand, plus open POs arriving, minus demand, week by week.
2. Below safety stock?When projected stock drops under safety stock, an order is planned for the gap.
3. Lot sizeThe gap is sized by EX, FX or WB.
4. MOQ and roundingRaised to at least the MOQ, then rounded up to the rounding value.
5. Release weekThe need week minus the lead time in weeks (days divided by 7, rounded up).
6. Due?Release week this week: E15. Already past: E10. Later: it waits.
Example: with a lead time of 0 days, MRP plans to order in the same week the stock is needed, so a shortage three weeks out looks like it can wait. Set the real 21 days and that order's release week moves 3 weeks earlier, to this week or the past: it shows up as E15 or E10, due now. Planned-order numbers stay the same for the same material and week, so you can re-run MRP and still find them.

Exception codes

Every code the exceptions command can show, what it means and how to deal with it. Red codes point at a wrong record; amber codes are about planned orders (due now, or far too big), shown in yellow in the terminal.

CodeMessageWhat it meansWhat to do
E10Release date in the pastA planned order should already have been released to arrive in time.Fix the material's data first, re-run MRP, then release po <number>. It will arrive late, so release it now.
E15Release due this weekA planned order must be released this week to arrive in time.Same as E10: fix, re-run, release.
E26ExcessOne planned order covers more than 12 weeks of average demand.Usually a wrong MOQ, fixed lot or rounding value. Compare with show info.
E52Planned delivery time is 0 daysAn externally procured material has no lead time, so MRP thinks it arrives instantly.Set leadtime from show info and show history.
E58A-class material without safety stockAn A item has 0 safety stock, against policy PL-02.Set safety_stock to about 2 weeks of Avg demand (show mat).
E61Base unit differs from unit of issueThe material is counted in one unit (for example BOX or KG) but issued in another (EA or G).Set uom to the unit of issue. Pack sizes belong in the info record.
E69No valid source of supplyThe fixed vendor does not exist.Set vendor to an active vendor that quotes this material in show info.
E70Fixed vendor is blockedThe fixed vendor has a purchasing block (the reason is shown).Switch vendor to an active one from show info. Don't unblock a vendor that was blocked for a reason.
E71Vendors share VAT IDTwo active vendor records have the same VAT ID: probably one company entered twice.Block the duplicate record and move its materials to the record you keep (policy PL-05).
Not every error raises an exception. A lead time that is too short but not 0, a wrong safety stock that is not 0, or a too-high MOQ on a fast item all look normal. Compare every lead time with show history and every MOQ with show info, and follow the hints in the briefing.

Releasing purchase orders

release po <number> sends a planned order to the vendor with the quantity, unit and vendor in the record at that moment. The terminal checks a few things first.

SituationWhat the terminal saysWhat to do
MRP never runE: No MRP results. Run MRP first.run mrp
You changed data after the last runE: Master data changed since the last MRP run...run mrp again so the order uses the new data.
The number isn't in the last runE: Planned order ... not foundlist po for the current numbers.
Fixed vendor blocked or missingE: Release rejected...Fix the vendor, re-run MRP, release.
An in-house materialE: ... is an in-house planned orderLeave it. Production scheduling handles it.
Released before its release weekW: Released early...Counts as an early release (minus 10 on the supply plan). Only release DUE NOW orders.
Released alreadyPO ... is already released.Nothing to do.
All goodPO ... released to vendor ... Output sent (EDI).Done. It shows as "released by you" in list po.
The trap: nothing stops you releasing an order before the data is fixed, as long as MRP is up to date. A PO in the wrong unit (BOX instead of EA, KG instead of G) or to the wrong vendor is a harmful release: minus 30 on integrity, minus 20 on the supply plan, and your score is capped at 60.

The planning policy

Type show policy in your contract. Every current contract uses these six rules:

  1. PL-01 Planned delivery time = the vendor's quoted lead time (show info), checked against real goods receipts (show history).
  2. PL-02 Safety stock: A items 2 weeks of average demand, B items about 1 week, C items none. Avg demand is in show mat.
  3. PL-03 Base unit = unit of issue. Vendor pack sizes belong in the info record, never in the material master.
  4. PL-04 MOQ and rounding = what the fixed vendor's info record says.
  5. PL-05 One active vendor record per company (VAT ID). Blocked vendors can't be a fixed vendor.
  6. PL-06 Release planned orders flagged E10 or E15 only after the data is fixed and MRP has been re-run.

Keys & buttons

The game is played by typing. The buttons are shortcuts.

Keyboard (at the prompt)

  • EnterRun the command.
  • TabComplete the word: commands, objects, material and vendor ids, field names, units, lot sizes and planned-order numbers. Press it twice to list all matches.
  • ↑↓Recall earlier commands.
  • EscClear the line you are typing.
  • CtrlLClear the screen (free, like clear).

Quick commands (right panel)

  • helprun mrpexceptionsRun that command at once.
  • list materialslist vendorslist poRun that overview at once.
  • show policyundoShow the policy, or revert your last change.
  • show mat …set …Type the start of the command for you; finish it and press Enter.

Submit bar

  • Submit runSame as typing submit: shows the summary.
  • Confirm submitSame as typing submit again: locks the run and sends it for scoring. The button then reads Submitted.

Top bar

  • BriefingShow or hide the briefing column. Its tasks often hint at errors that raise no exception.
  • How to playOpens this guide in a new tab.
  • Sound onTurn sound effects on or off.
  • ExitLeave without submitting. Relaunching the contract starts a fresh run.
  • ContinueReview runOn the debrief card after submitting: go back, or open the full review.
The HUD under the top bar shows Open exceptions (with a * when MRP results are out of date), Records changed, POs released, Commands (used / par) and MRP runs, plus the Projected score.

Scoring

Your score out of 100 is a weighted mix of four parts, checked at submit against the correct master data, which you never see. These are the default weights, used by every current contract.

PartWeightWhat counts
Master data errors fixed35%Share of the contract's hidden master-data errors that hold the right value when you submit. For numbers, a value inside the accepted range around the right one counts.
No harmful edits or POs20%Starts at 100. Loses 25 points for every field or vendor block that was correct and that you left changed, and 30 points for every harmful PO (wrong vendor, or more than 1.5 times the right quantity in real units).
Due purchase orders released correctly30%Share of the orders that were really due (what MRP shows as due once the data is right) that you released to the right vendor with 75% to 150% of the right quantity. Minus 10 per early release, 10 per too-small release and 20 per harmful release.
Command efficiency15%100 while your commands stay within par, falling towards a floor of 20 as you go over. That is then multiplied by your progress (errors fixed plus due orders released, as a share of all of them), so a short session that fixes nothing scores 0.
Three caps. Gold needs a clean plan: one master-data error left, one correct field changed or one due order not released caps the score at 89. Any harmful PO caps it at 60. If orders were due and you released none of them correctly, your score is capped just below the pass mark. The Projected score is only a guide while you play: 0 until you run MRP, then 90 minus 9 per open exception, minus 15 while results are out of date, minus a little if you are over par. It can't see errors that raise no exception. Pass mark 60; stars at 60, 75, 90 points.

Tips & common mistakes

New to this game? Start with Kettle & Co: Your First Shift at the ERP Terminal: two wrong records and three parts, one idea at a time.
Exceptions first, then only the records they point to. Browsing every material burns par.
Check before you change. show info and show history give the evidence; the policy gives the rule.
Compare every lead time with show history, even with no exception. Short lead times hide real shortages.
Re-run MRP after your last fix, then release. A release on out-of-date results is refused anyway.
Use Tab. It completes ids and planned-order numbers, so you don't waste commands on typos.
Leave odd but correct data alone. An in-house material with no vendor and a 0-day lead time is normal.
Don't release before fixing the unit or the vendor. One harmful PO caps the score at 60.
Don't submit without releasing the due orders. Clean data that never becomes a PO leaves the score below the pass mark.
Don't release orders that aren't due. Only DUE NOW orders (E10, E15) should go out.
Don't unblock a vendor blocked for a reason such as insolvency or a failed audit. Switch the material to another vendor instead.
Don't guess values. A wrong 'fix' to a correct field costs 25 integrity points; use undo if you change the wrong thing.
Back to top