From d9b8e0ac729c5734e6c8c6249321b0129ff09190 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 3 Nov 2009 17:38:22 +0000 Subject: [PATCH] Fix [2890632] - Message Error on all imported process Reviewed the message error concatenation in all processes and found just two problems with ImportAccount --- base/src/org/compiere/process/ImportAccount.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/src/org/compiere/process/ImportAccount.java b/base/src/org/compiere/process/ImportAccount.java index 31b209f769..d4dadb68c1 100644 --- a/base/src/org/compiere/process/ImportAccount.java +++ b/base/src/org/compiere/process/ImportAccount.java @@ -142,7 +142,7 @@ public class ImportAccount extends SvrProcess log.fine("Set Element=" + no); // sql = new StringBuffer ("UPDATE I_ElementValue " - + "SET I_IsImported='E', I_ErrorMsg='ERR=Invalid Element, ' " + + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=Invalid Element, ' " + "WHERE C_Element_ID IS NULL" + " AND I_IsImported<>'Y'").append(clientCheck); no = DB.executeUpdate(sql.toString(), get_TrxName()); @@ -150,7 +150,7 @@ public class ImportAccount extends SvrProcess // No Name, Value sql = new StringBuffer ("UPDATE I_ElementValue " - + "SET I_IsImported='E', I_ErrorMsg='ERR=No Name, ' " + + "SET I_IsImported='E', I_ErrorMsg=I_ErrorMsg||'ERR=No Name, ' " + "WHERE (Value IS NULL OR Name IS NULL)" + " AND I_IsImported<>'Y'").append(clientCheck); no = DB.executeUpdate(sql.toString(), get_TrxName());