Guide contents
Accounting & closing2 min readUpdated Nov 27, 2026

Run costing

Work out the weighted-average cost per SKU for each month, from your opening stock and purchase orders. Once it has run, the income statement shows the right cost of goods sold and profit.

Where: Accounting › Cost of goods sold › CostingPermission: Run costing (viewing results needs View reports)

Before you start

  • You need the Run costing permission.
  • The month's sales are generated into entries.
  • Goods sold need a purchase cost in the same organization unit: from opening balances for stock, or from purchase orders.
  • Run one month after another, oldest first. Closed periods can't be run.

Steps

The red numbers on the screenshots match the step numbers.

  1. Open the Run costing tab

    In the Accounting menu on the left, under Cost of goods sold, click Costing. The Run costing tab is open.

  2. Choose the Org unit and Run period

    Pick one unit, or All (loop each unit). For one month, make the start month the same as the end month. The screen usually prefills the range to run ("Suggested from the ledger: run from … to … (prefilled)").

  3. Click Run (background)

    Genbook runs in the background, unit by unit and month by month. You don't need to stay on the screen. When it's done, the screen says "Costing finished".

  4. Check Month result and Run history

    Month result shows opening stock, receipts, issues and closing stock per SKU. Run history lists every run.

Figure 1 · Costing (weighted average). Steps 1 to 4.

Common error messages

Genbook saysWhat to do
Run costing for …, … firstClick Select … on the message to run that month first.
Purchase data changed — costing needs a recompute for … to …Purchase orders changed after the last run. Click Review & recompute.
Stock rows with no org unitClick Fill org from Shop (open periods) to assign units by shop, then run again. Rows in locked periods stay as they are.
Unpriced rowsThe SKU has no purchase cost in that unit. Add an opening balance or purchase order for it in the right unit, then rerun that month.
Negative closing stock (sold or moved before receipt)Check the SKU's purchase orders and document dates: it is being sold before it arrives.
The costing run is interrupted…No need to click again. Genbook resumes on its own.

FAQ

Why does the income statement show zero cost of goods sold?

That month hasn't been costed yet, or the SKUs have no purchase cost. Run costing for the month and check the report again. If the screen reports unpriced rows, add the purchase cost first.

What happens if I add a purchase order for an old month?

The Costing screen says purchase data changed. Click Review & recompute to rerun from that month. For a closed month, tick Re-run periods already closed (force).

See also