FIFO & FEFO Inventory Rotation with Batch & Expiry Date Barcodes: Preventing Spoilage & Obsolescence

A warehouse operations and materials engineering guide to inventory rotation. Learn how to configure GS1-128 batch (AI 10) and expiry (AI 17) barcodes to automate FEFO directed picking and isolate product recalls.

FEFO VS. FIFO WAREHOUSE INVENTORY ROTATION DYNAMICS FEFO: FIRST-EXPIRED, FIRST-OUT 1 LOT-9941 • EXP: 2026-11-15 Expires in 28 Days → WMS Picks FIRST 2 LOT-9942 • EXP: 2027-04-30 Expires in 180 Days → Held in Reserve Mandatory for Pharma & Food Eliminates shelf expiration waste & scrap Encoded via GS1-128 AI (17) YYMMDD FIFO: FIRST-IN, FIRST-OUT A INGEST: 2026-08-01 (Day 1) Oldest Receipt → WMS Picks FIRST B INGEST: 2026-10-15 (Day 75) Newer Receipt → Held in Reserve Best for Non-Perishable Goods Prevents packaging dust & design obsolescence Tracked by WMS Goods-Receipt Timestamp
Figure 71.1: Operational comparison between FEFO (expiration date driven) and FIFO (receipt timestamp driven) warehouse inventory rotation flows.

1. Principles of Rotation: FIFO vs. FEFO Operational Demarcation

In supply chain management, improper inventory rotation leads directly to balance sheet write-downs, spoilage, and regulatory penalties.

Warehouses utilize two distinct mathematical rotation models:

  • FIFO (First-In, First-Out): Inventory is dispatched in the exact chronological sequence in which it was received into the warehouse. FIFO is optimal for durable goods (consumer electronics, apparel, hardware, and automotive spare parts). It ensures that older packaging revisions and older product iterations do not gather dust in dark corners of the racking.
  • FEFO (First-Expired, First-Out): Inventory is dispatched based strictly on the manufacturer expiration date, completely ignoring the arrival date. In pharmaceutical manufacturing, blood banking, clinical diagnostics, and food packaging, a consignment delivered today might have an earlier expiration date than a consignment delivered three weeks ago (due to supplier transit delays or differing production runs). Dispatching by FIFO would result in the older batch expiring on the shelf, leading to massive financial waste and patient risk. FEFO is statutory under US FDA 21 CFR Part 211, EU GMP Annex 16, and FSSAI rules.
GS1-128 TRACEABILITY PAYLOAD: GTIN, EXPIRY & BATCH (01) 00890103004812 (17) 271231 (10) BATCH-9941 AI (01): GTIN-14 Fixed 14 Digits (Master Product SKU) AI (17): EXPIRY DATE Fixed 6 Digits: 271231 = Dec 31, 2027 AI (10): BATCH / LOT Variable Length: BATCH-9941 Scanners Transmit Exact Expiry Telemetry Directly to WMS Inventory Allocation Engines
Figure 71.2: GS1-128 multi-element symbology encoding Global Trade Item Number (AI 01), expiration date (AI 17), and batch lot number (AI 10).

2. GS1-128 and 2D Data Matrix Payload Syntax for Batch and Expiry

To execute automated FEFO rotation, the physical barcode must carry structured date attributes:

  • AI (17) - Expiration Date (Use By): Fixed 6-digit numeric format: YYMMDD. Example: 271231 represents December 31, 2027. If day of month is not specified by the manufacturer, GS1 rules dictate encoding the day as 00 (e.g., 271200 = End of December 2027).
  • AI (15) - Best Before Date: Fixed 6-digit numeric format: YYMMDD. Used in food products indicating peak sensory quality.
  • AI (10) - Batch or Lot Number: Variable-length alphanumeric string up to 20 characters. Identifies the specific manufacturing shift, reactor vat, or packaging run.

In pharmaceutical blister packaging and serialized medical devices, these three elements are encoded inside a high-density 2D Data Matrix ECC 200 symbol printed directly on foil or cartons.

3. WMS Directed Picking Algorithms & Lockout Verification

