Fix bug [ 1811934 ] Reverse Accrual for GL Journal not working

This commit is contained in:
Carlos Ruiz 2007-10-12 01:37:18 +00:00
parent 3f19ecb88b
commit 82acc0d9fa
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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;
}
}