From 6c840d5721e47aac14d9d07eec7b1f42c7181b65 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Fri, 2 Feb 2007 21:47:47 +0000 Subject: [PATCH] * [ 1650898 ] Production Run doesn't complete --- base/src/org/compiere/process/M_Production_Run.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/process/M_Production_Run.java b/base/src/org/compiere/process/M_Production_Run.java index 9b9ccda76c..306238c82b 100644 --- a/base/src/org/compiere/process/M_Production_Run.java +++ b/base/src/org/compiere/process/M_Production_Run.java @@ -350,7 +350,7 @@ public class M_Production_Run extends SvrProcess { ResultSet pl = CUR_PL_Post.executeQuery(); while (pl.next()) { sql = " select bomQtyOnHand (" + pl.getInt("M_Product_ID") - + ", null," + pl.getInt("M_Locator_ID") + ")"; + + ", null," + pl.getInt("M_Locator_ID") + ") FROM DUAL"; PreparedStatement cnsql = null; cnsql = DB.prepareStatement(sql, get_TrxName()); ResultSet cs = cnsql.executeQuery();