Author: jacopoc
Date: Wed Jul 5 09:45:51 2006
New Revision: 419275
URL:
http://svn.apache.org/viewvc?rev=419275&view=revLog:
Fixed small bug in costing returned marketing packages.
Modified:
incubator/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
Modified: incubator/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java?rev=419275&r1=419274&r2=419275&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java (original)
+++ incubator/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java Wed Jul 5 09:45:51 2006
@@ -2282,7 +2282,7 @@
serviceContext.clear();
serviceContext = UtilMisc.toMap("productId", inventoryItem.getString("productId"),
"currencyUomId", inventoryItem.getString("currencyUomId"),
- "costComponentTypePrefix", "EST_STD_",
+ "costComponentTypePrefix", "EST_STD",
"userLogin", userLogin);
resultService = dispatcher.runSync("getProductCost", serviceContext);
Double packageCost = (Double)resultService.get("productCost");
@@ -2312,7 +2312,7 @@
serviceContext.clear();
serviceContext = UtilMisc.toMap("productId", ((GenericValue)component.get("product")).getString("productId"),
"currencyUomId", inventoryItem.getString("currencyUomId"),
- "costComponentTypePrefix", "EST_STD_",
+ "costComponentTypePrefix", "EST_STD",
"userLogin", userLogin);
resultService = dispatcher.runSync("getProductCost", serviceContext);
Double componentCost = (Double)resultService.get("productCost");