BUG: [ 2678088 ] Allow posting to system accounts for non-actual postings

This commit is contained in:
mjudd 2009-03-12 15:04:23 +00:00
parent 4e47487121
commit c447672a87
1 changed files with 2 additions and 2 deletions

View File

@ -450,8 +450,8 @@ public class MJournal extends X_GL_Journal implements DocAction
MJournalLine line = lines[i];
if (!isActive())
continue;
//
if (line.isDocControlled())
// Michael Judd (mjudd) BUG: [ 2678088 ] Allow posting to system accounts for non-actual postings
if (line.isDocControlled() && getPostingType().equals(POSTINGTYPE_Actual))
{
m_processMsg = "@DocControlledError@ - @Line@=" + line.getLine()
+ " - " + line.getAccountElementValue();