FireAI ERP

Inventory and stock

How stock works in FireAI ERP — product and raw-material stock in/out, transfers, consumption, production issues, and effects of confirmed sales and purchases.

Updated September 11, 2026

Inventory answers one question: how many of each item are in each warehouse right now? Sales and purchase confirms move those numbers. This guide is for store and accounts together.

Preconditions

  • Warehouses created
  • Products / raw materials created
  • Role can view Inventory (and edit stock / transfers if you adjust)

A. Sidebar

  • Products — stock in / stock out for finished goods
  • Raw materials — stock in, consumption, production

Top tabs switch the mode (Stock in / Stock out for products; Stock in / Consumption / Production for raw materials).

B. Product stock in

  1. Open Products → Stock in.
  2. Pick warehouse, add items to the cart, Confirm in.

C. Product stock out

  1. Open Products → Stock out.
  2. Add items to the cart.
  3. Next to Confirm, pick a reason:
    • Transfer — also pick destination warehouse (moves stock)
    • Consumption — issue as consumed
    • Damage — issue as damaged

Sales stock-out still happens when a sales invoice is confirmed — not from this screen.

D. Raw materials

Tab What it does
Stock in Receive materials
Consumption Issue RMs (stock out). With production mix on, also record mix sizes produced
Production Shown when production mix is on — log of consumption batches

Consumption + mix produced

  1. Open Raw materials → Consumption.
  2. Add raw materials to the cart and confirm (stock out for every org).
  3. With production mix enabled: under Mix produced, enter mixture name, size (e.g. 500ml), and qty. A production batch is also saved.

Mix produced ≠ finished-product stock

Consumed deducts raw-material stock immediately. Mix produced is a production log only (name, size, qty on the batch). It does not auto-add finished products to inventory. To put finished goods into stock, use Products → Stock in (or a confirmed purchase).

How to total mix vs product stock

What you want Where to look How
Mix produced Raw materials → Production (or production_batches) Sum outputs_json qty per mix name/size (or filter by date/warehouse)
Raw materials used Same batch Consumed panel / inputs_json Sum qty (usually KG)
Products added to inventory Products → Stock in / stocks / stock movements Sum stock-in qty for those product items — separate from mix log

Production tab appears when production mix tracking is on. production_mixtures / production_batches are not in the global kit — FireAI staff (@fireai.in) enable or disable them via Settings → Tools → Production mix tracking (any org). Disabling hides the mix UI; existing mix data is kept.

E. Opening stock (migration day)

Covered in Masters setup. Stock in/out uses the shared stock cart (item cards + cart panel) for every org — not Coolfi image packs or the old form-only UI.

F. How documents change stock

Event Typical stock effect
Sales invoice confirmed Stock out from invoice warehouse
Purchase bill confirmed Stock in to bill warehouse
Credit note confirmed Stock in (return)
Stock transfer (Products → Stock out → Transfer) Out from source + in to destination
Draft documents Usually no stock post

Teach this sentence

“Draft does not move stock. Confirm moves stock.” Hang it next to the billing desk.

G. Stock movements (audit trail)

Open stock movements when you need history: who received, who issued, which document.

H. Batch tracking

If Settings → Tools has batch tracking on:

  1. Enter batch on opening stock and on purchase receipt lines when asked.
  2. On sales, pick the batch you are issuing.
  3. Never mix unknown batch into tracked items without a written rule.

I. Daily / weekly store checklist

Daily

  • After big confirms, spot-check 3 SKUs on screen vs shelf

Weekly

  • Count top 20 movers physically
  • Compare to Inventory list

Troubleshooting inventory

Problem Fix
Qty did not fall after sale Invoice still draft or wrong warehouse
Qty did not rise after purchase Bill still draft
Item missing in stock list Never had opening stock / never purchased
Cannot select batch Batch tracking off, or no batch on hand
Negative stock Oversold — reduce invoice qty or receive stock first

Related