Home / Help Center / pos-app-restaurant / rest-kitchen / Lot Traceability
🔗 rest-kitchen

Lot Traceability

Lot Traceability is designed to answer "which production runs used this batch or ingredient?" — search by a supplier batch number or an ingredient name and see every production run that consumed it, so you can act quickly in a recall situation. On pos-app-restaurant this page currently does not work: it calls a backend endpoint that does not exist for the restaurant app, so every search returns a "Search failed" error.

📍 Menu path: Kitchen Operations → Lot Traceability
👤 Who uses it: All roles with the Billing feature enabled (requires the Enterprise plan tier)

Overview

This is the same Lot Traceability component used by the bakery variant (FnbLotTraceabilityPage) — it supports two search modes: "By Batch Number" (the exact batch/lot number from a supplier invoice or purchase order) and "By Ingredient Name".

A result is a list of Production Run cards, each expandable to show every ingredient used in that run, with a batch number where one was recorded and the quantity used.

It is intended purely as a lookup tool — there is nothing to create or edit here; lot data is meant to be recorded automatically whenever a production run is marked Done in Production Schedule.

On pos-app-restaurant, this page is wired to call GET /restaurant/lot-traceability, but that route is not registered on the backend for the restaurant app — only /bakery/lot-traceability and /wholesale/lot-traceability exist. Every search on this page for a restaurant tenant currently fails with a "Search failed" toast.

Before You Start

Step-by-Step Guide

1 Search by batch number (intended use)

  1. Open Kitchen Operations → Lot Traceability and keep "By Batch Number" selected.
  2. Get the batch number from the supplier alert or purchase order and enter it, then click Search or press Enter.
  3. Review every production run listed that used this batch, expanding a card to see the specific ingredients and quantities involved.

2 Search by ingredient name (intended use)

  1. Switch to "By Ingredient Name" and enter the ingredient (e.g. "Wheat Flour").
  2. Review every production run that used that ingredient, regardless of batch.

Every Field & Button, Explained

Field / ButtonWhat it does
Search modeBy Batch Number (exact match against a supplier/purchase-order batch number) or By Ingredient Name (matches the ingredient name recorded on a production run).
Production Run cardShows the run name, production date, run ID, and (when expanded) every ingredient used with its quantity and batch number if tracked.

Tips & Best Practices

Troubleshooting & FAQ

Every search shows "Search failed", no matter what I enter.
This is a known, currently unresolved issue for pos-app-restaurant, not a data problem — the page calls GET /restaurant/lot-traceability, and that endpoint is not implemented on the backend for the restaurant app (only the bakery and wholesale variants of this endpoint exist). There is currently no way to make this page return results for a restaurant-licensed tenant without a backend fix adding the missing route.
This page is not visible in the sidebar at all.
Lot Traceability is gated to the Enterprise plan tier (minTier: "enterprise") — it will not appear for stores on a lower tier regardless of role.