Author: sichen
Date: Wed Apr 25 14:17:14 2007
New Revision: 532489
URL:
http://svn.apache.org/viewvc?view=rev&rev=532489Log:
Fix for Double type parameter preventing refunds in the updateReturnHeader service
Modified:
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml
Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml?view=diff&rev=532489&r1=532488&r2=532489==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml Wed Apr 25 14:17:14 2007
@@ -151,7 +151,7 @@
<if-not-empty field-name="returnItem.orderId">
<set field="returnTotalCtx.orderId" from-field="returnItem.orderId"/>
<!-- no adjustment needed: adjustment is passed in to calculate the effect of an additional item on return total. -->
- <calculate field-name="returnTotalCtx.adjustment"><number value="0.0"/></calculate>
+ <calculate field-name="returnTotalCtx.adjustment" type="BigDecimal"><number value="0.0"/></calculate>
<call-service service-name="getOrderAvailableReturnedTotal" in-map-name="returnTotalCtx">
<result-to-field result-name="availableReturnTotal" field-name="availableReturnTotal"/>
<result-to-field result-name="returnTotal" field-name="returnTotal"/>