From a36054b4066e6dbcfad04d7a34516a03be527cfa Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 27 Mar 2007 13:52:45 +0000 Subject: [PATCH] * [ 1647734 ] incorrect cost used in Shipment and MM (Avg PO costing), third time lucky :) --- serverRoot/src/main/server/org/compiere/acct/Doc_InOut.java | 1 + 1 file changed, 1 insertion(+) diff --git a/serverRoot/src/main/server/org/compiere/acct/Doc_InOut.java b/serverRoot/src/main/server/org/compiere/acct/Doc_InOut.java index 8113918b01..099c7df10d 100644 --- a/serverRoot/src/main/server/org/compiere/acct/Doc_InOut.java +++ b/serverRoot/src/main/server/org/compiere/acct/Doc_InOut.java @@ -216,6 +216,7 @@ public class Doc_InOut extends Doc costs = orderLine.getPriceCost(); if (costs == null || costs.signum() == 0) costs = orderLine.getPriceActual(); + costs = costs.multiply(line.getQty()); } else {