Skip to content

Systems and records

Right overrides often look wasted: the safety stock override dataset

By SourceX Editorial · Reviewed by Noah Loul ·

9 sections

Short answer

A safety stock override dataset rebuilds each manual change to a system safety stock level: the evidence the planner had, the constraint it answered, who approved it, when it should end and what happened while it ran. Outcomes alone mislead. An override that lifts protection from 70% to 95% for a two-cycle promotion shows no prevented stockout 56% of the time, so grade the evidence, not the result.

License terms

Safety stock override

This page covers right overrides often look wasted: the safety stock override dataset.Illustrative

Key takeaways

  • Planning systems store the new safety stock and its date; the reason, approver and intended end usually live in email, calendars and supplier notices.
  • A reload or recalculation can silently replace an override, so expiry has to be recorded as a date or an event, not inferred from when the number changed back.
  • Open mSupply lets users change a general order's target months of stock by default and stores no reason for it; a variance reason is demanded only on program order lines.
  • An override changes the outcome only in the gap between two service levels, so most right overrides look unused in a short window.
  • Label each episode supported, oversized, unsupported, constraint-breaking or stale, using evidence dated before the change.

What should a safety stock override dataset reconstruct?

It should rebuild five things for every change a planner made to a system-calculated safety stock: the evidence the planner had, the constraint the change answered, who authorized it, when it was meant to end, and what happened while it was in force. Most records keep only the new number and the date it was entered. The rest has to be recovered from the email, calendar, supplier notice or chat message that prompted the change.

A safety stock override, in this article, is any manual change that replaces the level a planning system computed or a policy set, whether by typing a new quantity, editing a service level or changing a target such as months of stock. The override can raise protection, for a promotion or an unreliable supplier, or lower it, for shelf space, storage limits or an item being phased out.

AI teams want these episodes because an agent that proposes or reviews overrides needs to learn what a good reason looks like. Training on the numbers alone teaches it to copy the planner's habits, including the unjustified ones.

Where the system level and the override actually live

Usually in a dated master-data row or a single field, with no place for the reason. Oracle Inventory's safety stock window has the planner enter a safety stock effective date and then the quantity, and offers three methods: a user-defined quantity, a user-defined percentage and mean absolute deviation. For the statistical method, Oracle's reorder point documentation gives safety stock as Z times 1.25 times the mean absolute deviation of forecast from actual demand, with Z taken from the normal distribution for the service level the user specifies.

The same documentation shows how an override can disappear without anyone deciding to end it. Reloading safety stocks asks for a starting date on or after which existing safety stock quantities are replaced by the results of the calculation. A manual raise entered for a six-week supplier problem survives only until someone runs that reload, which may be long before or long after the problem ends.

SAP's S/4HANA help describes entering a minimum safety stock in the material master's MRP 2 screen, a field on the material record rather than a dated entry. Oracle's entry records when a level takes effect and SAP's field records the current value. Neither documented entry has a field for why, for how long, or on whose authority, so a dataset that needs those answers has to join records from outside the planning system.

What one open-source supply system keeps when a user changes its buffer

It keeps the new target and recalculates, but stores no reason, expiry or prior value for the change. Open mSupply, which its README describes as pharmaceutical supply chain management and dispensing software, makes a useful case study because its code is public. Reading the server code at commit a14a42a (27 October 2026) shows how its buffer works and what a change leaves behind.

A store's default target for a general internal order is its supply interval plus a safety buffer, both taken from properties on its facility record and expressed in months of stock. A store preference, on unless set otherwise, lets users change that target on the order. When they do, the update writes the new minimum and maximum months onto the order and recalculates every line. The update input has fields for a comment, a colour, a reference and an expected delivery date, but none for a reason, and the activity log entry in that update path records the order being sent, not the target being changed. Program orders work differently: their target comes from the order type and cannot be edited at all.

