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:
parent
9bfac64a62
commit
3006bd82a1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue