svn commit: r575437 - /ofbiz/trunk/specialpurpose/oagis/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: r575437 - /ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml

jonesde
Author: jonesde
Date: Thu Sep 13 13:21:16 2007
New Revision: 575437

URL: http://svn.apache.org/viewvc?rev=575437&view=rev
Log:
Changed these to run only when transaction from triggering processes commit; this will avoid sending false messages and such

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?rev=575437&r1=575436&r2=575437&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml (original)
+++ ofbiz/trunk/specialpurpose/oagis/servicedef/secas.xml Thu Sep 13 13:21:16 2007
@@ -21,17 +21,17 @@
 <service-eca xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/service-eca.xsd">
     <!-- uncomment these to enable OAGIS message sending
-    <eca service="changeOrderStatus" event="commit" run-on-error="false">
+    <eca service="changeOrderStatus" event="global-commit" run-on-error="false">
         <condition field-name="statusId" operator="equals" value="ORDER_APPROVED"/>
         <condition field-name="orderTypeId" operator="equals" value="SALES_ORDER"/>
         <condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
         <action service="oagisSendProcessShipment" mode="async" persist="true"/>
     </eca>
-    <eca service="balanceInventoryItems" event="commit">
+    <eca service="balanceInventoryItems" event="global-commit" run-on-error="false">
         <condition field-name="noLongerOnBackOrderIdSet" operator="is-not-empty"/>
         <action service="oagisSendProcessShipmentsFromBackOrderSet" mode="async"/>
     </eca>
-    <eca service="updateReturnHeader" event="commit">
+    <eca service="updateReturnHeader" event="global-commit" run-on-error="false">
         <condition field-name="statusId" operator="equals" value="RETURN_ACCEPTED"/>
         <action service="oagisSendReceiveDelivery" mode="async" persist="true"/>
     </eca>