Troubleshoot manufacturing errors
This page lists common errors in Work Orders, Job Cards, and manufacturing Stock Entries, with their causes and fixes.
Capacity planning errors
"Unable to find the time slot in the next 30 days for the operation"
Cause: ERPNext could not schedule an operation within Capacity Planning For (Days). The workstation is fully booked, or its working hours are too short for the job.
Fix: do one of these:
- In Manufacturing Settings, increase Capacity Planning For (Days).
- Lower the quantity of the Work Order, or split it into several Work Orders.
- Increase the Job Capacity of the workstation, or add a workstation of the same type.
- Select Allow Overtime or Allow Production on Holidays in Manufacturing Settings.
"Operation … longer than any available working hours in workstation …"
Cause: each scheduled operation must fit in one working-hours slot of the workstation. The operation takes longer than the longest slot.
Fix:
- Check that the workstation has Working Hours. See Set up workstations.
- Split the operation into smaller operations that each fit in one slot.
- Or select Allow Overtime in Manufacturing Settings to schedule outside working hours.
"Workstation is closed on the following dates as per Holiday List"
Cause: the operation falls on a holiday of the workstation holiday list.
Fix: change the Planned Start Date, or select Allow Production on Holidays in Manufacturing Settings.
To turn off scheduling completely, select Disable Capacity Planning in Manufacturing Settings.
BOM quantity checks
These errors appear when Validate Components and Quantities Per BOM is selected in Manufacturing Settings.
| Message | Cause | Fix |
|---|---|---|
| For the item …, the consumed quantity should be … according to the BOM … | You changed a quantity in a Material Transfer for Manufacture or Manufacture Stock Entry. | Set the quantity from the BOM, or clear the setting. |
| According to the BOM …, the Item … is missing in the stock entry. | You removed a BOM item from the Stock Entry. | Add the item back, or clear the setting. |
The Start button is missing on a Work Order
| Cause | Fix |
|---|---|
| All required materials are already transferred. | To transfer more, set Transfer Extra Raw Materials to WIP (%) in Manufacturing Settings, then select Additional Material Transfer. |
| Skip Material Transfer to WIP Warehouse is selected. | No transfer is needed. Select Finish. |
| Transfer Material Against is Job Card. | Transfer the materials from each Job Card. |
| The Work Order is Stopped. | Select Status > Re-open. |
Job Card errors
| Message | Cause | Fix |
|---|---|---|
| Total Completed Qty (…), Process Loss Qty (…) and Pending Qty (…) must add up to the Qty to Manufacture (…). | The three quantities do not add up. | Correct the Pending qty or the completed quantity. See Record partial work and process loss. |
| Row #…: From Time and To Time fields are required | Enforce Time Logs is selected in Manufacturing Settings. | Fill in both times in each time log row. |
Material consumption errors
| Message | Cause | Fix |
|---|---|---|
| Cannot cancel transaction for Completed Work Order. | You tried to cancel a Material Consumption for Manufacture entry of a completed Work Order. | Correct the stock with a new Stock Entry. |