MPPOrder: fix typo error

This commit is contained in:
teo_sarca 2009-01-16 09:06:49 +00:00
parent fc91b00ffb
commit 16223594be
1 changed files with 14 additions and 13 deletions

View File

@ -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());