BF 2391401 Account balance limit to 100 mio

This commit is contained in:
armenrz 2008-12-15 15:56:31 +00:00
parent a2701260d6
commit 0d267e4ce5
1 changed files with 5 additions and 2 deletions

View File

@ -508,14 +508,17 @@ public class ImportGLJournal extends SvrProcess
no = DB.executeUpdate(sql.toString(), get_TrxName()); no = DB.executeUpdate(sql.toString(), get_TrxName());
if (no != 0) if (no != 0)
log.warning ("Zero Acct Balance=" + no); log.warning ("Zero Acct Balance=" + no);
//AZ Goodwill
//BF: 2391401 Remove account balance limitation in Import GL Journal
/*
sql = new StringBuffer ("UPDATE I_GLJournal i " sql = new StringBuffer ("UPDATE I_GLJournal i "
+ "SET I_ErrorMsg=I_ErrorMsg||'WARN=Check Acct Balance, ' " + "SET I_ErrorMsg=I_ErrorMsg||'WARN=Check Acct Balance, ' "
+ "WHERE ABS(AmtAcctDr-AmtAcctCr)>100000000" // 100 mio + "WHERE ABS(AmtAcctDr-AmtAcctCr)>100000000" // 100 mio
+ " AND I_IsImported<>'Y'").append (clientCheck); + " AND I_IsImported<>'Y'").append (clientCheck);
no = DB.executeUpdate(sql.toString(), get_TrxName()); no = DB.executeUpdate(sql.toString(), get_TrxName());
if (no != 0) if (no != 0)
log.warning ("Chack Acct Balance=" + no); log.warning ("Check Acct Balance=" + no);
*/
/*********************************************************************/ /*********************************************************************/