svn commit: r557447 - /ofbiz/branches/release4.0/applications/product/servicedef/secas_shipment.xml

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

svn commit: r557447 - /ofbiz/branches/release4.0/applications/product/servicedef/secas_shipment.xml

sichen
Author: sichen
Date: Wed Jul 18 18:47:20 2007
New Revision: 557447

URL: http://svn.apache.org/viewvc?view=rev&rev=557447
Log:
run updates to return and order status as systsem user.  this allows us to be able to distinguish which ones were automatically updated vs which ones were actually updated by a user

Modified:
    ofbiz/branches/release4.0/applications/product/servicedef/secas_shipment.xml

Modified: ofbiz/branches/release4.0/applications/product/servicedef/secas_shipment.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/product/servicedef/secas_shipment.xml?view=diff&rev=557447&r1=557446&r2=557447
==============================================================================
--- ofbiz/branches/release4.0/applications/product/servicedef/secas_shipment.xml (original)
+++ ofbiz/branches/release4.0/applications/product/servicedef/secas_shipment.xml Wed Jul 18 18:47:20 2007
@@ -108,11 +108,11 @@
     <eca service="createShipmentReceipt" event="commit">
         <condition field-name="returnId" operator="is-not-empty"/>
         <action service="checkDecomposeInventoryItem" mode="sync"/>
-        <action service="updateReturnStatusFromReceipt" mode="sync"/>
+        <action service="updateReturnStatusFromReceipt" mode="sync" run-as-user="system"/>
     </eca>
     <eca service="createShipmentReceipt" event="commit">
         <condition field-name="orderId" operator="is-not-empty"/>
-        <action service="updateOrderStatusFromReceipt" mode="sync"/>
+        <action service="updateOrderStatusFromReceipt" mode="sync" run-as-user="system"/>
     </eca>
     <eca service="createShipmentReceipt" event="commit">
         <condition field-name="shipmentId" operator="is-not-empty"/>