Unbuild (item disassembly)
This section describes the unbuild (disassembly) logic implemented through a special type of manufacturing order.
General idea
Unbuild is “reverse manufacturing”:
- the source item is consumed from stock (as a material);
- the components from the Bill of Materials are received to the finished goods location (as output).
In practice, the system records the operation as:
- consume the source item;
- receive a set of components calculated from the Bill of Materials.
What is required to use unbuild
- A manufacturing order type with the “Unbuild” flag must exist.
- A Bill of Materials must be specified for the item to be unbuilt — it defines what the item is disassembled into.
Note: in initial data there is usually an “Unbuild” type already configured as unbuild.
How unbuild differs from regular production
Which lines are “materials” and which are “output”
For regular production:
- materials = Bill of Materials components;
- output = the finished item (and possible by-products).
For unbuild:
- materials = the source item itself (and additional items if they are specified as by-products in the Bill of Materials);
- output = Bill of Materials components.
Planned quantity
The “Manufacture” field is also used for unbuild, but the meaning changes:
- for unbuild it is the quantity of the source item that will be disassembled (technically, the planned consumption of the source item).
Automatic line generation from the Bill of Materials
The order has a line generation action (usually “Create Lines”, available in “Draft”).
For unbuild, the system performs:
- Clears existing material and output lines.
- Creates output lines from Bill of Materials components:
- item = component;
- the planned Manufacture quantity is calculated proportionally:
- component quantity in Bill of Materials × unbuild quantity / Bill of Materials quantity;
- if the component has a Cost ratio, it is copied to the output line.
- Creates one material line for the source item:
- item = order item;
- the To consume quantity = unbuild quantity.
- If the Bill of Materials contains by-products, they are added as additional material lines (also to be consumed).
Reserving and starting unbuild
Unbuild goes through the same statuses as regular production:
- Prepare the order: type “Unbuild”, item, Bill of Materials, quantity.
- Check availability and reserve materials.
- for unbuild, the material is the source item;
- if the source item is not available in the material location, the order cannot move to the ready status.
- Move the order “in progress”.
- run Manufacture.
- Record actual execution:
- for unbuild, the actual Produced quantity shown in the header is the actually consumed quantity of the source item;
- entering it distributes the actual output components and consumption proportionally to the plan.
- Run Mark as Done and specify the Products location where components will be received.
Costing for unbuild
Valuation follows the same logic as for production:
- the basis of cost is actual consumption (for unbuild it is consumption of the source item and any additional material lines);
- the total amount is distributed across output lines (components) by their Cost ratio values.
If cost ratios are not filled in, the unbuild cost is not distributed to the components at all — fill in the Cost ratio on the Bill of Materials components (from where it is copied to the output lines) or directly on the output lines.
See details in Costing: how it is calculated.
Common mistakes
- Unbuild lines are not generated — a Bill of Materials is not selected.
- Reservation fails — the source item is not available in the material location in the required quantity.
- Components are received to the wrong location — make sure the Products location is specified on completion.