You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2009/12/12 11:50:45 UTC
svn commit: r889920 -
/ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml
Author: lektran
Date: Sat Dec 12 10:50:45 2009
New Revision: 889920
URL: http://svn.apache.org/viewvc?rev=889920&view=rev
Log:
Fix bug reported by Chris Snow in OFBIZ-3309, the createWorkEffortQuote service wasn't correctly returning the required output parameter
Modified:
ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml
Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml?rev=889920&r1=889919&r2=889920&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml Sat Dec 12 10:50:45 2009
@@ -872,12 +872,10 @@
<add-error><fail-message message="ERROR: QuoteWorkEffort [${parameters.quoteId}][${parameters.workEffortId}] already exists."/></add-error>
<check-errors/>
</if-not-empty>
- <if-empty field="quoteWorkEffort.quoteId">
- <set-nonpk-fields map="parameters" value-field="lookupMap"/>
- <create-value value-field="lookupMap"/>
- <field-to-result field="lookupMap.quoteId"/>
- <field-to-result field="lookupMap.workEffortId"/>
- </if-empty>
+ <set-nonpk-fields map="parameters" value-field="lookupMap"/>
+ <create-value value-field="lookupMap"/>
+ <field-to-result field="lookupMap.quoteId" result-name="quoteId"/>
+ <field-to-result field="lookupMap.workEffortId" result-name="workEffortId"/>
</simple-method>
<simple-method method-name="deleteQuoteWorkEffort" short-description="Delete a QuoteWorkEffort">
<make-value entity-name="QuoteWorkEffort" value-field="lookupMap"/>