BF2004751 Import Payments - column doesn't exist

This commit is contained in:
tspc 2008-06-28 03:32:55 +00:00
parent b4ab1d1cb4
commit d533ea444d
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ public class ImportPayment extends SvrProcess
log.info("Set Currency=" + no);
//
sql = new StringBuffer("UPDATE I_Payment i "
+ "SET i.C_Currency_ID=(SELECT C_Currency_ID FROM C_BankAccount WHERE C_BankAccount_ID=i.C_BankAccount_ID) "
+ "SET C_Currency_ID=(SELECT C_Currency_ID FROM C_BankAccount WHERE C_BankAccount_ID=i.C_BankAccount_ID) "
+ "WHERE i.C_Currency_ID IS NULL "
+ "AND i.ISO_Code IS NULL").append(clientCheck);
no = DB.executeUpdate(sql.toString(), get_TrxName());