IDEMPIERE-1343 GL Journal Generator Show Ok When no journal have been created.

This commit is contained in:
Heng Sin Low 2013-09-09 10:49:58 +08:00
parent e3adf9a113
commit aa21582761
1 changed files with 2 additions and 0 deletions

View File

@ -524,6 +524,8 @@ public class GLJournalGenerate extends SvrProcess
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());
}else{
return "0 @GL_Journal_ID@ @Created@";
}
return "@OK@";