IDEMPIERE-207 GL Journal Generator / Fix NPE when simulate option

This commit is contained in:
Carlos Ruiz 2013-02-27 19:05:06 -05:00
parent 83a3822cec
commit 4bf4364757
1 changed files with 4 additions and 2 deletions

View File

@ -521,8 +521,10 @@ public class GLJournalGenerate extends SvrProcess
j.saveEx();
}
if (j != null) {
StringBuilder msg = new StringBuilder(Msg.parseTranslation(getCtx(), "@Created@ @GL_Journal_ID@=")).append(j.getDocumentNo());
addLog(j.get_ID(), null, null, msg.toString(), MJournal.Table_ID, j.get_ID());
}
return "@OK@";
} // doIt