Line quantities are where a reason can be demanded. The suggested quantity is zero while stock on hand covers more months than the order's threshold; otherwise it is the maximum months minus current months of stock, multiplied by forecast monthly consumption and rounded up. On program orders in stores that use customer consumption and stock, a requested quantity that differs from the suggestion is rejected unless the user picks a variance reason, provided active reasons have been set up. The reason is a code from a short list, stored with the line; general orders need none. The four cases side by side:

What one open-source supply system keeps when a user changes its buffer
Change a user makesWhat the code storesWhat a dataset would still need
Raises or lowers the target months of stock on a general internal orderNew minimum and maximum months on the order; lines recalculatedThe prior target, the reason, who approved it and when it should revert
Requests a quantity above or below the suggestion on a program orderThe requested quantity plus a variance reason code, when the store requires oneThe evidence behind the code and an expiry
Requests a quantity above or below the suggestion on a general orderThe requested quantity and an optional free-text commentAny structured reason at all
Changes the safety buffer on the facility recordThe current buffer value as a propertyWhen it changed and why

Six reasons planners override, and the record each one leaves

Most overrides answer one of six situations, and each leaves a different trace outside the planning system if anyone kept it. The trace is what turns a typed number into a labeled decision.

Some overrides encode real constraints the system ignores. In a study of a supermarket chain published in Management Science in 2010, van Donselaar, Gaur, van Woensel, Broekmeulen and Fransoo found that store managers systematically adjusted automated order advice, mainly shifting orders from peak to non-peak days. The adjustments tracked product traits such as case pack size relative to demand and shelf space, and the authors read them as managers accounting for in-store handling costs and sales gained from better availability, which the system left out. An override dataset should be able to tell that kind of correction from habit.

The six situations and their traces:

  • Known demand event: a promotion, tender or seasonal launch. Trace: the marketing calendar, a signed customer order or a tender award, each with dates that also set the natural expiry.
  • Supplier risk: allocation notices, repeated late deliveries or a plant shutdown. Trace: the supplier's notice and the receipt history that shows the pattern.
  • Expected quality losses: a lot on hold or a reject rate above plan. Trace: the hold or inspection record.
  • Structural demand change: a new customer, a lost account or a product replacing another. Trace: the contract, the cancellation or the bill of materials change.
  • Physical or financial limits that lower stock: shelf space, cold-chain capacity, shelf life or a working capital cap. Trace: the capacity figure or budget instruction in force on the date.
  • Distrust of the forecast with no specific event. Trace: usually none, which is itself the finding.

The override decision packet and constraint matrix

Each episode needs a packet that holds the decision as it stood on the day, and a constraint matrix that tests whether the override could have been right. The packet is what the planner knew; the matrix is what could have made the change wrong even with a good reason.

The packet has eight fields: the item and location; the system level before the change and how it was computed; the new level and its effective date; the reason class from the six above; the evidence record and its date, which must precede the change; the approver and the authority they held; the intended end, as a date or an event; and the outcome window, with stock, shortages and write-offs while the override was in force. A packet missing the evidence date cannot be graded, because a reason found after the fact proves nothing about the decision.

The constraint matrix, below, lists the condition that can make an override wrong for each reason class, and the event that should end it:

The override decision packet and constraint matrix
Reason classEvidence available at the timeNatural end of the overrideConstraint that can make it wrong
Known demand eventPromotion calendar, signed order or tender awardThe event's end dateStorage capacity or shelf life cannot absorb the extra stock
Supplier riskAllocation notice or late-receipt historySupplier's recovery notice or a set number of on-time receiptsThe raise is ordered from the same constrained supplier, so it cannot arrive in time to help
Expected quality lossesHold or inspection recordLot released or reject rate back within planHeld stock already counted as available, so the raise double counts
Structural demand changeContract, cancellation or bill of materials changeThe system relearns the new demand levelThe system already adjusted, so the override doubles the change
Physical or financial limit (lowers stock)Capacity figure or budget instructionLimit liftedService level falls below a contractual commitment
Forecast distrustNone specificNone statedHolding cost with no identified risk; the default label is unsupported

