BUG: [ 2678088 ] Allow posting to system accounts for non-actual postings
This commit is contained in:
parent
4e47487121
commit
c447672a87
|
@ -450,8 +450,8 @@ public class MJournal extends X_GL_Journal implements DocAction
|
||||||
MJournalLine line = lines[i];
|
MJournalLine line = lines[i];
|
||||||
if (!isActive())
|
if (!isActive())
|
||||||
continue;
|
continue;
|
||||||
//
|
// Michael Judd (mjudd) BUG: [ 2678088 ] Allow posting to system accounts for non-actual postings
|
||||||
if (line.isDocControlled())
|
if (line.isDocControlled() && getPostingType().equals(POSTINGTYPE_Actual))
|
||||||
{
|
{
|
||||||
m_processMsg = "@DocControlledError@ - @Line@=" + line.getLine()
|
m_processMsg = "@DocControlledError@ - @Line@=" + line.getLine()
|
||||||
+ " - " + line.getAccountElementValue();
|
+ " - " + line.getAccountElementValue();
|
||||||
|
|
Loading…
Reference in New Issue