Production tracking
How a manufacturing order concretely acts on stock: on save, Swifto consumes the materials from the purchasing stock and brings the finished product in to the destination stock. Editing is done by variance (delta), deletion returns everything (type 13 movement), and the value used is the ex-works price.
Overview
This page complements Manufacturing orders: where the first describes how to compose an order, this one describes what happens in stock once the order is saved, edited or deleted. Everything is automatic: the user never writes a stock movement by hand — they save the order and Swifto derives the entries.
What Swifto does
- Deducts each component from the purchasing stock
- Adds the finished product to the destination stock
- Recalculates by variance on modification
- Returns everything on deletion
On this page
- Material consumption (type 12)
- Finished-product entry (type 12)
- Delta modification · Return (type 13)
- Valuation at ex-works price
See also
The entries described here can be viewed in Stock movements and their effect is visible on Stock levels. Module overview: Production.
Execution on save
There is no "pending" status: as soon as you click Save, the production is actually executed. In a single transaction, Swifto deducts the components and brings the finished product in.
Save (production)
Stock impactedDeducts each component from the purchasing stock and adds the finished product's Intact Qty to the destination stock. Two sets of type 12 movements are created.
Details
ReadOpens the order: header, components and quantities, produced item and destination — with no effect on stock.
Edit
Delta recalculationApplies only the variance in quantities, components or stock/item (see §6).
Delete
Production cancelledReturns the components and removes the finished product (type 13 movements). Logical deletion of the order (see §7).
All or nothing. If a component is unavailable, the save is rejected as a whole: no deduction or entry is applied. Fix it, then save again.
Material consumption
For each component of the order, Swifto finds the matching line in the purchasing stock and subtracts the required quantity. A type 12 movement is traced with the old and new quantity.
| Date | Article | Stock | Type | Old Qty | New Qty |
|---|---|---|---|---|---|
| 02/06/2026 09:14 | MP-LAIT - Whole milk (L) | STK-MP1 - Raw materials | Production (12) | 1,200.000 | 960.000 |
| 02/06/2026 09:14 | MP-FERM - Lactic cultures (g) | STK-MP1 - Raw materials | Production (12) | 15.000 | 10.200 |
| 02/06/2026 09:14 | SF-POT500 - 500ml pot (u) | STK-MP1 - Raw materials | Production (12) | 600.000 | 108.000 |
If a component is not found or is in insufficient quantity in the purchasing stock at the time of saving, the order is refused (Insufficient quantity) and no material is consumed.
Finished-product entry
In parallel with the consumption, Swifto adds the Intact Qty of the produced item to the destination stock. If the item is not there yet, the stock line is created. The Defective Qty does not enter: it remains a simple quality indicator.
| Date | Article | Stock | Type | Old Qty | New Qty |
|---|---|---|---|---|---|
| 02/06/2026 09:14 | ART0102 - Plain yogurt 500ml | STK-PF - Finished goods | Production (12) | 0.000 | 480.000 |
+480 to the destination stock: only the Intact Qty is carried to the stock level.
The 12 defective units create no stock movement: scrap out of stock.
Valuation at ex-works price
The produced quantities are valued at the ex-works price (EXW) of the item. This is the manufacturing cost price that serves as the basis for the value of the finished-goods stock — the same logic used to value stock returns.
| Produced Article | Intact Quantity | Prices of factory | Produced value |
|---|---|---|---|
| ART0102 - Plain yogurt 500ml | 480.000 | 0.850 TND | 408.000 TND |
| ART0214 - Pack 6×1L | 300.000 | 3.200 TND | 960.000 TND |
Where to set the ex-works price?
The ex-works price is entered on the item record (see Items). Keep it up to date for a faithful stock valuation of the manufactured products.
Delta modification
When editing an order, Swifto does not redo everything: it applies only the variance from the previous version. Depending on the direction of the variance, the movement is type 12 (addition) or type 13 (return).
| Change | Stock effect | Movement |
|---|---|---|
| Intact Qty increased | Adds the variance to the destination stock. | Type 12 |
| Intact Qty decreased | Removes the variance from the destination stock. | Type 13 |
| Component: Required Qty changed | Consumes or returns only the variance to the purchasing stock. | Type 12 / 13 |
| Component removed | Returns its full quantity to the purchasing stock. | Type 13 |
| Stock / item change | Fully transfers the old one to the new one. | Type 12 + 13 |
Example. Changing the Intact Qty from 480 to 500 writes only a +20 movement (type 12) to the destination stock — not a return followed by a full re-consumption.
An increase in quantity (component or product) is still subject to the availability check: if the stock concerned does not cover the variance, the modification is refused.
Return (type 13 movement)
Deleting an order cancels the production: Swifto gives back the components to the purchasing stock and removes the finished product from the destination stock. These reverse entries carry the type 13 movement (Production cancellation). The order undergoes a logical deletion (the trace is kept).
| Date | Article | Stock | Type | Old Qty | New Qty |
|---|---|---|---|---|---|
| 03/06/2026 16:02 | MP-LAIT - Whole milk (L) | STK-MP1 - Raw materials | Return (13) | 960.000 | 1,200.000 |
| 03/06/2026 16:02 | ART0102 - Plain yogurt 500ml | STK-PF - Finished goods | Return (13) | 480.000 | 0.000 |
Safeguard on deletion. The finished product must still be available in the destination stock to be removable. If it has already been sold/issued and the quantity is missing, the return is refused (Insufficient quantity).
Full cycle (workflow)
flowchart LR A([Save the MO]):::s --> B[Consume components]:::p B --> C[(Purchasing stock
debited)]:::ko A --> D[Enter finished product
Intact Qty]:::p D --> E[(Destination stock
credited · EXW)]:::ok C -.->|type 12 mvt| M[/Stock movements/]:::st E -.->|type 12 mvt| M A ==>|Edit| F{Variance?}:::s F -->|increase| G[+ stock · type 12]:::ok F -->|decrease| H[- stock · type 13]:::ko A ==>|Delete| R([Return of materials
+ product removal · type 13]):::ko classDef p fill:#F5F3FF,stroke:#8B5CF6,color:#5B21B6; classDef s fill:#f3f1ff,stroke:#7366fe,color:#1f1c3d; classDef st fill:#FEF3C7,stroke:#F59E0B,color:#92400E; classDef ok fill:#D1FAE5,stroke:#10B981,color:#065F46; classDef ko fill:#FEE2E2,stroke:#EF4444,color:#991B1B;
Business rules
Immediate execution — no intermediate status: the save triggers, in one transaction, both the material consumption and the finished-product entry.
Delta modification — only the quantity variance (per component and on the product) is applied; changing stock or item fully transfers the old one to the new one.
Type 13 return — deletion gives the components back to the purchasing stock and removes the finished product from the destination stock. Logical deletion of the order.
EXW valuation — production is valued at the ex-works price of the manufactured item; keep this price up to date for an accurate stock value.
Blocking availability on both sides — a shortage in the purchasing stock (creation/increase) or in the destination stock (decrease/deletion) refuses the operation.
FAQ & Tips
Correct rather than delete
To adjust a produced quantity, prefer to Edit the order: stock is recalculated by variance, without returning everything then re-consuming it as with delete/recreate.
Why can't I delete an order?
The finished product has probably already been sold or issued: not enough of it remains in the destination stock for the return. Replenish it or leave the order in place.
The produced value looks wrong?
Check the ex-works price of the manufactured item on its Item record: it is the basis for the valuation.
Where to find all the entries of an order?
In Stock movements, filter on the types Production (12) and Production cancellation (13): you get the full timeline, old and new quantity included.
Swifto ERP · Production module · User Manual v1.0
Production tracking — Manufacturing orders · Production · Home