From d533ea444d9ca6e146e8c91a69a164f440a57afc Mon Sep 17 00:00:00 2001 From: tspc Date: Sat, 28 Jun 2008 03:32:55 +0000 Subject: [PATCH] BF2004751 Import Payments - column doesn't exist --- base/src/org/compiere/process/ImportPayment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/process/ImportPayment.java b/base/src/org/compiere/process/ImportPayment.java index 97df1ffaa6..3b2bc3eefc 100644 --- a/base/src/org/compiere/process/ImportPayment.java +++ b/base/src/org/compiere/process/ImportPayment.java @@ -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());