|
|
I am trying to establish some EECA's in the custom order application that I'm building. Below is an example of one. I have not been able to get any of them to trigger. There are no records or errors of order app EECA's in my log, I have cleared the cache, and restarted the test server I'm using.
Here, I just want the itemDescription fields to hold the string "TESTING" if they are empty when my ShowOrder service is triggered.
Does anyone know why the EECA won't trigger? Thank you.
Added to eecas.xml:
<eca entity="OrderHeaderAndItems" operation="create-store" event="return">
<condition field-name="itemDescription" operator="is-empty"/> <set field-name="itemDescription" value="TESTING"/>
<action service="ShowOrder" mode="sync"/> </eca>
Added to ofbiz-component.xml:
<entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/>
|