IDEMPIERE-1343 GL Journal Generator Show Ok When no journal have been created.
This commit is contained in:
parent
e3adf9a113
commit
aa21582761
|
@ -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@";
|
||||
|
|
Loading…
Reference in New Issue