IDEMPIERE-1999 Adding support for over shipment / based on attached patch (MInOut.patch) from hengsin
This commit is contained in:
parent
e2fdfddacc
commit
d4e227aafe
|
@ -1463,9 +1463,6 @@ public class MInOut extends X_M_InOut implements DocAction
|
|||
// Correct Order Line
|
||||
if (product != null && oLine != null) // other in VMatch.createMatchRecord
|
||||
{
|
||||
if (isSOTrx())
|
||||
oLine.setQtyReserved(oLine.getQtyReserved().subtract(sLine.getMovementQty()));
|
||||
else
|
||||
oLine.setQtyReserved(oLine.getQtyReserved().subtract(sLine.getMovementQty().subtract(sLine.getQtyOverReceipt())));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue