Fix bug [ 1811934 ] Reverse Accrual for GL Journal not working
This commit is contained in:
parent
3f19ecb88b
commit
82acc0d9fa
|
@ -707,8 +707,8 @@ public class MJournal extends X_GL_Journal implements DocAction
|
|||
// Journal
|
||||
MJournal reverse = new MJournal (this);
|
||||
reverse.setGL_JournalBatch_ID(GL_JournalBatch_ID);
|
||||
reverse.setC_Period_ID(0);
|
||||
reverse.setDateDoc(new Timestamp(System.currentTimeMillis()));
|
||||
reverse.set_ValueNoCheck ("C_Period_ID", null); // reset
|
||||
reverse.setDateAcct(reverse.getDateDoc());
|
||||
// Reverse indicator
|
||||
String description = reverse.getDescription();
|
||||
|
|
|
@ -582,7 +582,7 @@ public class MJournalBatch extends X_GL_JournalBatch implements DocAction
|
|||
;
|
||||
else
|
||||
{
|
||||
m_processMsg = "All Journals need to be Compleded: " + journal.getSummary();
|
||||
m_processMsg = "All Journals need to be Completed: " + journal.getSummary();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -648,7 +648,7 @@ public class MJournalBatch extends X_GL_JournalBatch implements DocAction
|
|||
;
|
||||
else
|
||||
{
|
||||
m_processMsg = "All Journals need to be Compleded: " + journal.getSummary();
|
||||
m_processMsg = "All Journals need to be Completed: " + journal.getSummary();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue