IDEMPIERE-835 Create Price List - org.postgresql.util.PSQLException: No value specified for parameter 1.

This commit is contained in:
Carlos Ruiz 2013-04-08 10:46:47 -05:00
parent fc607f9fef
commit a5b31d9795
1 changed files with 1 additions and 1 deletions

View File

@ -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 ");