Stock management

Batches, expiry dates and FEFO in the warehouse: a guide for food distribution in Algeria and Africa

By INVENTCORPUpdated 3 min read

For a distributor of dairy, canned goods, beverages or medicines, stock has a date. A carton picked in the wrong order ends up as a return, a write-off or a dispute. A product recall without batch traceability means blocking an entire warehouse. The question is not only "how much is in stock?" but "which batch, which date, where, and at which customer?".

Disclosure: INVENTCORP builds custom stock tracking systems, including RFID. The grid below applies to any software: standard WMS, Odoo's or another ERP's inventory module, or a custom system.

FIFO or FEFO?

  • FIFO (first in, first out): ship what arrived first.
  • FEFO (first expired, first out): ship what expires first, even if it arrived later.

In food and pharma, FEFO is the rule. Two deliveries of the same item can arrive out of date order. Only a system that knows each batch's date can enforce the right order for the picker.

What the system must do

Step Requirement
Receiving Batch and date entered or scanned for each pallet or carton; rejected if remaining shelf life is below the set threshold
Put-away Batch and date linked to the location
Picking The system says which batch to take, by FEFO, and blocks a non-compliant batch
Customer shelf life Minimum remaining shelf life enforced per customer or channel (modern trade, export)
Alerts List of batches close to expiry, early enough to promote or transfer
Variances Each variance linked to a batch, a movement, a user and a time
Recall Find within minutes where a batch is: in stock, in transit, at which customers
ERP Movements and values sent to the ERP, which stays the accounting reference

Acceptance tests

Test Data Acceptance criterion
Multi-batch receipt One delivery with 3 batches and 3 dates for the same item Three separate batches created and stored
Short date A batch received below the remaining shelf-life threshold Receipt blocked or sent for approval
FEFO order Newer batch stored in front of an older one closer to expiry System sends the picker to the batch expiring first
Wrong batch Picker scans the wrong batch Immediate alert, picking blocked
Customer requirement Customer requiring 60% remaining shelf life Only compliant batches offered
Simulated recall One batch number Stock, transit and delivered customers listed in under 15 minutes
Cycle count One aisle counted by batch Variances listed by batch and location

Scanners and labels

GS1-128 and GS1 DataMatrix codes carry batch and date in the barcode: one scan is enough. If your suppliers do not label this way, plan an internal label at receiving. Test terminals in cold rooms: gloves, condensation, battery.

What we do at INVENTCORP

We build custom stock tracking systems: movements captured in the field, several warehouses in one view, same-day alerts and a connection to your ERP. For food and pharmaceutical distribution, we start with a pilot in one warehouse using the tests above, so you decide on measured results.

See also Stock management software in Algeria for receiving and picking tests and the eight-week pilot.

Frequently asked questions

What is FEFO?

FEFO means "first expired, first out". You ship the batch with the nearest expiry date first, even if it arrived after another. It is the rule in food and pharmaceutical distribution.

What is the difference between FIFO and FEFO?

FIFO ships what arrived first. FEFO ships what expires first. They give the same result only if deliveries arrive in date order, which is not always the case.

How do I handle a batch recall in a warehouse?

You need a system that records the batch at every movement, from receipt to delivery. Given a batch number, it must list within minutes the remaining stock, stock in transit and the customers delivered.

Is Excel enough to track expiry dates?

For a small stock run by one person, sometimes. Once there are several pickers, several warehouses or per-customer shelf-life requirements, Excel cannot enforce the right batch at picking time.

← All insights