svn commit: r570313 - /ofbiz/trunk/applications/accounting/entitydef/eecas.xml

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

svn commit: r570313 - /ofbiz/trunk/applications/accounting/entitydef/eecas.xml

jonesde
Author: jonesde
Date: Mon Aug 27 22:49:08 2007
New Revision: 570313

URL: http://svn.apache.org/viewvc?rev=570313&view=rev
Log:
Added example of using watchEntity service

Modified:
    ofbiz/trunk/applications/accounting/entitydef/eecas.xml

Modified: ofbiz/trunk/applications/accounting/entitydef/eecas.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/entitydef/eecas.xml?rev=570313&r1=570312&r2=570313&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/eecas.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/eecas.xml Mon Aug 27 22:49:08 2007
@@ -29,4 +29,11 @@
     <eca entity="FinAccountAuth" operation="create-store" event="return">
         <action service="updateFinAccountBalancesFromAuth" mode="sync"/>
     </eca>
+    
+    <!-- an example of how to use the watchEntity service to watch the actualBalance field
+    <eca entity="FinAccount" operation="create-store" event="run">
+        <set field-name="fieldName" value="actualBalance"/>
+        <action service="watchEntity" mode="sync" value-attr="newValue"/>
+    </eca>
+    -->
 </entity-eca>