Back

Why does a line with no expiry date appear with FEFO on, and does FEFO pick expired dates?

With Automatically Assign Oldest Expiry Date (FEFO) on, the line's quantity is spread over valid batches (expiry on or after the invoice date) from nearest to farthest by available stock. If valid batches are not enough and Negative Inventory is set to Allow for all items, the remaining quantity goes on an extra line with no batch; otherwise only the available quantity is assigned and a message shows, such as “Insufficient valid stock to fulfill this quantity. Available: 30 units across non-expired batches. Expired batches must be assigned manually if needed.”

  • Example: 45 requested with 20 + 10 available → lines of 20, 10 and 15 (no batch) when negative inventory is allowed for all items, or two lines of 20 and 10 with the message when it is not.
  • On the outbound requisition FEFO leaves a line that already has a batch as it is; on the invoice it skips quantities other lines of the same invoice already took from the same batch.
  • Expired batches are never auto-assigned, even when selling expired items is allowed.
  • Lines stay editable before saving: pick a batch for the last line manually, reduce the quantity, or delete it.
Cause Fix
Valid stock is below the request. Reduce quantity or add stock.
Remaining stock is in expired batches. Pick the batch manually if selling expired items is allowed.