Home / Engineering Change vs Open Orders: Find the Orders Still Built on the Old Revision (A First Pass in Excel and SQL)

Engineering Change vs Open Orders: Find the Orders Still Built on the Old Revision (A First Pass in Excel and SQL)

On a Tuesday morning the quality manager walked into the planning office holding a bracket. "This is the old hole pattern," he said. "Engineering released the new revision three weeks ago." Everybody was sure the change was done. The drawing was updated, the change notice was signed, the BOM in the ERP showed the new part. And still, 40 brackets with the old hole pattern had just come off the line. The change had reached the master data. It had not reached the orders that were already open.

This is one of the most common gaps I see in plants that run an ERP. An engineering change updates the BOM and the routing, but production orders, purchase orders and sometimes sales orders that were created before the change keep the old version. Nobody gets an error message. The old revision simply keeps moving through the shop. In this tutorial I show the first pass I use to find those orders, with two ERP exports and Excel, plus the idea of the same check in SQL. The plant and all numbers below are illustrative.

Engineering change vs open orders, by Faramarz Ahmadi: an illustrative first pass finding 11 not-started and 12 in-progress production orders plus 4 purchase lines still on the old revision after changes everyone thought were closed

Why open orders don't follow the change

Most ERPs copy the BOM and the routing into an order at the moment the order is created. From then on the order carries its own copy. In SAP, for example, a production order keeps the components it was created with until someone deliberately re-reads the master data on that order. That is by design: you don't want a half-finished order to change under the operator's hands. But it means every engineering change leaves a trail of open orders that still point to the old world.

Step 1: List the changes that matter

Start with the engineering changes released in the last 60 to 90 days. For each one you need four things: the change number, the material it touches, the old component or revision, and the date it became valid. If your change notices live in emails and PDFs, this list is already your first finding.

Step 2: Export the open orders with their components

Pull every production order that is not yet technically complete, one row per component: order number, header material, component, quantity, order creation date and status. Do the same for open purchase order lines of the affected components. Two flat sheets are enough.

Step 3: Match orders against the change list

Now bring the two together. In Excel, a lookup from the order components to the change list tells you which open orders still contain an old component. Add one more column: was the order created before the change became valid? That is the signal you are after.

Order Component on order Change valid from Order created Status
Prod 41870 Bracket rev. B (old) Oct 20 Oct 14 Released, in production
Prod 41902 Bracket rev. B (old) Oct 20 Oct 17 Released, not started
Prod 42011 Bracket rev. C (new) Oct 20 Oct 24 Released
Purchase 7731 Bracket rev. B (old) Oct 20 Oct 02 Open, delivery Nov 18

In SQL the idea is the same: a join between the open order components and the change list on the component, filtered to orders created before the valid-from date. I'm not sharing a ready query here, because table names and status logic differ in every ERP, and a query that misses one status quietly misses the orders that hurt most.

Step 4: Sort what you found into three groups

Not every flagged order needs the same action. I usually see three groups:

  1. Not started: the order can still be updated before anything is cut or assembled.
  2. In progress: part of the work is done with the old revision. Someone has to decide whether to finish, rework or scrap.
  3. Purchase orders for the old part: material that will arrive after it is already obsolete.

In the example plant, the first run found 23 open production orders and 4 purchase order lines still on old revisions, from changes that everybody believed were "closed".

Step 5: Make the check a weekly habit

A one-off check fixes today's orders. The gap opens again with the next change. The first pass becomes valuable when it runs every week, right after the change board meets, and the owner of each flagged order gets a short list with names and dates. This connects directly with master data ownership, which I wrote about in Master data ownership before ERP–MES integration, and with the manual fixes planners make when they no longer trust the system, in Manual planner overrides.

Where this first pass can mislead you

A lookup only finds what the change list names. Changes that swap a component inside a sub-assembly, alternative BOMs, phantom assemblies and changes released with a future valid-from date can all slip through, or flag orders that are actually fine. The match is the easy part. Knowing which of the flagged orders really carry risk is the hard part.

What I keep for the work itself

What I don't publish is the rule set I use to decide, order by order, whether to update, finish or stop, and how I wire that decision into the change process so the gap closes at the source instead of being chased every week. That depends on your ERP, your product structure and how your change board really works. I do that part with your team, on your own data.

Key takeaway: an engineering change is not finished when the BOM is updated. It is finished when no open order still carries the old revision. Two exports, one lookup and a valid-from date will show you how many orders are still building yesterday's product.

Are your changes really reaching the shop floor?

If you want to know how many of your open orders are still on an old revision, write to me with the ERP you use and roughly how many engineering changes you release in a month. I will tell you what to export for a first look, and where I would expect the gap in a plant like yours.

Contact me Read: Master data ownership Read: Manual planner overrides

Related reading: BOM and routing master data check in Excel: find the errors that wreck costing and planning — five error families and a five-minute self-check.

Sources

  • In SAP S/4HANA, a production order copies the BOM and routing at creation; changes to master data reach an existing order only through the order function "Read PP master data". See SAP Help Portal, Production Orders (PP-SFC).
  • The plant, the story and all numbers in this article are illustrative.

👁 Views: 2