Hi all,
Kindly help, I have the following ECA customization, I have simple
questions just to clarify: :
<eca service="getCommissionForProduct" event="commit">
<action service=“customCommissionService” mode="sync"
result-to-context="true" run-as-user="system"/>
</eca>
1. Does it mean that the customized service will overtake the standard
service, and the results of the customized service will be considered
instead of standard service’s results. Yes or No?
2. Does it mean that the standard service is replaced by the customized
service in all OFBiz operations? Yes or No?
3. In that ECA case, what if I want the standard service to run based on a
parameter that is not in the service context in order to make a condition?
I can add the parameter but I have to also make sure the parameter is
present everywhere the service is called. So it becomes hierarchical. Is
there another way to do it?
Regards,