IDEMPIERE-2773 GL Journal - Post to Reservation or Commitment
This commit is contained in:
parent
eadfd48704
commit
37557f6b87
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue