* [ 1647734 ] incorrect cost used in Shipment and MM (Avg PO costing), third time lucky :)

This commit is contained in:
Heng Sin Low 2007-03-27 13:52:45 +00:00
parent 814dba2eda
commit a36054b406
1 changed files with 1 additions and 0 deletions

View File

@ -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
{ {