Fix [2890632] - Message Error on all imported process

Reviewed the message error concatenation in all processes and found just two problems with ImportAccount
This commit is contained in:
Carlos Ruiz 2009-11-03 17:38:22 +00:00
parent 487a0d630a
commit d9b8e0ac72
1 changed files with 2 additions and 2 deletions

View File

@ -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());