When the recipe changes after an order is accepted, which version counts?

A quote used one material list. The customer accepted the order. Then engineering had to change a component. Updating the line sounds simple until someone asks what the quote assumed, which version production is using, and whether the change affects work already under way. These are different questions.

In infab.cloud, a recipe belongs to a product line on the order record and has versions. The first version is created with the recipe. Creating another version changes the recipe’s selected version while retaining the older entry. That gives the team a way to record a revision without making its predecessor disappear. It does not, on its own, decide whether a running job should use the revision. That decision has to account for the status of the order and the records already created on the floor.

A change after the quote

Consider an illustrative job involving cutting and assembly. It does not describe an actual customer. The quote assumed a particular material and a set of operation hours. After acceptance, the original material is no longer the preferred choice. Someone proposes another one. If the team simply replaces the material name and reads the new list as though it had always been there, the reason for the original quotation becomes hard to reconstruct. If it leaves the old list untouched without telling production, the workshop may follow an obsolete decision instead.

The product documentation separates three figures on material and operation lines: quoted, production target and actual. Quoted figures are entered when preparing the offer. Target figures describe the production plan. Actual hours come from time records, while actual material quantities come from stock issues. The actual columns are not a place to type a revised estimate. Keeping the three values distinct helps explain why a job went differently from its original proposal, rather than revising the proposal after the fact to make the numbers match.

Choosing an old version is an action

Version history can look like a document archive, but the implementation has a sharper edge. Creating a new version updates the recipe’s current_version_id. Selecting an earlier version updates that same field to the earlier version. It is not merely a read only historical preview. Anyone browsing old versions should check what the recipe now marks as selected before leaving the order. A well kept version history can still be confusing if a review unintentionally changes the active choice.

The documentation describes revision notes and cost snapshots as part of the version history. A useful note should explain the reason for a change in terms another shift can understand. “Updated recipe” tells very little. A note identifying the affected material or operation and the reason for the change gives later readers something to test against the quote and the production record. Recording a reason does not grant a revision automatic approval; it makes the choice legible.

There is also a deprecated status for versions. The recipe API refuses to select a deprecated version as the current one for new use. The model retains old associations rather than rewriting past work. This is the difference between saying “do not choose this design again” and pretending it was never used. A team investigating a defect may need to see precisely which order used the older version. Removing that evidence would make the version number much less valuable.

What happens once production has started?

When an order enters production, work orders are created for its recipe’s operation lines. At that point a revision is no longer just a tidy change to a sales file. Work orders may already be open, and the people using them may have drawings and material instructions in hand. The team should compare the selected version with those existing records and agree how the change should be handled. It would be misleading to promise that a new version automatically and safely rewrites every work order in progress.

Subassemblies make this particularly easy to miss. In a multilevel recipe, a material line can point to a pinned version of another recipe. The documentation says that link can be changed until the order enters production and is locked thereafter. A newer subassembly recipe therefore does not silently replace the version attached to an in progress parent job. Check which version was pinned before interpreting an apparent mismatch between today’s product recipe and the work on the floor.

A delivered order has a separate, explicit boundary. Product rules and backend code make its recipe and version selection read only. If someone notices a technical error after delivery, editing the old record as if the job had been built differently would give future readers the wrong history. The delivery record and the decision about a later design should remain distinguishable. The fact that another order can use a better version does not require erasing the earlier one.

A practical review before changing anything

Start with the product line affected by the change. Write down the currently selected recipe version, the quoted material and operation assumptions, and any pinned subrecipe version. Establish whether the proposed change is for future offers only or also concerns this particular order. If a new version is created, add a reason that can be understood without an accompanying phone call. Confirm the selected version afterward; do not assume that opening a historical version was only a viewing action.

For a job already in production, look separately at its work orders, shop floor instructions, drawings and material decisions. The revision may be necessary, but its effects need an owner. For a delivered job, preserve the record of what happened. This approach does not require a complicated approval ritual for every minor edit. It does require the team to stop treating product history and order history as the same thing.

The useful question is not simply “Which version has the largest number?” It is “Which version was the basis for this order, and what changed after that decision?” A recipe can evolve over time while a particular order remains traceable to the choices made for it. Versioning helps make that possible, provided the team treats a selection, a new revision and a change to running production as distinct operations.

The infab.cloud site puts recipe history in the broader production workflow, while the documentation explains the version and subrecipe boundaries in detail.

Verification note: This article was checked against the Turkish infab.cloud recipe and rules documentation and the product repository’s version selection and delivery lock code. The order in the example is fictional.