diff --git a/org.adempiere.base/src/org/eevolution/model/MPPProductBOMLine.java b/org.adempiere.base/src/org/eevolution/model/MPPProductBOMLine.java index 241e744bee..6750910dae 100644 --- a/org.adempiere.base/src/org/eevolution/model/MPPProductBOMLine.java +++ b/org.adempiere.base/src/org/eevolution/model/MPPProductBOMLine.java @@ -226,7 +226,7 @@ public class MPPProductBOMLine extends X_PP_Product_BOMLine // if (includeScrapQty) { - BigDecimal scrapDec = getScrap().divide(Env.ONEHUNDRED, 12, BigDecimal.ROUND_UP); + BigDecimal scrapDec = getScrap().divide(Env.ONEHUNDRED, 12, RoundingMode.UP); qty = qty.divide(Env.ONE.subtract(scrapDec), precision, RoundingMode.HALF_UP); } //