BF2004751 Import Payments - column doesn't exist
This commit is contained in:
parent
b4ab1d1cb4
commit
d533ea444d
|
@ -197,7 +197,7 @@ public class ImportPayment extends SvrProcess
|
||||||
log.info("Set Currency=" + no);
|
log.info("Set Currency=" + no);
|
||||||
//
|
//
|
||||||
sql = new StringBuffer("UPDATE I_Payment i "
|
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 "
|
+ "WHERE i.C_Currency_ID IS NULL "
|
||||||
+ "AND i.ISO_Code IS NULL").append(clientCheck);
|
+ "AND i.ISO_Code IS NULL").append(clientCheck);
|
||||||
no = DB.executeUpdate(sql.toString(), get_TrxName());
|
no = DB.executeUpdate(sql.toString(), get_TrxName());
|
||||||
|
|
Loading…
Reference in New Issue