Author: adrianc
Date: Tue Aug  4 15:35:28 2009
New Revision: 800846

URL: http://svn.apache.org/viewvc?rev=800846&view=rev
Log:
Bug fix in setPaymentStatus service, reported by Anne Jessel - 
https://issues.apache.org/jira/browse/OFBIZ-2792.

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=800846&r1=800845&r2=800846&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
 Tue Aug  4 15:35:28 2009
@@ -174,7 +174,7 @@
         </check-permission>
 
         <entity-one entity-name="Payment" value-field="payment"/>
-        <field-to-result field="payment.paymentId" result-name="oldStatusId"/>
+        <field-to-result field="payment.statusId" result-name="oldStatusId"/>
 
         <if-compare-field field="payment.statusId" 
to-field="parameters.statusId" operator="not-equals">
             <entity-one entity-name="StatusValidChange" 
value-field="statusChange" auto-field-map="false">


Reply via email to