6 min read · ERP and CRM

Warehouses that hold items with expiry dates, such as food, pharmaceuticals, chemicals or coatings, have a problem if pickers simply take the box they see first: the older lot gets pushed to the back of the shelf and expires in the warehouse. FEFO (First Expired, First Out) means the lot that expires first leaves first. It differs from FIFO (first in, first out), which looks only at the date of receipt.
This article covers what to record at receipt, how location labels help, how the system suggests a lot, what to do with near-expiry lots, and when a picker should take a different lot. The examples are hypothetical.
Why FIFO alone is not enough
Stock received later can expire sooner. For example, a manufacturer may deliver a lot that was produced long ago, or two products may have different shelf lives. If you look only at the receipt date, the picking order is wrong from the start.
FEFO needs two pieces of data attached to every item: the lot number and the expiry date. If these are not recorded at receipt, the system cannot choose for you.
What to record at receipt
- The lot number as printed on the product label
- The expiry date, or the production date together with the shelf life if that is how the label gives it
- The quantity actually received, and the condition of what was received, for example dented cartons or loose labels
- The location where it was put away
Read the label on the actual goods; do not copy only from the delivery note, because the delivery note may not match what arrived. If there is no expiry date, or the lot number cannot be read, set the goods aside in a pending-inspection area and do not put them on normal shelves yet.
Location labels and keeping lots separate
The system knows which lot is in which location only when what is stored and what is recorded agree. If two lots are mixed on one pallet, the picker cannot tell them apart, and even a correct suggestion from the system can lead to a wrong pick.
- Keep one lot per product in each location, or divide the bay clearly.
- Put a location label on the shelf and a lot label on the pallet or carton, matching what the system has recorded.
- Have the picker scan the location label and the lot label to confirm, instead of typing them in.
- If goods are moved, record the move in the system; do not just move them by hand.
How the system suggests a lot
Many ERP packages have this option. Odoo, for example, lets you set a storage location to FEFO so it picks the lot that expires first, and splits the pick across several lots when one lot is not enough. The general sequence is as follows.
- Set the product to be tracked by lot and expiry date.
- Set the removal rule to FEFO on the product or on the storage location.
- When a sales order arrives, the system reserves from the lot that expires first.
- The pick list shows the lot, the location and the quantity to pick.
- The picker scans the lot actually picked. If it differs from the suggestion, the system must warn and ask for a reason.
- After shipment, the system deducts stock by the lot actually picked, so you can trace which lot went to whom (lot traceability is covered in a separate article).
Near-expiry lots and lots that must not be picked
| Situation | What to do | Who decides |
|---|---|---|
| A lot's remaining life reaches the warning threshold (for example 30 days; a hypothetical figure) | Show it on a weekly report, tell sales to push it, or tell purchasing to hold back orders | Warehouse supervisor and sales |
| The customer sets a minimum remaining shelf life | The system skips lots with less remaining life than the threshold and selects the next lot | Set according to the customer agreement; sales confirms |
| The lot has expired | Move it to a quarantine location, block picking, then decide whether to destroy it or return it to the supplier | Quality, or whoever is responsible under company policy |
| The lot is on quality hold | Set a status that blocks reservation so the system does not suggest this lot | Quality |
When a picker should take a different lot
The system can only suggest from the data it has. The person at the shelf sees the real goods, so there should be a rule for when picking something different from the suggestion is allowed.
- The suggested lot is damaged, the packaging is torn, or there are signs of moisture.
- The label is unreadable or does not match what the system recorded.
- The suggested lot is deep in the rack or high up, and taking it down would be unsafe without waiting for a forklift.
- The customer specified a particular lot or remaining life.
Every time a picker takes something other than the suggestion, they should scan the lot actually picked and choose a reason; no quiet changes to the numbers. The warehouse supervisor should review the picks that differed from the suggestion every week. If there are unusually many, it usually means there is a problem with how goods are stored or recorded.
Hypothetical example
Take one chilled sauce product. Suppose today is 1 December and there are 3 lots.
| Lot | Expires | Remaining life | Quantity in warehouse (cartons) |
|---|---|---|---|
| A | 12 Dec | 11 days | 40 |
| B | 20 Dec | 19 days | 60 |
| C | 5 Jan | 35 days | 100 |
The warehouse holds 40 + 60 + 100 = 200 cartons in total. In the first case, a sales order for 70 cartons comes from a customer with no remaining-life requirement. The system suggests all 40 cartons of lot A and another 30 from lot B, 70 in total. After shipment, 30 cartons of lot B and 100 cartons of lot C remain, 130 in total, which equals 200 minus 70.
In the second case, a customer requires at least 15 days of remaining life. Lot A has only 11 days, so it fails the requirement. The system skips it and suggests 60 cartons from lot B and 10 from lot C, 70 in total. The 40 cartons of lot A are still in the warehouse, and someone has to decide whether to sell them to a customer without the requirement, discount them, or make some other plan before they expire in 11 days.
Common mistakes
- Recording lot and expiry date incompletely at receipt and filling them in later from memory.
- Receiving several lots as a single line under one lot number.
- Setting the FEFO rule on the product while the storage location still uses another rule, so the system's suggestion is not what you expect.
- Having no quarantine location, so expired or held lots still sit among normal stock.
- Letting pickers change lots without scanning and without giving a reason.
Limits and cautions
The system suggests the right lot only as far as people record the data correctly. If a label is wrong or goods are received wrongly, the system cannot know. In a cold store, test the scanner with gloves, with condensation, and with batteries that drain quickly in the cold before real use. Remaining-life thresholds, how to handle expired goods, and the requirements for food or pharmaceutical products must be checked with your quality owner and the relevant regulator. The figures and dates in this article are hypothetical examples, not data from a real site.




