IDEMPIERE-2773 GL Journal - Post to Reservation or Commitment

This commit is contained in:
Chuck Boecking 2015-08-17 11:03:25 -05:00
parent eadfd48704
commit 37557f6b87
1 changed files with 2 additions and 1 deletions

View File

@ -491,10 +491,11 @@ public class MJournal extends X_GL_Journal implements DocAction
// Michael Judd (mjudd) BUG: [ 2678088 ] Allow posting to system accounts for non-actual postings // Michael Judd (mjudd) BUG: [ 2678088 ] Allow posting to system accounts for non-actual postings
if (line.isDocControlled() && if (line.isDocControlled() &&
( getPostingType().equals(POSTINGTYPE_Actual)) || ( getPostingType().equals(POSTINGTYPE_Actual) ||
getPostingType().equals(POSTINGTYPE_Commitment) || getPostingType().equals(POSTINGTYPE_Commitment) ||
getPostingType().equals(POSTINGTYPE_Reservation) getPostingType().equals(POSTINGTYPE_Reservation)
) )
)
{ {
m_processMsg = "@DocControlledError@ - @Line@=" + line.getLine() m_processMsg = "@DocControlledError@ - @Line@=" + line.getLine()
+ " - " + line.getAccountElementValue(); + " - " + line.getAccountElementValue();