IDEMPIERE-468 Problem when using Immediate Client Accounting
This commit is contained in:
parent
822c42c89a
commit
cc8a577d87
|
@ -609,8 +609,7 @@ public class Doc_InOut extends Doc
|
||||||
} // createFact
|
} // createFact
|
||||||
|
|
||||||
private boolean isReversal(DocLine line) {
|
private boolean isReversal(DocLine line) {
|
||||||
return m_DocStatus.equals(MInOut.DOCSTATUS_Reversed)
|
return m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
|
||||||
&& m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // Doc_InOut
|
} // Doc_InOut
|
||||||
|
|
|
@ -235,7 +235,7 @@ public class Doc_Inventory extends Doc
|
||||||
} // createFact
|
} // createFact
|
||||||
|
|
||||||
private boolean isReversal(DocLine line) {
|
private boolean isReversal(DocLine line) {
|
||||||
return m_DocStatus.equals(MInventory.DOCSTATUS_Reversed) && m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
|
return m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // Doc_Inventory
|
} // Doc_Inventory
|
||||||
|
|
|
@ -224,7 +224,7 @@ public class Doc_Movement extends Doc
|
||||||
} // createFact
|
} // createFact
|
||||||
|
|
||||||
private boolean isReversal(DocLine line) {
|
private boolean isReversal(DocLine line) {
|
||||||
return m_DocStatus.equals(MMovement.DOCSTATUS_Reversed) && m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
|
return m_Reversal_ID !=0 && line.getReversalLine_ID() != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // Doc_Movement
|
} // Doc_Movement
|
||||||
|
|
Loading…
Reference in New Issue