BF [3005450] - Distribution of Landed Costs wrongly calculated

https://sourceforge.net/tracker/?func=detail&atid=879332&aid=3005450&group_id=176962
This commit is contained in:
trifonnt 2010-05-22 18:04:54 +00:00
parent 9bfac64a62
commit 3006bd82a1
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ public class MInOutLine extends X_M_InOutLine
log.severe("No Invoice Line for: " + this.toString()); log.severe("No Invoice Line for: " + this.toString());
return Env.ZERO; return Env.ZERO;
} }
return m_il.getLineNetAmt(); return this.getMovementQty().multiply(m_il.getPriceActual()); // Actual delivery
} }
else if (MLandedCost.LANDEDCOSTDISTRIBUTION_Line.equals(CostDistribution)) else if (MLandedCost.LANDEDCOSTDISTRIBUTION_Line.equals(CostDistribution))
return Env.ONE; return Env.ONE;