Bug Fix. Small typo in ImportOrder class, leads to issues during import.

FR [2965494] - Import Order: Import of Order Source
https://sourceforge.net/tracker/?func=detail&aid=2965494&group_id=176962&atid=883808
This commit is contained in:
trifonnt 2010-03-22 14:54:42 +00:00
parent 2b219c14d6
commit 8f79bb25de
1 changed files with 2 additions and 2 deletions

View File

@ -232,8 +232,8 @@ public class ImportOrder extends SvrProcess
// @Trifon - Import Order Source // @Trifon - Import Order Source
sql = new StringBuffer ("UPDATE I_Order o " sql = new StringBuffer ("UPDATE I_Order o "
+ "SET C_OrderSource_ID=(SELECT C_OrderSource_ID FROM C_OrderSource p" + "SET C_OrderSource_ID=(SELECT C_OrderSource_ID FROM C_OrderSource p"
+ " WHERE o.OrderSourceValue=p.Value AND o.AD_Client_ID=p.AD_Client_ID) " + " WHERE o.C_OrderSourceValue=p.Value AND o.AD_Client_ID=p.AD_Client_ID) "
+ "WHERE C_OrderSource_ID IS NULL AND OrderSourceValue IS NOT NULL AND I_IsImported<>'Y'").append (clientCheck); + "WHERE C_OrderSource_ID IS NULL AND C_OrderSourceValue IS NOT NULL AND I_IsImported<>'Y'").append (clientCheck);
no = DB.executeUpdate(sql.toString(), get_TrxName()); no = DB.executeUpdate(sql.toString(), get_TrxName());
log.fine("Set Order Source=" + no); log.fine("Set Order Source=" + no);
// Set proper error message // Set proper error message