Author: mrisaliti
Date: Sat Mar 1 15:34:49 2008
New Revision: 632674
URL:
http://svn.apache.org/viewvc?rev=632674&view=revLog:
Small change to the new storeQuote service for having the same behaviour in createQuoteItem for the quoteUnitPrice field.
If it has been pass then it will use it otherwise recalculate the price.
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/quote/QuoteServices.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/quote/QuoteServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/quote/QuoteServices.java?rev=632674&r1=632673&r2=632674&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/quote/QuoteServices.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/quote/QuoteServices.java Sat Mar 1 15:34:49 2008
@@ -182,7 +182,6 @@
while (quoteIt.hasNext()) {
GenericValue quoteItem = (GenericValue)quoteIt.next();
quoteItem.set("quoteId", quoteId);
- quoteItem.set("quoteUnitPrice", null);
Map quoteItemIn = quoteItem.getAllFields();
quoteItemIn.put("userLogin", userLogin);