Author: lektran
Date: Wed Dec 5 01:26:20 2007
New Revision: 601268
URL: http://svn.apache.org/viewvc?rev=601268&view=rev
Log:
amount needs to be a Double for createReturnAdjustment
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?rev=601268&r1=601267&r2=601268&view=diff
==============================================================================
---
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml
(original)
+++
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml
Wed Dec 5 01:26:20 2007
@@ -769,7 +769,7 @@
<set from-field="returnId" field="balanceItemCtx.returnId"/>
<set field="balanceItemCtx.returnItemSeqId" value="_NA_"/>
- <set from-field="availableReturnTotal"
field="balanceItemCtx.amount" />
+ <set from-field="availableReturnTotal"
field="balanceItemCtx.amount" type="Double"/>
<log level="warning" message="Creating a balance adjustment of
[${availableReturnTotal}] for return [${returnId}]"/>
<!-- create the balance adjustment return item -->