Author: sichen
Date: Wed Jul 18 18:46:58 2007
New Revision: 557446
URL:
http://svn.apache.org/viewvc?view=rev&rev=557446Log:
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/trunk/applications/product/servicedef/secas_shipment.xml
Modified: ofbiz/trunk/applications/product/servicedef/secas_shipment.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/secas_shipment.xml?view=diff&rev=557446&r1=557445&r2=557446==============================================================================
--- ofbiz/trunk/applications/product/servicedef/secas_shipment.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/secas_shipment.xml Wed Jul 18 18:46:58 2007
@@ -114,11 +114,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"/>