Right overrides often look wasted: why outcomes cannot grade them

Because a well-founded override changes the outcome in only a minority of replenishment cycles. Cycle service level is the share of cycles that end without a stockout, and since a higher safety stock only adds protection on top of the lower one, the share of cycles where an override makes the difference is exactly the gap between the two service levels, whatever the demand distribution.

Take four Illustrative cases. A planner who lifts an item from a 90% to a 98% cycle service level prevents a stockout in 8 of every 100 cycles; in the other 92, the extra stock either sat unused or was not enough. A planner who knows a promotion is coming, under which the system's level would protect only 70% of cycles, restores 95% and changes the outcome in 25 of 100. A comfort top-up from 95% to 99% with no new information changes it in 4 of 100, and a raise after a supplier allocation notice, from 80% to 95%, in 15.

Now look at how little a short window shows. Treating cycles as independent, the promotion override, the best-founded of the four, shows no prevented stockout in either of two cycles 56% of the time, and the 90-to-98% top-up shows none in 12 cycles 37% of the time, against 61% for the comfort top-up. An outcome label such as stockout avoided or stock unused will call most right overrides wasted. Grade the decision on the evidence and constraint fields, and use outcomes only across many episodes of the same reason class.

Right overrides often look wasted: why outcomes cannot grade them
Illustrative caseService level before and afterCycles where it changes the outcomeNo visible save in 2 cyclesNo visible save in 12 cycles
Top-up on a regular item90% to 98%8 of 10085%37%
Known promotion70% to 95%25 of 10056%3%
Comfort top-up, no new information95% to 99%4 of 10092%61%
Supplier allocation notice80% to 95%15 of 10072%14%
Two grids of 100 replenishment cycles: an informed promotion override changes the outcome in 25 cycles and a comfort top-up in 4, while most cells in both grids show stock that was not needed that cycle.
Per 100 replenishment cycles, from the article's service-level arithmetic. Illustrative service levels.

Is the planner correcting the system or padding the shelf?

Test the change against its own stated reason before deciding either way. The cheapest action for a planner under pressure is to raise stock: a shortage is visible and blamed, while excess shows up later as holding cost, expiry or obsolescence that nobody traces back to one keystroke. That asymmetry predicts upward overrides without evidence, and the dataset should count them rather than assume them away.

The opposite failure is real too. A planner who lowers stock to fit a cold-chain room or a cash cap may be the only person in the process respecting a constraint the system cannot see. An agent trained to undo every downward override would break the limit the planner was protecting.

Five labels cover the outcomes of the test: supported, where evidence dated before the change matches the reason and no constraint was broken; supported but oversized, where the reason was real but the size exceeded what the evidence implied; unsupported, where no evidence exists; constraint-breaking, where the override violated a storage, shelf-life or budget limit; and stale, where the reason's natural end passed and the override stayed in place.

Illustrative episode: one raise rebuilt from five records

Here is an Illustrative override rebuilt from five records. A planner raises the safety stock of a pump seal kit at one warehouse from 200 to 320 units on 3 March, entering a new dated safety stock row. Nothing in the planning system says why.

The supplier's allocation notice, dated 27 February, limits shipments to 70% of ordered quantity for six weeks; that is the evidence and it predates the change. A chat message on 2 March shows the materials manager approving the raise. The receipt history shows two short shipments in March, one of which drew stock down into the added 120 units. No end date was entered. The supplier's recovery notice arrives on 14 April, but the raised level stays until a routine safety stock reload replaces it on 30 June.

The labels follow. The decision is supported: a dated notice, an approver with authority and a raise of 120 units that the approval message ties to six weeks of a 30% shortfall. From 14 April to 30 June it is stale: 77 days of extra stock after the reason ended. The outcome window shows one cycle in which the override mattered, which is consistent with the case but would not have proved it on its own.

