BF [2874066] - Static analysis reveals 2 SQL errors

https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2874066&group_id=176962
This commit is contained in:
trifonnt 2009-10-09 15:08:17 +00:00
parent a3298fba8c
commit 7ee247ec0b
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ public class Doc_MatchPO extends Doc
+ "WHERE m.C_OrderLine_ID=ol.C_OrderLine_ID"
+ " AND pc.M_Product_ID=ol.M_Product_ID"
+ " AND pc.C_AcctSchema_ID=a.C_AcctSchema_ID"
+ "AND m.M_MatchPO_ID=").append(get_ID()).append(") ")
+ " AND m.M_MatchPO_ID=").append(get_ID()).append(") ")
.append("WHERE pc.C_AcctSchema_ID=").append(C_AcctSchema_ID)
.append(" AND pc.M_Product_ID=").append(getM_Product_ID());
int no = DB.executeUpdate(sql.toString(), getTrxName());