Changed the createQuoteWorkEffort seca that triggers createWorkEffort from invoke to in-validate and made workEffortId a required parameter for createQuoteWorkEffort as it should be
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889921 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -337,7 +337,7 @@ under the License.
|
||||
</eca>
|
||||
|
||||
<!-- WorkEffort -->
|
||||
<eca service="createQuoteWorkEffort" event="invoke">
|
||||
<eca service="createQuoteWorkEffort" event="in-validate">
|
||||
<condition field-name="workEffortId" operator="is-empty"/>
|
||||
<action service="createWorkEffort" mode="sync"/>
|
||||
</eca>
|
||||
|
||||
@@ -187,6 +187,7 @@ under the License.
|
||||
<auto-attributes mode="IN" include="nonpk" optional="true" entity-name="WorkEffort"/>
|
||||
<auto-attributes mode="INOUT" include="pk" optional="true" entity-name="WorkEffort"/>
|
||||
<override name="quoteId" optional="false"/>
|
||||
<override name="workEffortId" optional="false"/>
|
||||
</service>
|
||||
<service name="deleteQuoteWorkEffort" default-entity-name="QuoteWorkEffort" engine="simple" auth="true"
|
||||
location="component://order/script/org/ofbiz/order/quote/QuoteServices.xml" invoke="deleteQuoteWorkEffort">
|
||||
|
||||
Reference in New Issue
Block a user