ERPNext for Manufacturing in Kenya: Production, BOMs and Costing
Ask a Kenyan manufacturer what a unit of their product costs to make and you will usually get a confident number. Ask where it comes from and the confidence fades. It is often material cost plus a percentage that someone chose years ago, adjusted by feel. It ignores actual yield, actual scrap, actual machine time and the fact that the price of imported inputs moved twice last quarter.
That gap is expensive. It means you may be selling your best-moving line at a loss and subsidising it with something you think is marginal. ERPNext, configured properly, closes that gap - but only if you build the foundations in the right order.
This article covers what ERPNext for manufacturing actually involves, the decisions that determine whether your costing is real, and what goes wrong when they are made carelessly.
What ERPNext manufacturing covers
The manufacturing module sits on top of ERPNext's stock and accounting engine, which matters: every production event posts to the ledger automatically. The core building blocks are:
- Bill of Materials (BOM) - what goes into a finished item, in what quantity, with scrap and multi-level sub-assemblies
- Workstations and operations - where work happens, at what hourly rate, with capacity
- Routing - the sequence of operations a product passes through
- Work Orders - an instruction to produce a quantity, with material reserved and consumed against it
- Job Cards - shop-floor capture of operation start, finish, quantity produced and quantity rejected
- Production Plan - demand from sales orders and forecasts turned into work orders and purchase requests
- Subcontracting - materials issued to a third party and finished goods received back, correctly costed
- Quality Inspection - parameters checked at receipt, in process or before dispatch
- Batch and serial tracking - traceability from raw material lot to delivered unit
The BOM is the foundation, so get it right
Every costing number in the system traces back to a BOM. A wrong BOM is not a reporting problem, it is a valuation problem, and it silently corrupts every margin decision you make.
Model actual yield, not theoretical yield
If a cutting operation wastes eight percent of sheet metal, the BOM must say so. Kenyan manufacturers routinely build BOMs from the design specification rather than from what actually gets consumed. The result is a variance that finance writes off every month without ever asking what it is.
ERPNext supports process loss and scrap items on the BOM. Use them. Scrap that has resale value should be an item with a value, not an invisible leak.
Use multi-level BOMs where sub-assemblies really exist
If you make a component and then use it, model it as a sub-assembly. This gives you visibility of sub-assembly cost and lets you decide make-versus-buy with actual numbers. Flattening everything into one giant BOM hides exactly the decisions worth making.
Get units of measure and conversion factors right
You buy in kilograms, consume in grams, sell in pieces. Every conversion factor error multiplies through the entire cost calculation. This is the single most common data problem in Kenyan manufacturing implementations, and it is entirely preventable at setup.
Version your BOMs
When a formulation changes, create a new BOM version rather than editing the active one. Editing history destroys your ability to explain why last quarter's cost differed.
Real costing: where the number comes from
A produced item's cost in ERPNext is built from three components.
| Component | Source | Where it goes wrong |
| Raw materials | Valuation of items actually consumed against the work order | Wrong valuation method, uncosted opening stock, missing landed costs |
| Operating cost | Workstation hourly rate multiplied by actual operation time from job cards | Hourly rates never set or never reviewed, job cards not captured |
| Overheads | Applied through workstation rates or accounting allocation | Ignored entirely, so factory rent lands nowhere near product cost |
Landed cost is not optional for importers
If you import raw materials, the invoice value is not the cost. Freight, duty, clearing, port charges and internal transport all belong in the valuation. ERPNext handles this through the Landed Cost Voucher, applied against the purchase receipt so the extra cost lands on the specific items.
Manufacturers who skip this understate raw material cost, overstate margin, and then wonder why the bank balance does not agree with the profit and loss.
Choose your valuation method deliberately
Moving average smooths volatility and is easier to explain. FIFO reflects the actual cost of the batch you consumed and matters more when input prices swing hard, which for imported inputs in Kenya they do. Decide once, with your auditor in the room, because changing later is disruptive.
Variance is information, not noise
The gap between BOM-expected consumption and actual consumption is the most useful number your factory produces. A consistent negative variance on one line means your BOM is wrong, your process has drifted, or material is leaving the building. All three are worth knowing. A system that hides variance in a bulk adjustment is protecting you from the only report that would have paid for the ERP.
The purpose of manufacturing costing is not a tidy month end. It is knowing which of your products actually makes money.
Getting shop-floor data captured
Costing accuracy depends entirely on production events being recorded when they happen, by the people who do them. This is the hardest part of any manufacturing implementation, and it is a people problem more than a software one.
What works in practice:
- A tablet or terminal at the workstation, not a form filled in the supervisor's office at 5pm
- Barcode scanning for material issue and finished goods receipt
- Job cards that take seconds, capturing start, stop, good quantity and reject quantity - nothing else
- A mobile app where the floor is spread out or terminals are impractical
- Same-day visibility for supervisors, so the data has an immediate audience and stops being paperwork for head office
If the shop floor sees no benefit from entering data, the data will be entered badly. Give supervisors a screen they want to look at and capture quality improves without any enforcement.
What it costs to get manufacturing ERP wrong
- BOMs built on theoretical yield - costs understated, every margin report optimistic
- Workstation rates left at zero - labour and overhead effectively free, so a labour-heavy product looks cheap
- No landed cost on imports - raw material undervalued by a wide and variable margin
- Work orders closed in bulk at month end - no variance visibility, no traceability, no early warning
- Opening stock loaded without valuation - the entire cost base is wrong from day one and never recovers
- No batch traceability - a quality issue becomes a full recall instead of a targeted one, which for food, pharma and chemicals is a regulatory and reputational event
How to start
The order matters. We consistently recommend phasing rather than switching everything on at once.
- Stock and purchasing first. Clean item master, correct UOMs and conversions, accurate warehouses, valued opening stock, landed cost on imports. Nothing downstream works without this.
- Build and validate BOMs for your top-selling items, then check them against actual consumption for a full month before trusting them.
- Set workstation and overhead rates with finance, and agree how they will be reviewed.
- Run work orders for one product line, with real job card capture on the floor.
- Review variance weekly and correct BOMs or process until the numbers stop surprising you.
- Then extend to production planning, subcontracting, quality and the rest of the catalogue.
Only once that base is solid does predictive planning, demand forecasting or AI-assisted scheduling make sense. Applied to unreliable consumption data, those tools produce confident nonsense - a pattern we described in don't get pressured into buying AI before your business is ready.
Talk to us about manufacturing on ERPNext
Upeosoft Limited is a Nairobi-based ERPNext consultancy extended with custom engineering, mobile apps and integrations. We work with manufacturers alongside retail and distribution, automotive, real estate, waste management, security services, professional services and lending, with over 200 systems delivered.
If you cannot currently answer what a unit costs you to produce, or your stock and production numbers disagree, that is exactly the problem we are built to solve. Tell us what you make and we will walk your process with you.
- Email: consult@upeosoft.com
- Phone: 0116 888 777
- Web: upeosoft.com