svn commit: r892861 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r892861 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml

jacopoc
Author: jacopoc
Date: Mon Dec 21 16:22:38 2009
New Revision: 892861

URL: http://svn.apache.org/viewvc?rev=892861&view=rev
Log:
Fixed bug in standard cost creation service that was causing and incorrect value for the routing cost under some circumstances.

Modified:
    ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml?rev=892861&r1=892860&r2=892861&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml Mon Dec 21 16:22:38 2009
@@ -335,8 +335,8 @@
                     <set field="totalCostsByType.${costType}" from-field="costAmount"/>
                 </else>
                 </if-not-empty>
-                <calculate field="totalTaskCost" decimal-scale="6">
-                    <calcop field="totalTaskCost" operator="add">
+                <calculate field="totalOtherTaskCost" decimal-scale="6">
+                    <calcop field="totalOtherTaskCost" operator="add">
                         <calcop field="costAmount" operator="get"/>
                     </calcop>
                 </calculate>
@@ -346,6 +346,7 @@
         <calculate field="totalCost" decimal-scale="6">
             <calcop field="totalTaskCost" operator="add">
                 <calcop field="totalProductsCost" operator="get"/>
+                <calcop field="totalOtherTaskCost" operator="get"/>
             </calcop>
         </calculate>