* [ 1647734 ] incorrect cost used in Shipment and MM (Avg PO costing), third time lucky :)
This commit is contained in:
parent
814dba2eda
commit
a36054b406
|
@ -216,6 +216,7 @@ public class Doc_InOut extends Doc
|
||||||
costs = orderLine.getPriceCost();
|
costs = orderLine.getPriceCost();
|
||||||
if (costs == null || costs.signum() == 0)
|
if (costs == null || costs.signum() == 0)
|
||||||
costs = orderLine.getPriceActual();
|
costs = orderLine.getPriceActual();
|
||||||
|
costs = costs.multiply(line.getQty());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue