You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2008/03/02 00:34:58 UTC

svn commit: r632674 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/quote/QuoteServices.java

Author: mrisaliti
Date: Sat Mar  1 15:34:49 2008
New Revision: 632674

URL: http://svn.apache.org/viewvc?rev=632674&view=rev
Log:
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);