Let me give you the conclusion first: with FEFO, the algorithm is never the problem. The data is. Every wms lot expiry fefo configuration looks beautiful in a demo. Three months after go-live the warehouse starts shipping short-dated stock, and when you trace it back, nine times out of ten it died at the receiving dock — because the expiry field was optional. A busy receiver skips it, the system either throws an error nobody reads or quietly fills in a default date, and FEFO then ranks fake data with total confidence. If expiry can be blank at receiving, everything configured downstream is self-deception.
Two years ago I reviewed exactly this failure for a beverage and snack distributor. A pallet of imported cookies arrived, the receiver did not want to key expiry dates case by case, so he received quantity only and left expiry empty. The system backfilled a far-off default date. In every FEFO ranking after that, this pallet sorted last. Newer stock shipped; it sat for over half a year, until a cycle count surfaced it with forty-some days of shelf life left. The customer's minimum was six months. The whole pallet was rejected — written off or dumped into a discount channel.
Start at the Receiving Dock: WMS Lot Expiry FEFO Configuration Lives or Dies on Mandatory Fields
My rule is simple. First decide, in item master data, which categories are expiry-managed. For those, lot and expiry date are both mandatory at receiving — missing either one, the system will not complete the receipt and will not allow putaway. Do not talk to me about 'receive now, key it in later.' I have seen 'later' too many times; later never comes. If the supplier sends an ASN, pre-fill from it, but verify against the date printed on the goods. When the two disagree, the physical product wins; correct the record on the spot and leave an audit trail.
There is a trade-off here and I will state it plainly: mandatory expiry capture slows receiving down. Checking dates and keying lots adds a few minutes per pallet, and in peak season, with trucks queuing, the operations manager will not smile at you. But count the whole bill. Those minutes at the dock buy you zero wrong-lot shipments downstream. Slowness at receiving can be fixed with appointment scheduling, advance ASNs, and a second pair of hands. Wrong expiry data cannot be fixed anywhere downstream, at any price.
One more rule: ban default dates. A system that lets a missing expiry silently become a fixed far-future date pays receivers to be lazy. Let the task jam at the dock and scream. A jam is visible; a fake date is invisible until it explodes.
Allocation Rules: FEFO Is a Ranking, Not a Religion
Once receiving data is clean, allocation gets its turn. The primary FEFO sort — earliest expiry ships first — is not controversial. What needs thought is ties and near-ties. My usual configuration looks like this:
| Situation | Allocation rule | Why |
|---|---|---|
| Expiry dates clearly apart | Strict FEFO order | Move the closest dates out first |
| Expiry within a few days | Treat as one pool; use receipt order and nearest location | Avoid walking half the warehouse for a two-day difference |
| Full-pallet orders | Prefer a full pallet that meets the date rule | Saves breaking pallets and re-checks |
| Below a customer's shelf-life floor | Hard block, no allocation | Human memory always leaks eventually |
Here is the counter-intuitive part: the more rigidly you enforce FEFO, the more chaos you can create. Two lots expire three days apart. Pure FEFO sends the picker past the pallet at his elbow to walk to the far end of the building for the one that expires three days sooner. Multiply that by a day of orders and you have paid for a lot of extra walking and broken pallets. Lots inside a window you define — a few days, set by category — should be treated as equivalent, and the system should pick the nearer one or the full pallet. That is not breaking FEFO. That is giving FEFO room to breathe. Set the window in configuration, per category, and do not leave it to a picker's judgment in the aisle.
Customer Minimum Remaining Shelf Life Belongs in the System, Not in Someone's Head
For distributors and 3PLs, the thing that actually bites is rarely FEFO itself. It is the per-customer minimum remaining shelf-life rule. One customer demands at least 180 days remaining on delivery. Another works on a percentage of total shelf life. A third never wrote anything down but complains loudly when short-dated stock arrives. Rules that live in a customer service rep's memory, or depend on a picker glancing at dates before shipping, will fail — it is only a question of when. The rules belong in configuration, evaluated during allocation: before a lot can be assigned to a customer, the system checks remaining life against that customer's floor. Lots that fail are excluded from that customer's allocation, and a manual override requires approval.
Last year one of this distributor's customers changed buyers, and the new buyer raised the floor from 180 to 270 days. The email went to customer service, who forwarded it to the warehouse manager, who was on vacation. The system kept the old floor and duly shipped stock with about 200 days remaining. The load was rejected at the customer's dock. Whose fault? Nobody's, individually — the fault is a rule traveling by email instead of living in the system. A wms lot expiry fefo configuration can be tuned to perfection and still be decoration if customer shelf-life rules never make it into the configuration. Rule changes need one fixed front door: who notifies, who edits the configuration, who verifies — logged, effective within days, never touring inboxes.
Short-Dated Stock Needs a Legal Exit, Not a Back Door
Last, the exceptions. No configuration, however strict, prevents short-dated stock from existing: customers cut orders, forecasts overshoot, returns come back. The dangerous warehouse is not the one with short-dated stock; it is the one with no legitimate way to move it, where a supervisor quietly blends it into normal orders and bets nobody checks. Build the exit before you need it. The system should flag stock by remaining life — warning zone, frozen zone. Frozen stock moves only through approved paths: discount channel, return to supplier, write-off, each with a document number and an approver. Shipping an exception to a customer is not forbidden, but the sequence matters: written customer confirmation first, system record second. Reverse that order and you have an incident, not an exception.
Now the arithmetic. Take a rejection like the cookie pallet: round-trip freight, re-handling labor, the discount-channel price haircut, and the customer service hours spent apologizing. Together they easily eat twenty to thirty percent of that pallet's margin — and that ignores the trust you spent. The cost of preventing it? A few extra minutes per pallet at receiving and half a day of honest thought during configuration. The work is all upstream: mandatory capture at receiving, customer rules inside the system, a legitimate exit for short-dated stock. Get those three right and the parameters on the configuration screen can hardly go wrong. Get them wrong and all you have done is sort fake data more neatly. Tell me that is not exactly how it goes.
By Lao Mi, Supply Chain Veteran (20 yrs)







