From a5b31d97958fc88e654576706e93bfe1e2333198 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 8 Apr 2013 10:46:47 -0500 Subject: [PATCH] IDEMPIERE-835 Create Price List - org.postgresql.util.PSQLException: No value specified for parameter 1. --- .../src/org/compiere/process/M_PriceList_Create.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base.process/src/org/compiere/process/M_PriceList_Create.java b/org.adempiere.base.process/src/org/compiere/process/M_PriceList_Create.java index 422d5f8b4a..819f53599d 100644 --- a/org.adempiere.base.process/src/org/compiere/process/M_PriceList_Create.java +++ b/org.adempiere.base.process/src/org/compiere/process/M_PriceList_Create.java @@ -302,7 +302,7 @@ public class M_PriceList_Create extends SvrProcess { // //Create Selection from M_Product_PO // - sqlins.append("INSERT INTO T_Selection (AD_PInstance_ID, T_Selection_ID) "); + sqlins = new StringBuilder("INSERT INTO T_Selection (AD_PInstance_ID, T_Selection_ID) "); sqlins.append( " SELECT DISTINCT ").append(m_AD_PInstance_ID).append(", po.M_Product_ID "); sqlins.append(" FROM M_Product p, M_Product_PO po"); sqlins.append(" WHERE p.M_Product_ID=po.M_Product_ID ");