stabisoDocs

Purchasing and stock

Manufacturing: bills of materials, production orders and their cost

The manufacturing pack makes goods from goods: a bill of materials says what one batch of a product takes, a production order takes the components out of stock and receives the finished goods into it, and production costing values them at their planned cost and books how far the real cost differed. It is built on stock: every component and every finished product is a stock item, and every step is a stock posting at moving average cost. Find it under Purchasing → Production.

Bills of materials

  • A bill of materials (POST /v1/bills-of-materials, or Production → Bills of materials → Add bill) names the finished product and its components: stock items of the same company, each on one line with what one batch takes of it. Optional: how many units a batch makes (default 1), the labour hours a batch takes, what an hour of labour costs and the overhead charged per labour hour (machines, rooms, energy), all in the company's currency.
  • The product becomes a stock item the moment it gets a bill, if it was not one yet, with the company's inventory and cost of goods sold accounts. A product has one bill (bom_exists); a product is never its own component (component_is_product), and a component is on one line only (component_twice).
  • The bill shows what one unit costs to make today: the components at their moving average cost (none while a component is not in stock), the labour and the overhead.
  • A bill changes in place (PATCH /v1/bills-of-materials/{bom_id}): its components (all of them, replacing the old ones), batch, hours, rates or note. Orders already planned keep their plan. An inactive bill takes no new orders (bom_inactive).
  • The company's first bill gives it the accounts of production its chart names, as the first warehouse gives it the stock accounts:
Chart Work in progress Labour and overhead taken into production Production variances
Swiss KMU 1270 Unfertige Erzeugnisse 3900 Bestandesänderungen unfertige und fertige Erzeugnisse 4090 Produktionsabweichungen
Germany (HGB) 2010 Unfertige Erzeugnisse 5200 Bestandsveränderungen unfertige und fertige Erzeugnisse 6130 Produktionsabweichungen
IFRS, UK, US, Canada 1310 Work in progress 5020 Labour and overhead absorbed into production 5030 Production variances
France (PCG) 331000 Produits en cours 713300 Variation des en-cours de production de biens 603900 Écarts de production
Spain (PGC) 330000 Productos en curso 710000 Variación de existencias de productos en curso 611900 Desviaciones de producción
Italy 2010 Prodotti in corso di lavorazione e semilavorati 5200 Variazioni delle rimanenze di prodotti in corso di lavorazione, semilavorati e finiti 6520 Scostamenti di produzione
Sweden (BAS) 1440 Produkter i arbete 4940 Förändring av produkter i arbete 4990 Produktionsavvikelser
Norway 1420 Varer under tilvirkning 4290 Beholdningsendring, varer under tilvirkning 4395 Produksjonsavvik
Finland 1510 Keskeneräiset tuotteet 4420 Keskeneräisten tuotteiden varaston muutos 4430 Tuotannon poikkeamat
Denmark 5510 Varer under fremstilling 2070 Ændring i varer under fremstilling 2080 Produktionsafvigelser

Work in progress (role work_in_progress) is a control account on the inventories line: only production postings book it, each line naming its order. The labour and overhead taken into production (role production_absorbed) is, in a chart that shows costs by nature (Swiss, German, French, Spanish and Italian), a change of inventories on the revenue side; elsewhere a credit against the cost of sales. The variances (role production_variance) are a cost of sales. Give another account the role in the chart of accounts where yours differ.

Production orders

  • A production order (POST /v1/production-orders, Production → Plan order) names the product (it has an active bill) and the quantity to make. Optional: the warehouse its components leave and its goods arrive in (default the company's default warehouse), when it should be finished (default today) and a note. It gets a gap-free number per company and year (MO-2026-000001).
  • Its plan is fixed when it is created: each component's quantity is the bill's scaled from the batch to the order, at the component's moving average cost that day; the labour hours scale the same way, at the bill's rate an hour, with the overhead per hour. The planned cost is what the finished goods are later valued at.
  • Only a planned order is cancelled (POST /v1/production-orders/{order_id}/cancel); once its components have left stock it is not (order_not_planned).

Start: components into work in progress

Start (POST /v1/production-orders/{order_id}/start) takes the components out of the order's warehouse at moving average cost: one stock posting of the kind production that credits each component's inventory account and debits work in progress. A component that went in another quantity than planned (spoiled, or less needed) is given with what really went in; the others go as planned. It is refused when the warehouse does not hold them (not_enough_stock, on the day or any later one already booked), for a day after today or in a closed period, and unless the order is planned (production_order_status).

Finish: the finished goods at their planned cost, and the variances

Finish (POST /v1/production-orders/{order_id}/finish) records how many units were made (default the order's quantity) and the labour hours it took (default the planned hours for what was made), on a day not before the start. One stock posting books:

  1. the finished goods into stock at their planned cost for the quantity made (Dr the product's inventory account / Cr work in progress): standard costing, so the goods' value is known before anything is made, and the product's moving average takes it in;
  2. the labour (hours × the rate) and the overhead (hours × the overhead rate) into work in progress (Dr work in progress / Cr labour and overhead taken into production);
  3. the variances, what is left in work in progress, to the production variances account, each on its own line: the components (what the issued components cost at moving average less their planned cost for the quantity made), the labour and the overhead (actual less planned for the quantity made). A positive variance cost more than planned.

Work in progress is empty again for a finished order: the finished goods and the three variances add up to what the order cost, to the cent. Making fewer units than planned shows the components of the units not made as a component variance. A planned order that is finished is started first, on the same day.

Approval

Each step is a stock posting whose entry is decided as any other's: above the company's posting limit it waits for approval. While it waits the order is starting or finishing and the stock has not changed; when the entry is approved the order is started or finished, when it is rejected it is back where it was (planned or started) and can be started or finished again. An order cannot be finished while its start waits.

On the screen and for the assistant

Production lists the orders with their status, planned and actual cost and variance, and the bills of materials with what a unit costs to make today. An order opens with its components, planned against issued, and its postings; Start, Finish and Cancel are on the order. The assistant has the same steps (list_bills_of_materials, create_bill_of_materials, update_bill_of_materials, list_production_orders, create_production_order, start_production_order, finish_production_order, cancel_production_order); it asks the person how many units were made and the hours it took before it finishes an order.

What it does not do yet

Routings with several operations and work centres, a machine-hour overhead apart from labour, partial starts and finishes, by-products, and capacity planning of the shop floor are not built.

Stabiso, the Enterprise System of Record · generated from the code and its guides · release 3262ae655e81