IDEMPIERE-5039 Negative Lost Sales Quantity (#1003)
fix unit test IDEMPIERE-4587
This commit is contained in:
parent
a31a6c61c0
commit
2b79a1a874
|
@ -1510,7 +1510,7 @@ public class MInOut extends X_M_InOut implements DocAction
|
|||
m_processMsg = "Cannot correct Inventory OnHand [" + product.getValue() + "] - " + lastError;
|
||||
return DocAction.STATUS_Invalid;
|
||||
}
|
||||
if (oLine!=null && oLine.getQtyOrdered().signum() >= 0 && oLine.getM_Product_ID() > 0)
|
||||
if (oLine!=null && oLine.getQtyOrdered().signum() > 0 && oLine.getM_Product_ID() > 0)
|
||||
{
|
||||
IReservationTracer tracer = null;
|
||||
IReservationTracerFactory factory = Core.getReservationTracerFactory();
|
||||
|
|
Loading…
Reference in New Issue