diff --git a/src/engine/db/handlers/dbWarehouseHandler.java b/src/engine/db/handlers/dbWarehouseHandler.java index 9526d427..a0888b3d 100644 --- a/src/engine/db/handlers/dbWarehouseHandler.java +++ b/src/engine/db/handlers/dbWarehouseHandler.java @@ -212,6 +212,7 @@ public class dbWarehouseHandler extends dbHandlerBase { for (WorkOrder workOrder : submitList) { workOrder.workOrderID = ForgeManager.workOrderCounter.incrementAndGet(); ForgeManager.vendorWorkOrderLookup.get(workOrder.vendor).add(workOrder); + DbManager.WarehouseQueries.WRITE_WORKORDER(workOrder); ForgeManager.forge.add(workOrder); }