# Products, allergens, suppliers and recipes

> The Catalog section (/en/admin/catalog/...) holds the master data that the warehouse, production, the till and accounting rely on:

> Machine translation, editorial review pending.

Source: https://docs.smaklad.pl/en/guide/catalog/

The **Catalog** section (`/en/admin/catalog/...`) holds the master data that the warehouse, production, the till and accounting rely on:

| Screen | Address | Who edits | View only | Who can delete |
|---|---|---|---|---|
| Products | `/catalog/products` | owner (admin), manager | accountant, kitchen | owner only |
| Categories | `/catalog/categories` | owner, manager | — | owner only |
| Recipes (BOM) | `/catalog/recipes` | owner, manager | kitchen, accountant | owner only (drafts only) |
| Suppliers | `/catalog/suppliers` | owner, manager | accountant (without HACCP status) | a supplier cannot be deleted: the owner **deactivates** it |
| Allergen matrix | `/catalog/allergen-matrix` | — | owner, manager, kitchen, accountant, cashier | — |

Buttons the role has no permission for are not shown on the screen.

**Names in lists** (products, categories, recipes, output product) are shown in **Polish** — this is the record's primary name, even if the interface is open in another language. Translations are visible in the card on the EN / UA / RU tabs.

**"View only" mode** (accountant, kitchen). Above the card you see the notice "Read only — changes are made by a manager or an administrator.", and the form fields cannot be edited. Hidden are:

- the "Add …" and "Quick add" buttons, row selection and bulk actions;
- the availability switch (stop-list): the status is visible but cannot be changed;
- linking and syncing the recipe, the supplier mappings block;
- in the specification — "Save", "Remove from recipe", "Ready for label" and the "History" tab. Printing the specification is available;
- for a supplier — the HACCP approval status and the filters by it (these are maintained by quality assurance: the owner and the manager);
- for a recipe viewed by the kitchen — the "Standard cost" block and all amounts (the server does not send prices and cost of goods to the kitchen).

> **Known bugs (December 2026).** 1) In the product card, the kitchen still sees the "Purchase price / unit" on the "Warehouse & tracking" tab. 2) The recipe composition is shown only inside the "Cost calculation" block, so for the kitchen the recipe card **does not show the ingredients** ("Cost breakdown unavailable."). The kitchen can see the composition in the output product's card — the "Recipe & composition" block.

The create pages (`…/new`), the recipe draft editor (`/catalog/recipes/<id>/edit`) and the supplier's product catalog (`/catalog/suppliers/<id>/products`) open only for the owner and the manager; everyone else is redirected to their role's start page. The quick-create menu (the "+" button in the top bar) and the command palette also show only what the role can create: for the accountant — "Purchase invoice", but not "New product" and not "New recipe".

The accountant still picks products and suppliers in the purchase invoice form: choosing a product by supplier ("Frequently ordered" and search by the name from the invoice) reads the supplier mappings — they are read-only for the accountant; only the owner and the manager can change them. The kitchen sees recipes; creating production orders remains with the manager for now.

General rules for all lists:

- **Search and filters are run by the server**: typing in the search box (with a 0.3 s delay) and switching filters request the data again, so records are found across all pages, not just the visible one.
- At the bottom of the list is **pagination**: "Rows per page" 25 / 50 / 100 / 200 (in the supplier list — up to 100: the server returns no more at once), the "Previous" / "Next" buttons and a "1–50 of 312" counter. When the filter changes, the list returns to the first page.
- Amounts are shown in złoty with two decimals (`12,50 zł`), unit cost with four; quantities with the unit of measure (`1,250 kg`); dates and times in Warsaw time.
- The system shows server errors as a clear message. Example: "This PLU is already used by another product." rather than "409 Conflict".
- Any button that submits data is disabled until the server responds. A second click must not create a duplicate.
  > **Known bug (December 2026).** On the "New location" and "New recipe" forms, a fast double click on "Save" manages to send two requests and creates **two** records. Click the button once and wait for the page to change.
