Author: jleroux
Date: Wed Nov 28 03:24:20 2007
New Revision: 598963
URL:
http://svn.apache.org/viewvc?rev=598963&view=revLog:
Applied fix from trunk for revision: 598962
Modified:
ofbiz/branches/release4.0/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml
Modified: ofbiz/branches/release4.0/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml?rev=598963&r1=598962&r2=598963&view=diff==============================================================================
--- ofbiz/branches/release4.0/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml (original)
+++ ofbiz/branches/release4.0/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml Wed Nov 28 03:24:20 2007
@@ -301,6 +301,7 @@
<if-not-empty field-name="parameters.productId">
<entity-one entity-name="Product" value-name="product"/>
<set from-field="product" field="calculateProductPriceMap.product"/>
+ <set from-field="parameters.quantity" field="calculateProductPriceMap.quantity"/>
<call-service service-name="calculateProductPrice" in-map-name="calculateProductPriceMap">
<result-to-field result-name="price" field-name="newEntity.quoteUnitPrice"/>
</call-service>
@@ -458,7 +459,7 @@
<simple-method method-name="createQuoteAndQuoteItemForRequest" short-description="Create a Quote">
<check-permission permission="ORDERMGR" action="_CREATE">
<fail-property resource="OrderErrorUiLabels" property="OrderSecurityErrorToRunCreateQuoteAndQuoteItemForRequest"/>
- </check-permission>
+ </check-permission>
<check-errors/>
<entity-one entity-name="CustRequest" value-name="custRequest" auto-field-map="true"/>
<entity-one entity-name="CustRequestItem" value-name="custRequestItem" auto-field-map="true"/>