← All posts

Multi-Warehouse Management in NocoBase: Approved Transfers, Stock by Location and True FIFO Costing

by BAMFLOW • • 5 min read • Updated 28 Nov 2026

Multi-warehouse management in NocoBase: hub, branch and returns sites; transfer documents with approval and an accountable in-transit state; FIFO issue costing by receipt batch; and one consolidated stock dashboard for directors.

cover-final

Multi-Warehouse Management in NocoBase: Approved Transfers, Stock by Location and True FIFO Costing

Quick summary: Going from one warehouse to three changes everything: who owns goods in transit, which batch's cost applies when stock leaves, and where the director sees total inventory. This guide shows multi-warehouse management in NocoBase — hub / branch / warranty-returns sites, transfer documents with approval, FIFO issue costing, and one consolidated stock dashboard.

In Part 1 of this warehouse series, QR code warehouse management in NocoBase, we solved the single-site problem: scan-to-post movements, real-time stock, low-stock alerts. The next stage arrives when the company opens branches and the "combined stock" spreadsheet becomes accounting's month-end nightmare: the hub ships to a branch with only a chat message as record; cartons go missing with no proof of where; issue cost is taken from the latest purchase price "for convenience", so margins jump irrationally; and the director waits for three keepers' three files that never agree.

The multi-warehouse model: hub, branches, warranty returns

In NocoBase, Warehouse becomes its own catalogue table — code, name, address, responsible person, type. Three types cover most Vietnamese SMEs: the hub (receiving supplier goods and feeding the network), branch warehouses (a few days' stock, replenished from the hub), and the warranty/returns warehouse. Separating returns matters: warranty stock must never count as available-to-sell.

The structural consequence: stock is always per item per warehouse. Every document names its source and destination site; company-wide stock is the same data with the warehouse filter removed. Permissions follow the model — a keeper operates only their own warehouse; accounting and directors see all.

Transfer documents with approval: who owns goods on the road?

Internal transfers are where stock quietly disappears: goods have left site A, not yet arrived at site B, and in that gap nobody is accountable. NocoBase models this as a transfer document with a three-step workflow:

  1. Source confirms dispatch. Stock at the source drops, and the goods move into an explicit in-transit state — owned by the company, available at no site.
  2. Destination confirms receipt. The receiving keeper scans each carton (reusing the QR flow) and matches it against the document. Full match: destination stock rises, document closes. Any shortage or surplus flags the document as discrepant and escalates it — the discrepancy becomes a record, not a chat thread.
  3. Approval for high-value transfers. A manager approval step can be inserted before dispatch, with a full log of who approved and when.

Transfers sitting in transit beyond, say, 48 hours are automatically flagged to both ends. For accounting, in-transit quantity and value appear in the company stock report — no more estimating the "floating" portion at period close.

Inter-warehouse documents in NocoBase: every transfer is a document with creator, status and history
Inter-warehouse documents in NocoBase: every transfer is a document with creator, status and history

The invariant is simple: stock never teleports from site A to site B in the numbers. It always passes through an owned intermediate state, so any loss can be localised to one leg and one last confirmer.

FIFO: what it is, and how issue cost is calculated

FIFO — First In, First Out — prices outgoing stock from the oldest receipt layers first. An illustrative example: item A arrives as batch 1: 100 units at 50,000đ; a week later batch 2: 100 units at 56,000đ. Issuing 120 units under FIFO costs 100 × 50,000 + 20 × 56,000 = 6,120,000đ — a determinate, auditable number. Three practical reasons to care: margins per order, customer and branch are only meaningful with correct cost; physically shipping older stock first reduces expiry and obsolescence risk; and FIFO is recognised by Vietnamese accounting standards, so warehouse figures reconcile with the accounting ledger at year-end.

Implementation needs one extra layer in the data model: stock by receipt batch. Each goods-in line creates a layer (item, warehouse, quantity in, unit cost, date, quantity remaining). On issue, the system consumes the oldest layers at that warehouse and stamps the calculated cost onto the goods-out document. Keepers notice nothing — the layer logic runs backstage. One honest caveat: this FIFO engine produces the cost figures accounting reconciles against; statutory postings remain in the accounting software. The win is that both sides read the same movement events, instead of two numbers forced to match monthly.

Operations overview in NocoBase: stock, receivables and today's activity on a single screen
Operations overview in NocoBase: stock, receivables and today's activity on a single screen

One consolidated stock dashboard

From per-warehouse, per-batch stock, the director's view is a thin layer on top: total stock and inventory value by item group; one-click filtering by warehouse; in-transit quantities by route; and two-directional alerts — a branch about to run out while the hub holds plenty (suggest a transfer, not a purchase), and stock ageing at one site. Build it in the series' order — clean data first, the multi-warehouse FIFO model second, the dashboard last. A beautiful dashboard over wrong numbers is the most expensive outcome of all. New to the platform? Start with What is NocoBase.


About BAMFLOW — BAMFLOW is the official NocoBase partner in Vietnam, implementing and teaching AppSheet, NocoBase and AI for businesses (300+ applications built, 150+ business clients, 1,000+ students trained).

Đọc bản tiếng Việt RSS