- **Deleting does not work at the moment.** Any "Delete" / "Deactivate" button that sends a DELETE request (recipe draft, location, mapping, category, product) ends with the English message "Body cannot be empty when content-type is set to 'application/json'", and the record remains. Until the bug is fixed, **deactivate** an unneeded product or location in its card (the "Active" checkbox), and rename superfluous recipe drafts.
- Irreversible actions always require confirmation in a separate window: deletion, recipe approval, a new version, syncing with a recipe, supplier deactivation. In the window the focus is on the **"Cancel"** button, so an accidental Enter deletes nothing.

## 4.1. Products

![Product list](https://docs.smaklad.pl/img/catalog-01-products-list.png)

### Item types

| Type | Purpose | What is required |
|---|---|---|
| **Finished product** (`finished_product`) | sold at the till and in the online shop | name (PL), **VAT rate**, sales unit |
| **Raw material** (`raw_material`) | purchased from suppliers, consumed in recipes | name (PL), stock unit |
| **Semi-finished product** (`semi_finished`) | produced according to a recipe and used in other recipes | name (PL), stock unit |

### How to find a product

1. Open **Catalog → Products**.
2. Type part of the name in any of the four languages, the SKU, EAN or PLU into the search box.
3. If necessary, narrow the list with filters:
   - type: "All", "Finished product", "Raw material", "Semi-finished product";
   - category;
   - status: "Active" or "Inactive".
4. Click the row to open the product card.

Indicators in a list row:

- a red **"allergens incomplete"** tag — the allergen declaration of this product is not complete (see 4.4);
- for a finished product — the price per sales unit and the VAT rate; "no VAT" means the rate has not been filled in;
- for raw materials and semi-finished products — the purchase price per stock unit.

### How to create a product (full card)

1. **Catalog → Products → "Add product"**.
2. On the **"Basic"** tab:
   - choose the item type (radio buttons with an explanation under each);
   - enter the name in Polish (required) and, optionally, in EN/UA/RU;
   - enter the description, category, SKU and image links.
3. For a **finished product**, fill in on the **"Sales"** tab:
   - **VAT rate** — 23 %, 8 %, 5 %, 0 % or "exempt (zw.)". A finished product cannot be saved without it.

     **VAT category**. The catalogue accepts a `vatCategory` field (via the API and integrations; the field is not yet shown in the form). If a category is set, the rate is filled in from the table and any other rate is rejected with the error `VAT_RATE_CATEGORY_MISMATCH`:

     | Rate | Categories |
     |---|---|
     | 8 % | `meal` (dish: dine-in, takeaway, delivery); `juice` (juice); `juice_drink_20` (drink with ≥ 20 % juice); `milk_drink` (milk drink without coffee); `plant_drink` (soy, nut, cereal); `tap_water` (tap water) |
     | 23 % | `meal_excluded_seafood` (lobster, octopus, crustaceans, caviar); `bottled_water`; `soft_drink`; `coffee_tea` (and drinks with coffee); `alcohol`; `resale_unprocessed` (resale without processing) |
     | 23 % (disputed) | `cocoa_drink` — the safe option until a binding rate information (WIS) is obtained |
     | 5 % | `retail_food_annex10` — food sold as goods over the counter, outside a food service |

     Basis — Art. 41(2) and 41(12f) of the VAT Act and Annexes 3 and 10. Example: a latte with the category `coffee_tea` and an 8 % rate will not be saved — coffee drinks are taxed at 23 %.
   - **Sales unit** — piece, kg, litre or portion.
   - The **"Sold by weight"** checkbox. The till will weigh the product; the sales unit is forced to "kg".
   - **EAN** (8, 12, 13 or 14 digits) — the system checks the check digit. Example error: "Invalid EAN — check the digits (checksum)."
   - **PLU** — 1–5 digits, a code for scales and the till.
   - **Prices** in PLN: retail (gross per sales unit), wholesale, HoReCa. The decimal part can be entered with a comma.
   - **Sales channels**: restaurant/till, online shop, wholesale.
   - The **"Split payment (Annex 15 goods)"** checkbox.
4. On the **"Allergens"** tab, tick the 14 EU allergens in the table:
   - the **"Contains"** column — the allergen is part of the composition;
   - the **"May contain"** column — traces, cross-contact.

   For an allergen marked "Contains", "May contain" is not available: one excludes the other.
5. On the **"Warehouse & tracking"** tab, set:
   - the stock unit, purchase price (net PLN), reorder point;
   - the **product kind**: food or non-food;
   - the **date type**:
     - "No expiry date";
     - **"Use by" (best before)** — after the date the lot is blocked from sale, but it can be given away as a donation or written off;
     - **"Discard by" (use by)** — after the date the lot can only be written off;
   - tracking checkboxes: lots, production date, variable weight, serial numbers;
   - **shelf life (days)** — the date is derived from it if none was given at receiving;
   - **minimum remaining shelf life on receipt (days)** — shorter deliveries are rejected unless a reason is given. The value cannot exceed the shelf life;
   - temperature zone and storage range. The minimum cannot be higher than the maximum.
6. On the **"SEO"** tab (finished products only), enter the slug: lowercase Latin letters, digits and hyphens. The SEO title and description are saved only together with the slug.
7. Click **"Save"**. If the form has errors, the system switches to the tab with the first error and places the cursor in that field. Tabs with errors are marked with a dot.

![Product card — sales](https://docs.smaklad.pl/img/catalog-02-product-sales.png)
![Product card — allergens](https://docs.smaklad.pl/img/catalog-03-product-allergens.png)
![Product card — lots and dates](https://docs.smaklad.pl/img/catalog-04-product-tracking.png)

After creation, the card of the new product opens. There you can link it to a recipe, add supplier mappings and the specification.

### Quick add (many items in a row)

1. In the product list, click **"Quick add"** (or Ctrl+Shift+A).
2. Fill in the fields:
   - name (PL);
   - type;
   - category;
   - for a finished product — the **VAT rate** (required, there is no default: the rate is chosen deliberately for each item, as it goes onto the fiscal receipt and into JPK_V7M) and the sales unit;
   - for a raw material — the stock unit;
   - price: retail for a finished product, purchase for a raw material;
   - SKU.
3. Click one of the buttons:
   - **"Save and next"** — the form is cleared, while the type, category and units are kept for the next item. **VAT is not carried over** — it must be chosen again for the next item;
   - **"Save"** — save and close.

For lots and dates the default for food products is applied: lots + "use by". Refine it later in the full card.

### How to edit a product

Open the card, correct the fields, click **"Save"**.

- Changes take effect immediately.
- A cleared field is also cleared on the server: EAN, PLU, description, category ("—"), purchase price, reorder point, temperature zone, shelf life, storage temperatures.
- Channel prices are saved as a whole: a removed price (for example, wholesale) is deleted; if you remove all prices, the product will have none left. A promo price, which the card does not edit, is not lost on saving.
- **The SKU can be changed but not removed**: for a saved product an empty SKU gives the error "A saved SKU cannot be removed — it can only be changed" (the SKU is unique in the catalog).
- A product is not locked against simultaneous editing: the last version saved wins. Locking applies only to the specification (see 4.4).

### Link to a recipe and composition

The card of a finished or semi-finished product has a **"Recipe & composition"** block:

1. In the **"Link an active recipe"** list, choose an **approved** recipe. The list contains only recipes without another output product.
2. Click **"Link"**. The product's composition and allergens will be calculated from the recipe.
3. After the recipe changes (a new approved version), click **"Re-sync from recipe"** and confirm.

If some of the ingredients could not be determined, the warning **"Allergen declaration incomplete"** appears with a list of the problem items. In that case, the absence of an allergen **does not mean "does not contain"**.

![Linking a product to a recipe](https://docs.smaklad.pl/img/catalog-05-product-recipe.png)

### Availability (stop-list)

In the product list, in the **"Availability"** column of a finished product:

1. Click the indicator.
2. Choose one of the options:
   - "Mark available";
   - "Stop until end of day" — until 23:59 Warsaw time;
   - "Stop indefinitely".

### Bulk actions

1. Tick the rows with the checkboxes.
2. On the panel that appears, choose an action:
   - **"Activate"** / **"Deactivate"**;
   - **"Delete"** — owner only, with confirmation.
3. If some of the operations fail, the system reports how many succeeded, how many did not and why.

### Deleting a product

Only the **owner** can delete: the **"Delete"** button at the bottom of the card, then confirmation. Deactivation keeps the history, so for products that have already appeared in documents it is better to deactivate.

### Import from Excel

Products, categories and suppliers can be loaded or changed in bulk with a single XLSX / CSV file: **Admin tools (gear) → Data import**. Download the template (or "Export current data"), fill it in, check the preview and the dry run, then click "Import". Records are matched by SKU, category slug and NIP; the last import can be undone. Details — [chapter 20, "Import from Excel / CSV"](https://docs.smaklad.pl/en/guide/onboarding-import/#203-import-from-excel--csv).

---

## 4.2. Categories

![Category tree](https://docs.smaklad.pl/img/catalog-06-categories.png)

1. **Catalog → Categories**: a tree with expandable branches (names in Polish); inactive categories are marked. In the "Pierogarnia Przykładowa" demo data the tree is flat: Pierogi, Półprodukty, Surowce, Mrożonki, Napoje.
   > **Known bug.** Filtering the product list by category does not find products created through the form: the list becomes empty. Search by name or SKU instead.
2. **"Add root category"** or the "+" icon next to a branch (subcategory).
3. In the window, set:
   - the name in Polish (required) and in other languages;
   - a description for the website in four languages (optional; if any language is filled in, Polish is required). The customer website shows it under the category name on the home page; an erased description is deleted;
   - the slug — it can be left empty, it will be generated from the Polish name;
   - the parent: the category itself and its descendants do not appear in the list, so a cycle cannot be created;
   - the sort order;
   - whether it is active.
4. Deletion (owner only) is not allowed while the category has subcategories. Move or delete them first. Message: "This category has subcategories…".
5. The slug is unique: if it is already used by another category, you will see "Another category already uses this slug." Change the slug or leave the field empty.

---

## 4.3. Suppliers

![Supplier list](https://docs.smaklad.pl/img/catalog-07-suppliers-list.png)

### List

- Search by name and NIP.
- An "Active / Inactive" filter.
- A filter by HACCP approval status: "Approved", "Pending review", "Suspended / rejected". The filter is applied on the server **before** pagination, so the "1–50 of N" counter and the number of pages refer to the filtered list. If the quality service (compliance) is unavailable, an error appears while the filter is on — the system will not show an empty list in place of the real one.
- The accountant sees the list and the cards without the HACCP column and without these filters.
- Names are stored as entered: "Kowalski & Syn" is displayed with `&`, without `&amp;`. Previously saved garbled supplier texts were corrected **once** on the first start of the new service version (a completion marker is stored in the database, so text you later enter literally — for example `R&amp;D` — will no longer be changed); the other modules receive the usual change notification about the corrected suppliers.

### Creating and editing

1. **"Add supplier"**.
2. Fill in:
   - **name** — required;
   - **NIP**: spaces, hyphens and the `PL` prefix are removed automatically. The system checks for 10 digits and the check digit — the same algorithm as on the server;
   - **country** — two-letter ISO 3166-1 code (`PL`, `DE`, `UA` …), `PL` by default; lowercase letters are converted to uppercase, and the form highlights a non-existent code at the "Country" field. Three-letter codes saved earlier (`POL`, `DEU` …) were converted once to two-letter codes when the new version started; in an old card such a code is already shown as `PL`, and the card can be saved without correcting the country;
   - contacts and address; **postal code** in the `00-000` format;
   - **payment term (days)** — from 0 to 365; **0 is allowed** and means payment on the invoice date. 14 by default;
   - **bank account**: NRB (26 digits) or IBAN; the mod-97 checksum is verified, spaces are removed.
3. **"Save"**. After creation, the supplier card opens, where you can add product mappings.

If a supplier with this NIP already exists, the message "Another supplier already has this NIP." appears.

To remove an optional value (e-mail, phone, address, NIP, account, note), clear the field and save — the server will erase it. The name, country and payment term cannot be cleared.

![Supplier card](https://docs.smaklad.pl/img/catalog-08-supplier-form.png)

### Supplier product mappings

A mapping links the name on the supplier's invoice to an internal product. It is used in OCR receiving and in purchase invoices.

1. In the supplier card (the **"Product Mappings"** block) or in the product card (the **"Suppliers"** block), click **"Add mapping"**.
2. In the window, choose:
   - the **product**, if the supplier card is open (search in the catalog), or
   - the **supplier**, if the product card is open (a list of all active suppliers in the directory).

   The supplier is **always specified explicitly**: the server rejects a product ID in place of a supplier.
3. Fill in:
   - the supplier's name for the item — exactly as in their documents;
   - the supplier SKU, the supplier unit;
   - the purchase VAT rate;
   - the last net price;
   - a note;
   - the "Active" checkbox: inactive mappings are not used in automatic matching.
4. Editing — the pencil icon. Deletion — owner only, with confirmation.

The **"Supplier Product Catalog"** page (`/catalog/suppliers/<id>/products`) shows the same mappings with a summary: total, active, average price. The summary is calculated over all of the supplier's mappings, even if there are more than 200.

### Deactivation

Suppliers are not deleted. The owner clicks **"Deactivate supplier"** in the card and confirms. The history and documents are kept. To restore the supplier, tick the "Active" checkbox in the card.

---

## 4.4. Recipes (BOM)

![Recipe list](https://docs.smaklad.pl/img/catalog-09-recipes-list.png)

### Life cycle and immutability

| Status | What is possible |
|---|---|
| **Draft** | edit, approve, duplicate, delete (owner) |
| **Active (approved)** | use in production; **the composition is frozen** — only "New version" |
| **Archived** | view only and "New version" |

An approved recipe can only be corrected through a new version:

1. Click **"New version"**. A draft vN+1 is created with a reference to the previous version.
2. Edit the draft.
3. Approve it.

Until the new version is approved, the previous one is used in production. Production orders and the cost history refer to a specific version, so old versions do not change.

If someone approved the draft while you were editing it, the message "The recipe is approved — its composition is frozen" appears on saving. Instead of the form, you will be offered to create a new version.

### Version history

Below the recipe card is the **"Version history"** block: all versions in the chain (previous ones and those created from this one), in ascending order of number, with status, date of change and who approved it. The open version is marked "this version", the others are links. If there is only one version, the block says "This is the only version of the recipe." The block is visible to everyone who can open the recipe.

### Creating

1. **Catalog → Recipes → "New recipe"**. A recipe is always created as a **draft**.
2. Choose the **type**:
   - finished product;
   - semi-finished product;
   - sub-recipe — nested in other recipes and not kept in stock;
   - packing.
3. Set:
   - the name;
   - the **batch yield** (greater than 0) and its unit;
   - the **output product**: a finished or semi-finished product from the catalog. It is required before a production order is completed; if it is not set, the card reminds you.
4. Add lines:
   - **"Add ingredient"** — a raw material **or semi-finished product** from the catalog (search by name, SKU, EAN);
   - **"Add sub-recipe"** — another recipe. Archived recipes, the recipe itself and cycles are forbidden by the server; the nesting depth is limited.

   For each line, specify:
   - the **quantity** (greater than 0) and the unit;
   - the **yield %** — losses during cleaning and cooking, from 1 to 100, decimals allowed (for example, `87,5`); 100 means no losses.

   Lines can be reordered with the arrows.
5. For **packing**, fill in the specification:
   - net quantity per package and its unit;
   - the date type on the label;
   - the packaging;
   - the ℮ mark;
   - the name on the label;
   - storage conditions.

   For the lines, specify the role: **weighed product** (sets the shelf life; only one is allowed) or **packaging**.
6. Optionally, set:
   - labour and overhead costs (PLN per unit of yield);
   - preparation time;
   - shelf life (days) — the expiry of a produced lot is calculated as production date + days;
   - preparation steps. Each step can be written in four languages (PL / EN / UA / RU tabs); the Polish text is required if any other language is filled in. On saving, all step translations are kept — editing the recipe in Polish does not delete EN/UA/RU.
7. **"Save draft"**. The recipe card opens.

![Recipe form](https://docs.smaklad.pl/img/catalog-10-recipe-form.png)

Only one user at a time can edit a draft. Others see a banner "Being edited by … — read only" at the top, and the form becomes unavailable.

### Cost of goods — from the server only

In the recipe card, the **"Cost calculation"** block shows the server's calculation. Nothing is recalculated in the browser.

- For each line:
  - quantity;
  - yield %;
  - unit price with its unit;
  - **price source**;
  - line cost.
- Price sources:
  - "last purchase" — the last receipt into the warehouse;
  - "catalog price" — the purchase price from the product card;
  - "sub-recipe cost" — the standard cost of the sub-recipe or of the recipe that produces the semi-finished product; such a line can be expanded to see the nested calculation;
  - **"no price"** (in red) — no price was found, the line is counted at 0.
- Totals: ingredients, labour, overheads, **batch**, **per unit of yield**.
- At the bottom — the time of the calculation.

The recipe list shows the saved standard cost per unit.

![Cost calculation](https://docs.smaklad.pl/img/catalog-11-recipe-cost.png)

### Recipe allergens

Allergens are calculated by the server from the ingredients. If an ingredient could not be determined, the card shows a yellow warning **"Allergen declaration incomplete"** with a list of items. Lines with undetermined ingredients are highlighted in the cost table. In the recipe list such a recipe is marked "allergens incomplete". Until the warning is resolved, the label cannot be printed.

If the recipe's allergens have never been calculated (an old recipe that has not been saved since the calculation was enabled), the card shows a blue hint "The allergens of this recipe have not been calculated yet…". Save or approve the recipe; until then, do not treat it as allergen-free.

### Approval

1. In the draft card, click **"Approve"** and confirm. Without ingredients, the button is not available.
2. After approval the recipe becomes active and its composition is frozen.
3. If the recipe has an output product, it is linked to it automatically.

---

## 4.5. Allergen matrix

**Catalog → Allergen matrix** — a summary table of products and the 14 EU allergens: "contains" and "may contain". It is convenient for checking the whole menu. Incomplete declarations are visible here just as in the cards.

---

## 4.6. What happens automatically

- For a finished product sold by weight, the sales unit is forced to "kg".
- "May contain" allergens that are already marked as "contains" are discarded.
- If no expiry date is given at receiving, it is derived from the product's shelf life. Deliveries with a remaining shelf life below the minimum are rejected.
- A change in the tracking profile (lots, dates) reaches the warehouse through the `product.updated` event.
- The recipe's cost of goods and allergens are recalculated by the server on saving and when purchase prices change.
- Approving a recipe with an output product links it to the product.
- Deleting a supplier is always a deactivation.

---

## 4.6a. Warehouses, company profile and dining room tables

Before filling in the catalog, the owner sets up the storage locations and the company details — they are needed for receiving, warehouse documents, JPK and KSeF.

**Locations** — **System → Locations** (`/en/admin/system/locations`), "New location". For "Pierogarnia Przykładowa" the following are set up: Magazyn główny (dry storage), Chłodnia (0–4 °C), Mroźnia (−18 °C), Kuchnia.

![Locations](https://docs.smaklad.pl/img/catalog-00-locations.png)

- The "Code" field in the form is read-only and is currently **not assigned** (known bug). Therefore, in warehouse document numbers `TYPE/YYYY/MM/NNNN/CODE`, instead of MAG/CHL/MRZ/KUCH there is "M" followed by four characters of the warehouse ID, for example `PZ/2026/12/0001/M3136`.
- "Deactivate" currently does not work (see "Deleting does not work at the moment" above).
- **Contacts and opening hours** — the clock icon in the location row. The window: phone, e-mail and opening hours for each day of the week (opening, closing or "Closed"). A day without times is considered "not set". If the closing time is earlier than the opening time, this means working past midnight. "Copy Monday to Tue–Fri" copies Monday's hours to the weekdays. The whole profile is saved at once; the table shows the phone and the "hours set" mark. The owner and the manager can edit.

**Company profile** — **System → Settings**, the company details block: name, NIP, address (street, building, postal code, city, gmina, powiat, voivodeship, post office), e-mail. Before typing, wait until the form has loaded the saved values, otherwise they will overwrite what you entered. The NIP checksum is **not verified** in this form — check the number manually (the supplier card does verify it).

![Company profile](https://docs.smaklad.pl/img/catalog-00-company-profile.png)

**Dining room tables** — **Sales → POS sessions → "Tables"** (`/en/admin/sales/pos/tables`), "Add table". The table number is an integer 1–9999 and cannot be repeated ("This number is already used."); a letter designation goes into the "Name" field. For "Pierogarnia Przykładowa": tables 1–6 = "S1 · Sala" … "S6 · Sala" (4 / 4 / 4 / 4 / 6 / 6 seats), 7–8 = "T1 · Taras", "T2 · Taras" (2 seats each). The number of seats is 1–100.

![Dining room tables](https://docs.smaklad.pl/img/catalog-12-pos-tables.png)

---

## 4.7. Common errors

| Message | Cause | What to do |
|---|---|---|
| "A finished product needs a VAT rate." | no rate selected | choose a rate on the "Sales" tab |
| "This PLU / EAN / SKU is already used by another product" | the code is taken | find the product by the code using the list search, free up the code or choose another |
| "Product with SKU "…" already exists" (in English) | the SKU is taken — the server does not yet translate this response | same as for the row above |
| "Invalid EAN — check the digits" | error in the check digit | compare the code with the packaging |
| "Cannot exceed the shelf life." | the minimum remaining shelf life is greater than the shelf life | reduce the value |
| "Invalid NIP." / "Invalid account number." | the check digit does not match | compare with the supplier's document |
| "Another supplier already has this NIP." | duplicate | find the existing supplier by NIP |
| "Choose a supplier from the supplier directory" | something other than a supplier was passed to the mapping | choose a supplier from the list |
| "The recipe is approved — its composition is frozen" | editing an active recipe | "New version" → edit → approve |
| "Only a draft can be approved" | the recipe has already been approved | reload the page |
| "A recipe without ingredients cannot be approved" | a draft with no lines | add ingredients |
| "This product cannot be the output of a recipe" | a raw material was chosen as the output product | choose a finished or semi-finished product |
| "Read-only: document is locked" / "The document is being edited by … since …" | the recipe or specification is open by another user; there is no "Save" button, the fields are unavailable | wait until they finish |
| "Circular BOM: sub-recipe … uses this recipe" | the sub-recipe contains (directly or via others) the recipe being edited — a cycle | remove the line with this sub-recipe |
| "Choose an item." under a sub-recipe line although a recipe is selected | form bug: the message does not disappear after selection | ignore it — saving goes through |
| "Body cannot be empty when content-type is set to 'application/json'" | known deletion bug | deactivate instead of deleting |
| "This category has subcategories…" | deleting a branch with descendants | first move or delete the subcategories |
| "Another category already uses this slug." | the slug is taken | change the slug or leave it empty |
| Error with the HACCP filter in the supplier list | the quality service is unavailable | try again later or remove the filter |

---
