Author: lektran
Date: Mon Jan 7 21:34:30 2008
New Revision: 609874
URL:
http://svn.apache.org/viewvc?rev=609874&view=revLog:
Fix problem reported by Daniel Kunkel on the user list, a required out parameter was being set inside a condition causing the service to fail if the condition wasn't met
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml?rev=609874&r1=609873&r2=609874&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml Mon Jan 7 21:34:30 2008
@@ -304,7 +304,6 @@
<calcop field-name="invoicePaymentInfo.paidAmount" operator="get"/>
</calcop>
</calculate>
- <set field="invoicePaymentInfoList[]" from-field="invoicePaymentInfo"/>
</if-compare>
</iterate>
<if>
@@ -343,9 +342,9 @@
<calcop field-name="invoicePaymentInfo.paidAmount" operator="get"/>
</calcop>
</calculate>
- <set field="invoicePaymentInfoList[]" from-field="invoicePaymentInfo"/>
</then>
</if>
+ <set field="invoicePaymentInfoList[]" from-field="invoicePaymentInfo"/>
<field-to-result field-name="invoicePaymentInfoList" result-name="invoicePaymentInfoList"/>
</simple-method>