Author: hansbak
Date: Tue Jul 2 09:10:01 2013
New Revision: 1498849
URL:
http://svn.apache.org/r1498849Log:
applications where not created when status direct to invoice-ready status
Modified:
ofbiz/trunk/applications/accounting/servicedef/secas_invoice.xml
Modified: ofbiz/trunk/applications/accounting/servicedef/secas_invoice.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/servicedef/secas_invoice.xml?rev=1498849&r1=1498848&r2=1498849&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/servicedef/secas_invoice.xml (original)
+++ ofbiz/trunk/applications/accounting/servicedef/secas_invoice.xml Tue Jul 2 09:10:01 2013
@@ -41,5 +41,10 @@ under the License.
<condition operator="not-equals" field-name="oldStatusId" value="INVOICE_APPROVED"/>
<action service="createMatchingPaymentApplication" mode="sync"/>
</eca>
+ <eca service="setInvoiceStatus" event="return">
+ <condition operator="equals" field-name="statusId" value="INVOICE_READY"/>
+ <condition operator="equals" field-name="oldStatusId" value="INVOICE_IN_PROCESS"/>
+ <action service="createMatchingPaymentApplication" mode="sync"/>
+ </eca>
</service-eca>