svn commit: r794235 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml

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

svn commit: r794235 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml

apatel-2
Author: apatel
Date: Wed Jul 15 11:27:40 2009
New Revision: 794235

URL: http://svn.apache.org/viewvc?rev=794235&view=rev
Log:
Use iterator for performance reasons. Patch from Jira#2720.
Thanks Vikas for review and Surya for providing the patch.

Modified:
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml

Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml?rev=794235&r1=794234&r2=794235&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml Wed Jul 15 11:27:40 2009
@@ -366,7 +366,9 @@
     </simple-method>
 
     <simple-method method-name="migrateStatusToFinAccountTrans" short-description="Migrate statusId to FinAccountTrans entity">
-        <entity-condition entity-name="FinAccountTrans" list="finAccountTransList"/>
+        <entity-condition entity-name="FinAccountTrans" list="finAccountTransList">
+            <use-iterator/>
+        </entity-condition>    
         <iterate list="finAccountTransList" entry="finAccountTrans">
             <if-empty field="finAccountTrans.statusId">
                 <set field="finAccountTrans.statusId" value="FINACT_TRNS_APPROVED"/>