Merge fcfcae173c60

This commit is contained in:
Heng Sin Low 2013-04-09 11:13:31 +08:00
commit 7d77ed1675
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 //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( " SELECT DISTINCT ").append(m_AD_PInstance_ID).append(", po.M_Product_ID ");
sqlins.append(" FROM M_Product p, M_Product_PO po"); sqlins.append(" FROM M_Product p, M_Product_PO po");
sqlins.append(" WHERE p.M_Product_ID=po.M_Product_ID "); sqlins.append(" WHERE p.M_Product_ID=po.M_Product_ID ");