BUG: [ 2678088 ] Allow posting to system accounts for non-actual postings
This commit is contained in:
parent
28d0b69968
commit
c0ccf339be
|
@ -271,7 +271,7 @@ public class MJournal extends X_GL_Journal implements DocAction
|
|||
|
||||
/**
|
||||
* Set Processed.
|
||||
* Propergate to Lines/Taxes
|
||||
* Propagate to Lines/Taxes
|
||||
* @param processed processed
|
||||
*/
|
||||
public void setProcessed (boolean processed)
|
||||
|
@ -451,7 +451,11 @@ public class MJournal extends X_GL_Journal implements DocAction
|
|||
if (!isActive())
|
||||
continue;
|
||||
// Michael Judd (mjudd) BUG: [ 2678088 ] Allow posting to system accounts for non-actual postings
|
||||
if (line.isDocControlled() && getPostingType().equals(POSTINGTYPE_Actual))
|
||||
if (line.isDocControlled() &&
|
||||
( getPostingType().equals(POSTINGTYPE_Actual)) ||
|
||||
getPostingType().equals(POSTINGTYPE_Commitment) ||
|
||||
getPostingType().equals(POSTINGTYPE_Reservation)
|
||||
)
|
||||
{
|
||||
m_processMsg = "@DocControlledError@ - @Line@=" + line.getLine()
|
||||
+ " - " + line.getAccountElementValue();
|
||||
|
|
Loading…
Reference in New Issue