MPPOrder: fix typo error
This commit is contained in:
parent
fc91b00ffb
commit
16223594be
|
@ -487,6 +487,8 @@ public class MPPOrder extends X_PP_Order implements DocAction
|
|||
MProduct product = line.getM_Product();
|
||||
if (!product.isStocked())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
BigDecimal ordered = Env.ZERO;
|
||||
BigDecimal reserved = difference;
|
||||
int M_Locator_ID = getM_Locator_ID(ordered);
|
||||
|
@ -497,7 +499,6 @@ public class MPPOrder extends X_PP_Order implements DocAction
|
|||
{
|
||||
throw new AdempiereException();
|
||||
}
|
||||
} // stocked
|
||||
// update line
|
||||
line.setQtyReserved(line.getQtyReserved().add(difference));
|
||||
line.saveEx(get_TrxName());
|
||||
|
|
Loading…
Reference in New Issue