Case studies · Inventory · Pharmacy & parapharmacy

How an Online Pharmacy Traces Every Parcel in a Batch Recall

Online pharmacy & parapharmacy~20,000 SKUs · 1 warehouse

Each product is tracked by batch from receipt to parcel

The case on video

This online pharmacy and parapharmacy is operated by a community pharmacy. It sells non-prescription medicines, dermo-cosmetics, and supplements from one fulfillment warehouse. Many products carry an expiry date or a best-before date. The Magento 2 store mainly receives small, multi-line orders. Purchases are placed with pharmaceutical wholesalers and laboratories, often through the pharmacy management system (LGO).

Listen to the case analysis
0:00 / 0:00
Problem
Batches in a spreadsheet, short-dated stock found during counts, and hours of searching when a batch is recalled
Setup
Batch and expiry data are captured at receipt. The batch is assigned for picking and retained on every shipment.
Result
100%batch-traced parcels

01 / Before

Where they started

Without continuous tracking, batch information stopped in a spreadsheet or was never recorded. Pickers took the nearest box with no assigned batch. Short-dated stock surfaced during an inventory count instead of through the normal outbound flow. When a recall reached the pharmacy through DP-Rappels, the recall channel run by France's Ordre des pharmaciens, the team had to work back through order history to find the affected patients.

What kept going wrong

  1. 1

    Keep batch and expiry data after supplier receipt

  2. 2

    Assign the earliest-expiry stock first

  3. 3

    Find every order and customer affected by a recall

02 / Configuration + custom work

What we set up

Batch and expiry tracking is enabled only for products that require it. At supplier receipt, the team records the batch and date; a CSV import can speed up the task. When an order enters picking, myFulfillment assigns the batch with the earliest expiry. The packer confirms that batch at the packing bench. The shipment record then records the batches packed in the parcel.

A batch-number filter displays the orders shipped with that batch and the patients to contact. The setup applies the first-expired, first-out (FEFO) best practice by assigning the earliest-expiry batch first. The rest of the order follows the standard flow: picking waves, a scan for every item at packing, and a Colissimo label. Replenishment suggestions use sales history to prepare purchases from pharmaceutical wholesalers and laboratories, often through the LGO.

Custom development

As part of the custom setup, medicine-box Data Matrix reading was added at goods receipt. It captures the CIP13, batch number, and expiry date. The standard path remains available: the team can enter these details or import them by CSV.

03 / Before · After

What changed

  1. 01Batch at shipping

    Before

    Not recorded

    After

    Retained on every shipment

  2. 02Batch selection

    Before

    Nearest box

    After

    Earliest-expiry batch assigned for picking

  3. 03Batch recall

    Before

    Manual order search

    After

    Order list returned by one filter

At receipt, the batch number and expiry date are recorded against the product’s stock. During picking, the team follows the assigned batch instead of choosing a box at random. At packing, the operator confirms what actually leaves. The first-expired, first-out best practice guides assignment according to the setup. When DP-Rappels flags a batch, the pharmacist filters on that number in myFulfillment and gets the orders to review and patients to contact without rebuilding the trail across several files.

What this case shows

The link between a batch and an order is not reconstructed later. It is created at receipt, retained when the batch is assigned for picking, and confirmed at packing. Filtering by batch number returns the relevant shipments and customers directly.

Inventory

Batch tracking beyond medicines

The same flow applies when a catalog must retain a batch and date for every unit shipped.

  • Dermo-cosmetics with expiry or best-before dates
  • Supplements purchased from several laboratories
  • Wellness products subject to batch recalls
The Boostmyshop team at a working session
The Boostmyshop team.

Your turn

Got the same problem?

Walk us through how your team works. We’ll tell you what configuration covers and what needs custom work.

All case studies →

« We built this one. Let’s talk about yours. »

Olivier
OlivierOperations Strategist

More cases at the same step

All case studies →