Requesting override episodes, and where this design stops

SourceX sources datasets from businesses on request rather than keeping them in stock, so the useful first step is a precise specification. For override episodes, that means the planning systems in scope, the eight packet fields each episode must carry, a minimum share of episodes with dated evidence and a named approver, a mix of raising and lowering overrides, and an acceptance test, for example that every sampled episode shows the system level before the change and an evidence record dated earlier than the override. Distributors, manufacturers and health supply operators that keep planner notes beside their planning data are the kind of companies whose records could qualify; nothing here implies such records are available now or that a given set will pass review.

The design has limits. Reconstructing reasons from email and chat raises privacy and confidentiality questions that need review before anything leaves a company, and personal details must come out while roles stay in. The service-level arithmetic is Illustrative: real cycles are not independent, demand shifts within an override's life, and fill rate behaves differently from cycle service level. The open-source case is one system, read once; commercial planning tools may store more, and their history tables can hold change dates even when they hold no reasons.

Frequently asked questions

What is a safety stock override?

It is a manual change that replaces the safety stock a planning system calculated or a policy set, by entering a new quantity, a new service level or a new target such as months of stock. Overrides can raise protection for a known event or an unreliable supplier, or lower it to respect space, shelf-life or budget limits.

Why not grade an override by whether a stockout happened?

Because an override only changes the outcome in the cycles that fall between the two service levels. Lifting an item from 90% to 98% cycle service changes the result in 8 of 100 cycles, so a correct override usually looks unused. Grade the evidence and constraints at the time, and use outcomes across many episodes.

Which records show why a planner changed safety stock?

Rarely the planning system itself. The reason usually sits in a supplier notice, a promotion calendar, a quality hold, a signed order or a message approving the change. A dataset joins those records to the dated safety stock entry and keeps the evidence date so it can be checked against the change.

Should every override carry an expiry?

Yes, as a date or an event such as a supplier's recovery notice. Without one, an override lasts until a reload or a planner happens to replace it. In the illustrative episode here, the raised level stayed 77 days after the supplier recovered.

Can an AI agent learn to override safety stock from planner history?

Only if the history separates supported changes from habit. Training on raw override rows teaches an agent to copy every adjustment, including comfort stock. Episodes labeled with evidence, constraints and expiry let it learn when a change is warranted and when to propose reverting one.

Sources

  • Oracle Inventory has planners enter a safety stock effective date and quantity, offers user-defined quantity, user-defined percentage and mean absolute deviation methods, and lets a reload replace existing quantities from a starting date. Source
  • Oracle's reorder point planning computes safety stock as Z times 1.25 times the mean absolute deviation, with Z set by the user's service level. Source
  • SAP S/4HANA documents entering a minimum safety stock on the material master's MRP 2 screen. Source
  • Van Donselaar et al. (Management Science, 2010) found store managers systematically adjusted automated order advice in ways linked to handling costs and in-stock sales the system ignored. Source
  • Open mSupply's README describes it as the open-source version of mSupply, for pharmaceutical supply chain management and dispensing. Source
  • Open mSupply sets a general order's default target months of stock as the store's supply interval plus a safety buffer from its facility record. Source
  • An open mSupply store preference, on unless set, lets users change a general internal order's target months of stock. Source
  • Open mSupply's order update writes new minimum and maximum months and recalculates lines, takes no reason field, logs the order being sent, and blocks target edits on program orders. Source
  • Open mSupply's suggested quantity is zero above the threshold months of stock, otherwise maximum months minus current months times forecast monthly consumption, rounded up. Source
  • Open mSupply rejects a program order line whose requested quantity differs from the suggestion without a variance reason, when the store preference is on and active reasons exist. Source
  • Open mSupply's reason option table holds an id, a type, an active flag and reason text; requisition line variance is one of its types. Source
  • SourceX sources datasets on request rather than from stock. Source

Tell us what data you need

Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.

See if your company qualifies