Author: apatel
Date: Thu Aug 9 15:26:28 2007
New Revision: 564407
URL:
http://svn.apache.org/viewvc?view=rev&rev=564407Log:
Added a eca rule for calling oagisReceiveDelivery service when ReturnHeader moves to ACCEPTED status.
Modified:
ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml
Modified: ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml?view=diff&rev=564407&r1=564406&r2=564407==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml (original)
+++ ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml Thu Aug 9 15:26:28 2007
@@ -27,7 +27,13 @@
<condition field-name="orderTypeId" operator="equals" value="SALES_ORDER"/>
<condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
<action service="oagisProcessShipment" mode="async" persist="true"/>
- </eca>
+ </eca>
+
+ <eca service="updateReturnHeader" event="commit">
+ <condition field-name="statusId" operator="equals" value="RETURN_ACCEPTED"/>
+ <action service="oagisReceiveDelivery" mode="async" persist="true"/>
+ </eca>
+
-->
<eca service="oagisMessageHandler" event="commit" run-on-error="true">