Modern warehouse software (WMS) does not allow workers to choose which pallet to pull. Instead, it utilizes directed algorithmic routing:

  1. Allocation Engine: When an outbound order is released, the WMS queries inventory tables, sorting all available locations by Expiry_Date ASC. The pallet or carton with the earliest expiration date is allocated first.
  2. Interlocking Scanner Lockout: The picker's handheld terminal directs them to Aisle 14, Bay 08, Level B. If the picker attempts to scan a carton from Level C (which contains a newer batch with 6 months more shelf life), the mobile scanner emits an immediate error alarm and locks the screen.
  3. Exception Override Authority: The lock can only be bypassed by a supervisor entering a 4-digit PIN with a mandatory reason code (e.g., "Physically Blocked / Damaged Pallet").
RAPID BATCH RECALL & QUARANTINE ISOLATION PIPELINE 1. RECALL TRIGGER • Regulatory Notice • Contamination Alert • Supplier Notice Input Batch Code: LOT-9941 2. WMS SYSTEM LOCK LOCKED Instant database freeze across all 50k locations Completed in < 2 Sec 3. DIRECTED MOVE • Auto Forklift Tasks • High-Bay Retrieval • Red Quarantine Tag Transport to QA Secure chain of custody 4. QA CAGE SECURE ISOLATION Full Regulatory Recall Traceability Executed in Minutes Without Manual Audits
Figure 71.3: End-to-end automated recall isolation pipeline: entering batch code, instant WMS database lock, directed forklift retrieval, and quarantine cage storage.

4. Automated Quarantine and Recall Management Workflows

When a pharmaceutical manufacturer or food brand issues a Class I or Class II recall, speed is paramount. Under manual paper ledgers, locating every pallet, carton, and loose unit belonging to an affected lot takes 48 to 72 hours.

With closed-loop batch barcoding, the quarantine execution takes under 5 minutes:

  1. WMS Global Freeze: The quality assurance director enters LOT-9941 into the WMS quarantine portal.
  2. Instant Electronic Hold: In seconds, the WMS flags every database record containing that batch string with status HOLD_QUARANTINE. No picker can scan, move, or ship those items; any attempted scan throws an emergency safety lockout.
  3. Automated Directed Putaway: The system automatically dispatches high-priority tasks to forklift drivers, routing them to the exact rack coordinates holding the recalled pallets. Drivers apply high-visibility red Quarantine Barcode Tags and transport the goods into a physically locked wire-mesh QA enclosure pending disposal or return to manufacturer.

5. Cold-Chain Excursions & Dynamic Expiry Adjustments

In advanced biotechnology logistics, expiration dates are no longer static. If a pallet of temperature-sensitive vaccines experiences a cold-chain breakdown (e.g., spending 6 hours on a hot airport tarmac at +25°C instead of +4°C), the biological shelf life degrades.

Leading distribution centers utilize dynamic barcode relabeling:

  • Electronic data loggers communicate thermal excursion data to the cloud via Bluetooth or RFID.
  • Kinetic stability algorithms compute the remaining accelerated shelf life (e.g., degrading expiration from 12 months down to 45 days).
  • The WMS updates the database record and commands a mobile printer to issue an updated GS1-128 barcode reflecting the revised AI (17) date, automatically shifting the pallet to the highest priority slot in the FEFO dispatch queue.
Inventory Control Sponsor: Automated FEFO Warehouse Software & Batch Barcode Printers

6. Frequently Asked Questions

What is the primary difference between FIFO and FEFO inventory rotation in warehouse management?

FIFO (First-In, First-Out) pulls the stock that arrived earliest, preventing packaging and design obsolescence for non-perishable goods. FEFO (First-Expired, First-Out) prioritizes stock based strictly on manufacturer expiration date regardless of arrival date, which is legally mandated in pharmaceuticals and food processing.

Which GS1 Application Identifiers encode batch numbers and expiration dates?

GS1 standards utilize AI (10) for variable-length alphanumeric Batch/Lot numbers, AI (17) for fixed 6-digit Expiration dates (format YYMMDD), and AI (15) for Best-Before dates (format YYMMDD), enabling WMS scanners to automatically validate rotation sequences.

How does a WMS prevent an order picker from accidentally taking a newer batch?

The WMS allocation algorithm specifies the exact batch and expiry date to pull. If the picker scans a carton from a newer batch, the mobile terminal throws an error buzzer and locks the screen, preventing order completion until the correct expiring stock is scanned.

How quickly can a warehouse quarantine a recalled batch using barcode tracking?

With closed-loop batch barcoding, a warehouse manager queries the recalled lot number in the WMS, instantly locking all matching pallets across every rack location in seconds. The system dispatches forklift tasks to move the quarantined pallets into a secure QA cage within minutes.