Author: jacopoc
Date: Wed Aug 26 15:09:53 2009
New Revision: 808043
URL:
http://svn.apache.org/viewvc?rev=808043&view=revLog:
Moved eca for gl transactions for payment applications to the right xml file.
Modified:
ofbiz/trunk/applications/accounting/servicedef/secas.xml
ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml
Modified: ofbiz/trunk/applications/accounting/servicedef/secas.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas.xml?rev=808043&r1=808042&r2=808043&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas.xml Wed Aug 26 15:09:53 2009
@@ -153,10 +153,6 @@
<condition field-name="productTypeId" operator="equals" value="ASSET_USAGE"/>
<action service="createFixedAssetAndLinkToProduct" mode="sync"/>
</eca>
- <eca service="createPaymentApplication" event="commit">
- <condition field-name="invoiceId" operator="is-not-empty"/>
- <action service="createAcctgTransAndEntriesForPaymentApplication" mode="sync"/>
- </eca>
<eca service="setInvoiceStatus" event="commit">
<condition field-name="invoiceId" operator="is-not-empty"/>
Modified: ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml?rev=808043&r1=808042&r2=808043&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas_ledger.xml Wed Aug 26 15:09:53 2009
@@ -133,4 +133,9 @@
<condition field-name="statusId" operator="equals" value="INVOICE_CANCELLED"/>
<action service="cancelInvoice" mode="sync"/>
</eca>
+
+ <eca service="createPaymentApplication" event="commit">
+ <condition field-name="invoiceId" operator="is-not-empty"/>
+ <action service="createAcctgTransAndEntriesForPaymentApplication" mode="sync"/>
+ </eca>
</service-eca>
\ No newline at end of file