0002172: Work entry not adjusting cost, fixed
[fa-stable.git] / manufacturing / includes / db / work_orders_quick_db.inc
index 9b869d0a1b935d6a94372450e139c3d02c110084..43e0d5bb1f7098409f0458583673f0d93f86352f 100644 (file)
@@ -78,7 +78,7 @@ function add_work_order_quick($wo_ref, $loc_code, $units_reqd, $stock_id, $type,
        $cost_adjust = false;
        if ($qoh < 0)
        {
-               if ($qoh + $units_reqd > 0)
+               if ($qoh + $units_reqd >= 0)
                        $cost_adjust = true;
        }