svn commit: r803499 - in /ofbiz/trunk/applications/accounting: script/org/ofbiz/accounting/finaccount/FinAccountServices.xml servicedef/secas.xml

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

svn commit: r803499 - in /ofbiz/trunk/applications/accounting: script/org/ofbiz/accounting/finaccount/FinAccountServices.xml servicedef/secas.xml

apatel-2
Author: apatel
Date: Wed Aug 12 13:30:27 2009
New Revision: 803499

URL: http://svn.apache.org/viewvc?rev=803499&view=rev
Log:
Fix for
1) PartyId is missing when create FinAccountTrans record.
2) PaymentGroup should not be created  when " Deposit Payment in: finAcount" is checked.

Modified:
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml
    ofbiz/trunk/applications/accounting/servicedef/secas.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=803499&r1=803498&r2=803499&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 Aug 12 13:30:27 2009
@@ -841,6 +841,7 @@
             <set-service-fields service-name="createFinAccountTrans" map="parameters" to-map="createFinAccountTransMap"/>
             <set field="createFinAccountTransMap.paymentId" from-field="paymentId"/>
             <set field="createFinAccountTransMap.statusId" value="FINACT_TRNS_CREATED"/>
+            <set field="createFinAccountTransMap.partyId" from-field="parameters.partyIdFrom"/>
             <call-service service-name="createFinAccountTrans" in-map-name="createFinAccountTransMap"/>
         </if-compare>
         <field-to-list field="paymentId" list="paymentIds"/>

Modified: ofbiz/trunk/applications/accounting/servicedef/secas.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas.xml?rev=803499&r1=803498&r2=803499&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas.xml Wed Aug 12 13:30:27 2009
@@ -171,9 +171,4 @@
         <condition field-name="groupInOneTransaction" operator="equals" value="Y"/>
         <action service="createPaymentGroupAndMember" mode="async"/>
     </eca>
-    <eca service="createPaymentAndFinAccountTrans" event="commit">
-        <condition field-name="isDepositWithDrawPayment" operator="equals" value="Y"/>
-        <condition field-name="finAccountTransTypeId" operator="equals" value="DEPOSIT"/>
-        <action service="createPaymentGroupAndMember" mode="async"/>
-    </eca>
 </service-eca>