Its not calculating current cost for Product BOMs
https://sourceforge.net/tracker/?func=detail&aid=2724570&group_id=176962&atid=934929
This commit is contained in:
parent
caadb633ac
commit
489d7b0b2f
|
@ -182,8 +182,7 @@ public class MPPProductBOMLine extends X_PP_Product_BOMLine
|
|||
if (includeScrapQty)
|
||||
{
|
||||
BigDecimal scrapDec = getScrap().divide(Env.ONEHUNDRED, 12, BigDecimal.ROUND_UP);
|
||||
qty = qty.divide(Env.ONE.subtract(scrapDec), precision, BigDecimal.ROUND_HALF_UP)
|
||||
.multiply(Env.ONEHUNDRED);
|
||||
qty = qty.divide(Env.ONE.subtract(scrapDec), precision, BigDecimal.ROUND_HALF_UP);
|
||||
}
|
||||
//
|
||||
if (qty.scale() > precision)
|
||||
|
|
Loading…
Reference in New Issue