ERP by industry
Small-manufacturer ERP: from raw materials to finished goods
A small manufacturing ERP workflow has four steps: write a bill of materials, start a work order, issue the raw materials, then record the finished goods. In ERPNext, the finish step moves the value of the materials used into the finished product and adds labour and overhead, so you see what each unit really cost. Detailed scheduling, machine connections and specialised quality checks need their own setup, so test them before you commit.
The small manufacturing ERP workflow in one view
StarterKit sells ERPNext services, so we have a commercial interest in this topic. The workflow below uses standard ERPNext features and a fictional company.
A small manufacturer buys raw materials, turns them into products and sells them. The system has to answer three questions. What does each product need? What did the workshop use? What did each finished unit cost? The ERPNext documentation describes make-to-order manufacturing as a sales order, a work order and manufacturing stock entries, then delivery, invoice and payment.
Source: ERPNext documentation: make-to-order manufacturing workflow.
- Bill of materials.The recipe: the materials and, if you want, the work steps for one product.
- Work order.The instruction to make a quantity, with the materials it needs.
- Material transfer.Raw materials move from the store to a work-in-progress warehouse.
- Finish.A manufacture entry uses up the materials and adds the finished goods to stock at their cost.
Al Waha Joinery Workshop LLC is a made-up Sharjah workshop. It makes one product, an oak side table. All names and amounts here are fictional and exclude VAT.
New to the software? Start with what ERPNext is. Buying and selling work as in our trading-company guide, so this article covers the part in between.
Step 1: Write a simple bill of materials
A bill of materials, or BOM, lists the items and quantities needed to make a product. It can also list operations, meaning the work steps. Set up each raw material and the finished product as stock items first, and tick Include Item in Manufacturing on the raw materials.
Source: ERPNext documentation: Item.
Choose how the BOM prices materials: the stock valuation rate, the last purchase rate or a price list. Its costing section then gives an approximate cost from material rates plus operation costs. Use Update Cost to refresh it when prices move. A submitted BOM cannot be edited. To change it, cancel it, copy it and submit the new one. Mark the version you normally use as Default.
Source: ERPNext documentation: Bill of Materials.
| Line | Quantity | Rate (AED) | Cost (AED) |
|---|---|---|---|
| Oak panel | 1 | 120 | 120 |
| Table legs | 4 | 15 | 60 |
| Screws | 16 | 0.25 | 4 |
| Varnish | 0.5 litre | 32 a litre | 16 |
| Operation: build and finish | 90 minutes | 50 an hour | 75 |
| BOM cost per table | 275 |
An operation needs a workstation, the place or machine where the work happens. Its hourly rate is the sum of costs you enter, such as wages, rent, electricity and consumables. ERPNext calculates the operation cost from the rate and the minutes. Al Waha uses one operation for the whole job.
Source: ERPNext documentation: Workstation.
Step 2: Check and buy the materials
Before you start, check stock. The BOM Stock Report shows, for one BOM, which raw materials are short and which are enough.
Source: ERPNext documentation: manufacturing reports.
For several orders at once, a Production Plan pulls in sales orders or material requests and lists the raw materials to buy. With Skip Available Raw Materials ticked, it subtracts what you hold and what is already on order. Once submitted, it can create the work orders and the material requests for purchase.
Source: ERPNext documentation: Production Plan.
Buy and receive the materials with a purchase order and purchase receipt, as a trader would. Moving from spreadsheets? Enter the raw materials you already hold first. Our opening stock tutorial shows how.
Step 3: Start a work order and issue materials
A work order tells the workshop to make a quantity of one item. Create it from a sales order, from a production plan or by hand. ERPNext fetches the default BOM and lists the required materials once you enter the quantity.
A work order needs three warehouses before you can submit it: a source warehouse for raw materials, a work-in-progress warehouse and a target warehouse for finished goods. Set defaults for the last two in Manufacturing Settings so each order fills them in. On submission, the raw materials are reserved in the source warehouse.
Source: ERPNext documentation: Manufacturing Settings.
Click Start to create a stock entry of type Material Transfer for Manufacture. Submit it, and the materials move to work in progress. The work order tracks required, transferred and consumed quantities for each material. Because the BOM has an operation, submitting the work order also creates a job card for it.
Source: ERPNext documentation: Work Order.
Al Waha starts a work order for 20 tables. ERPNext asks for 20 panels, 80 legs, 320 screws and 10 litres of varnish.
Step 4: Finish the goods and see the real cost
The job card records the actual work. The operator clicks Start Job and Complete Job, or types the times, and enters the completed quantity.
Source: ERPNext documentation: Job Card.
Then click Finish on the work order. This creates a Manufacture stock entry that takes the materials out of work in progress and puts the finished goods into the target warehouse. The finished goods take on the value of the materials used plus the operating cost. You can also finish part of the quantity.
Source: ERPNext documentation: Work Order.
The operating cost comes from the time recorded on the job card, at the workstation’s hourly rate. If the work order has operations, ERPNext checks that the job cards show the work done for the quantity you finish.
Source: ERPNext source code (version 15): bom.py.
Source: ERPNext source code (version 15): stock_entry.py.
So the BOM cost is an estimate. The actual cost uses the stock value of the materials issued and the time recorded. In the example, varnish now carries a stock value of AED 36 a litre, and the job card shows 32 hours, not the planned 30.
| Cost | BOM estimate (AED) | Actual (AED) |
|---|---|---|
| Panels, legs and screws | 3,680 | 3,680 |
| Varnish, 10 litres | 320 | 360 |
| Labour and overhead at AED 50 an hour | 1,500 (30 hours) | 1,600 (32 hours) |
| Total for 20 tables | 5,500 | 5,640 |
| Cost per table | 275 | 282 |
Each table enters stock at AED 282. When Al Waha delivers one, the delivery note posts that AED 282 as cost of goods sold, not the selling price.
Source: ERPNext documentation: selling cycle ledger impact.
If the same materials give fewer good units than planned, the shortfall is process loss and its cost is spread over the good units. Scrap with a value goes to a scrap warehouse at the rate you set.
Source: ERPNext documentation: Stock Entry.
The operating cost is credited to the company’s default operating cost account or, if none is set, to Expenses Included In Valuation. Ask your accountant how to review that account against real wages and overheads each month.
Check the result: one product, start to finish
If you enter the same figures in a test site, the records after the finish entry should agree with this example.
| Check | Where to look | Expected |
|---|---|---|
| Materials used | Stock Ledger, work-in-progress warehouse | AED 4,040 in, the same out, nothing left. |
| Finished goods | Stock Ledger, finished goods warehouse | 20 tables in at AED 282, AED 5,640 in total. |
| The order itself | Completed Work Orders report | The order is listed with all 20 made. |
| Stock against accounts | Stock and Account Value Comparison report | No difference. |
Source: ERPNext documentation: Stock Ledger report.
Source: ERPNext documentation: Stock and Account Value Comparison.
If the finished value looks wrong, check the material rates and additional costs on the manufacture entry. Correct it by cancelling and amending.
These checks come from the ERPNext documentation and the arithmetic of the fictional example. We have not run this exact example in a live ERPNext site for this article, so screens, labels and amounts in your version may differ. Run the same steps in a test site with your own product and compare each result with the table above before you rely on it.
Testing ERPNext first? Add this flow to your ERPNext trial checklist.
What to set up first, and what can wait
Start with
- Raw materials and products as stock items.
- Stores, work-in-progress and finished goods warehouses.
- One default BOM per product, with one operation if labour belongs in the cost.
- Work orders, material transfer and finish.
- A monthly look at BOM cost against actual cost.
Add when you need it
- Separate operations and routings for each step.
- Production plans across many orders.
- Multi-level BOMs for sub-assemblies.
- Subcontracting to an outside workshop.
- Quality inspections, batches and serial numbers.
Without operations there is no job card. You can then add labour and overhead as an additional cost on the finish entry, and it goes into the finished goods value.
Source: ERPNext documentation: Stock Entry.
When production needs more than a starter setup
Standard ERPNext goes beyond the starter flow, but each extra feature needs setup and testing. Check these areas against your real work.
| Area | What standard ERPNext does | Questions to answer first |
|---|---|---|
| Scheduling | Capacity planning, on by default, books operations into free workstation time using working hours, holidays and other work orders. It plans 30 days ahead by default. | Do you need automatic re-sequencing when a machine stops or a rush order arrives? Test a busy week of real orders. |
| Shop-floor hardware | Plant Floor shows workstation status and job cards on screen. The pages we read do not cover connecting machines, scales or label printers. | Which devices must send data to the system, and who builds and supports that link? |
| Quality | Inspections for incoming, in-process and outgoing goods, with numeric, text or formula checks. A BOM can make inspection mandatory. | Do you need lab results, certificates or statistical process control beyond pass and fail? |
| Traceability | Batch and serial numbers can be created on manufacture. A report traces which components went into a batch and where it went. | Must every raw material batch be traced to every customer? |
Source: ERPNext documentation: capacity planning.
Source: ERPNext documentation: Work Order.
Source: ERPNext documentation: Plant Floor.
Source: ERPNext documentation: Quality Inspection.
Source: ERPNext documentation: Serial and Batch Traceability report.
Food producers should also read our food-distribution guide on batches and expiry. For a wider view, see ERPNext limitations for a small business.
StarterKit includes access to all ERPNext modules, but our terms say module access does not mean every module is configured for you. Custom development, complex migration and extra companies need an agreed scope. Ask any supplier, us included, which of these items are in the written scope. For the full cost picture, see the real cost of ERP for a small UAE company.
Where UAE e-invoicing fits
Your sales invoices for finished goods will also feed UAE e-invoicing. The Ministry of Finance says an e-invoice is structured data exchanged between supplier and buyer and reported to the FTA, and a PDF is not one. The exchange runs through an accredited service provider you appoint. Standard ERPNext has UAE VAT features but no UAE e-invoice exchange of its own. See how ERPNext e-invoicing works in the UAE and the UAE e-invoicing guide.
Government source: Ministry of Finance: eInvoicing.
Prepared by the StarterKit team. Regulatory statements link to UAE government sources. Examples and suggested work plans are labelled separately; they do not determine your business’s legal or tax position. Check the linked decisions for the full conditions and later changes.