Can´t create order from quote

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Can´t create order from quote

ChristopherJ
Hi all

When a Quote is approved(accepted) and the create order link in
the quote is selected I´m presented with the following error and
can not continue with the order.

2009-01-27 11:48:16,228 (http-0.0.0.0-8443-5) [  ServiceDispatcher.java:500:ERROR]
---- exception report ----------------------------------------------------------  
Service [loadCartFromQuote] threw an unexpected exception/error                    
Exception: org.ofbiz.service.GenericServiceException                              
Message: Service [loadCartFromQuote] target threw an unexpected exception (null)  
---- cause ---------------------------------------------------------------------  
Exception: java.lang.NullPointerException                                          
Message: null                                                                      
---- stack trace ---------------------------------------------------------------  
java.lang.NullPointerException
org.ofbiz.order.shoppingcart.ShoppingCartServices.loadCartFromQuote(ShoppingCartServices.java:555)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.loadCartFromQuote(ShoppingCartEvents.java:1253)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:89)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:75)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:461)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:293)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2009-01-27 11:48:16,235 (http-0.0.0.0-8443-5) [    TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
2009-01-27 11:48:16,297 (http-0.0.0.0-8443-5) [     RequestHandler.java:326:ERROR] Request loadCartFromQuote caused an error with the following message: Service [loadCartFromQuote] target threw an unexpected exception (null)  

Using the demo data.

Regards
Christopher
Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

Jacopo Cappellato-4
It seems that the Quote.quoteTypeId is null, that is causing a NPE  
exception.
I have cleaned up the code in rev. 738050 (and this should prevent the  
exception from happening), but you may want to check why the type is  
empty in your record.

Cheers,

Jacopo

On Jan 27, 2009, at 10:49 AM, ChristopherJ wrote:

>
> Hi all
>
> When a Quote is approved(accepted) and the create order link in
> the quote is selected I´m presented with the following error and
> can not continue with the order.
>
> 2009-01-27 11:48:16,228 (http-0.0.0.0-8443-5) [
> ServiceDispatcher.java:500:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Service [loadCartFromQuote] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [loadCartFromQuote] target threw an unexpected  
> exception
> (null)
> ---- cause
> ---------------------------------------------------------------------
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.NullPointerException
> org
> .ofbiz
> .order
> .shoppingcart
> .ShoppingCartServices.loadCartFromQuote(ShoppingCartServices.java:555)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org
> .ofbiz
> .service
> .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org
> .ofbiz
> .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 149)
> org
> .ofbiz
> .order
> .shoppingcart
> .ShoppingCartEvents.loadCartFromQuote(ShoppingCartEvents.java:1253)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
> 89)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
> 75)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:
> 461)
> org
> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 293)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 290)
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 259)
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 235)
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org
> .apache
> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> 233)
> org
> .apache
> .catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> 175)
> org
> .apache
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org
> .apache
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org
> .apache
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 568)
> org
> .ofbiz
> .catalina
> .container
> .CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org
> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 286)
> org
> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 844)
> org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
> 447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2009-01-27 11:48:16,235 (http-0.0.0.0-8443-5) [
> TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not  
> committing
> transaction, status is No Transaction (6)
> 2009-01-27 11:48:16,297 (http-0.0.0.0-8443-5) [
> RequestHandler.java:326:ERROR] Request loadCartFromQuote caused an  
> error
> with the following message: Service [loadCartFromQuote] target threw  
> an
> unexpected exception (null)
>
> Using the demo data.
>
> Regards
> Christopher
> --
> View this message in context: http://www.nabble.com/Can%C2%B4t-create-order-from-quote-tp21682399p21682399.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

ChristopherJ
Hi Jacopo

I have updated my ofbiz via svn
but the problem still persists am I wrong in stating
that the quote type ID you are referring to can either be
¨other; Product; Product Purchase; Proposal¨ if so this has
been submitted with the quote but on creation of order it
is removed and I am still presented with this error.

regards

Christopher
 

Jacopo Cappellato-4 wrote
It seems that the Quote.quoteTypeId is null, that is causing a NPE  
exception.
I have cleaned up the code in rev. 738050 (and this should prevent the  
exception from happening), but you may want to check why the type is  
empty in your record.

Cheers,

Jacopo

On Jan 27, 2009, at 10:49 AM, ChristopherJ wrote:

>
> Hi all
>
> When a Quote is approved(accepted) and the create order link in
> the quote is selected I´m presented with the following error and
> can not continue with the order.
>
> 2009-01-27 11:48:16,228 (http-0.0.0.0-8443-5) [
> ServiceDispatcher.java:500:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Service [loadCartFromQuote] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [loadCartFromQuote] target threw an unexpected  
> exception
> (null)
> ---- cause
> ---------------------------------------------------------------------
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.NullPointerException
> org
> .ofbiz
> .order
> .shoppingcart
> .ShoppingCartServices.loadCartFromQuote(ShoppingCartServices.java:555)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org
> .ofbiz
> .service
> .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
> org
> .ofbiz
> .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 384)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
> 213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
> 149)
> org
> .ofbiz
> .order
> .shoppingcart
> .ShoppingCartEvents.loadCartFromQuote(ShoppingCartEvents.java:1253)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
> 89)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
> 75)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:
> 461)
> org
> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 293)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 290)
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
> 259)
> org
> .apache
> .catalina
> .core
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
> 235)
> org
> .apache
> .catalina
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org
> .apache
> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
> 233)
> org
> .apache
> .catalina.core.StandardContextValve.invoke(StandardContextValve.java:
> 175)
> org
> .apache
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org
> .apache
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org
> .apache
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 568)
> org
> .ofbiz
> .catalina
> .container
> .CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org
> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 286)
> org
> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 844)
> org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
> 447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2009-01-27 11:48:16,235 (http-0.0.0.0-8443-5) [
> TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not  
> committing
> transaction, status is No Transaction (6)
> 2009-01-27 11:48:16,297 (http-0.0.0.0-8443-5) [
> RequestHandler.java:326:ERROR] Request loadCartFromQuote caused an  
> error
> with the following message: Service [loadCartFromQuote] target threw  
> an
> unexpected exception (null)
>
> Using the demo data.
>
> Regards
> Christopher
> --
> View this message in context: http://www.nabble.com/Can%C2%B4t-create-order-from-quote-tp21682399p21682399.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


 
Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

Bilgin Ibryam
I did one more fix in r738810
Can you try again

Bilgin

On Jan 28, 2009, at 1:39 PM, ChristopherJ wrote:

>
> Hi Jacopo
>
> I have updated my ofbiz via svn
> but the problem still persists am I wrong in stating
> that the quote type ID you are referring to can either be
> ¨other; Product; Product Purchase; Proposal¨ if so this has
> been submitted with the quote but on creation of order it
> is removed and I am still presented with this error.
>
> regards
>
> Christopher
>
>
>
> Jacopo Cappellato-4 wrote:
>>
>> It seems that the Quote.quoteTypeId is null, that is causing a NPE
>> exception.
>> I have cleaned up the code in rev. 738050 (and this should prevent  
>> the
>> exception from happening), but you may want to check why the type is
>> empty in your record.
>>
>> Cheers,
>>
>> Jacopo
>>
>> On Jan 27, 2009, at 10:49 AM, ChristopherJ wrote:
>>
>>>
>>> Hi all
>>>
>>> When a Quote is approved(accepted) and the create order link in
>>> the quote is selected I´m presented with the following error and
>>> can not continue with the order.
>>>
>>> 2009-01-27 11:48:16,228 (http-0.0.0.0-8443-5) [
>>> ServiceDispatcher.java:500:ERROR]
>>> ---- exception report
>>> ----------------------------------------------------------
>>> Service [loadCartFromQuote] threw an unexpected exception/error
>>> Exception: org.ofbiz.service.GenericServiceException
>>> Message: Service [loadCartFromQuote] target threw an unexpected
>>> exception
>>> (null)
>>> ---- cause
>>> ---------------------------------------------------------------------
>>> Exception: java.lang.NullPointerException
>>> Message: null
>>> ---- stack trace
>>> ---------------------------------------------------------------
>>> java.lang.NullPointerException
>>> org
>>> .ofbiz
>>> .order
>>> .shoppingcart
>>> .ShoppingCartServices.loadCartFromQuote(ShoppingCartServices.java:
>>> 555)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun
>>> .reflect
>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> sun
>>> .reflect
>>> .DelegatingMethodAccessorImpl
>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>> java.lang.reflect.Method.invoke(Method.java:597)
>>> org
>>> .ofbiz
>>> .service
>>> .engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:
>>> 96)
>>> org
>>> .ofbiz
>>> .service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:
>>> 54)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
>>> 384)
>>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:
>>> 213)
>>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:
>>> 149)
>>> org
>>> .ofbiz
>>> .order
>>> .shoppingcart
>>> .ShoppingCartEvents.loadCartFromQuote(ShoppingCartEvents.java:1253)
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> sun
>>> .reflect
>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> sun
>>> .reflect
>>> .DelegatingMethodAccessorImpl
>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>> java.lang.reflect.Method.invoke(Method.java:597)
>>> org
>>> .ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
>>> 89)
>>> org
>>> .ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:
>>> 75)
>>> org
>>> .ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:
>>> 461)
>>> org
>>> .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>>> 293)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:
>>> 204)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>> org
>>> .apache
>>> .catalina
>>> .core
>>> .ApplicationFilterChain
>>> .internalDoFilter(ApplicationFilterChain.java:
>>> 290)
>>> org
>>> .apache
>>> .catalina
>>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
>>> 206)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:
>>> 259)
>>> org
>>> .apache
>>> .catalina
>>> .core
>>> .ApplicationFilterChain
>>> .internalDoFilter(ApplicationFilterChain.java:
>>> 235)
>>> org
>>> .apache
>>> .catalina
>>> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
>>> 206)
>>> org
>>> .apache
>>> .catalina
>>> .core.StandardWrapperValve.invoke(StandardWrapperValve.java:
>>> 233)
>>> org
>>> .apache
>>> .catalina
>>> .core.StandardContextValve.invoke(StandardContextValve.java:
>>> 175)
>>> org
>>> .apache
>>> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>> org
>>> .apache
>>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>> org
>>> .apache
>>> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
>>> 109)
>>> org
>>> .apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
>>> 568)
>>> org
>>> .ofbiz
>>> .catalina
>>> .container
>>> .CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:
>>> 44)
>>> org
>>> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
>>> 286)
>>> org
>>> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>>> 844)
>>> org.apache.coyote.http11.Http11Protocol
>>> $Http11ConnectionHandler.process(Http11Protocol.java:583)
>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
>>> 447)
>>> java.lang.Thread.run(Thread.java:619)
>>> --------------------------------------------------------------------------------
>>>
>>> 2009-01-27 11:48:16,235 (http-0.0.0.0-8443-5) [
>>> TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not
>>> committing
>>> transaction, status is No Transaction (6)
>>> 2009-01-27 11:48:16,297 (http-0.0.0.0-8443-5) [
>>> RequestHandler.java:326:ERROR] Request loadCartFromQuote caused an
>>> error
>>> with the following message: Service [loadCartFromQuote] target threw
>>> an
>>> unexpected exception (null)
>>>
>>> Using the demo data.
>>>
>>> Regards
>>> Christopher
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Can%C2%B4t-create-order-from-quote-tp21682399p21682399.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Can%C2%B4t-create-order-from-quote-tp21682399p21704158.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

Shereen
In reply to this post by ChristopherJ
I can't create a purchase order from a quote. the quote type is product purchase
the error is:
Please enter a shipping address
no exception in the log file
it seems as if the shipping information isnt passed to the method that creates the order
knowing that when I navigate to make a purchase order everything is ok
 I'm using the svn version 10.04
Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

BJ Freeman
a quote is not a completed sale so should not generate a PO.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Shereen sent the following on 11/14/2010 4:34 AM:

>
> I can't create a purchase order from a quote. the quote type is product
> purchase
> the error is:
> Please enter a shipping address
> no exception in the log file
> it seems as if the shipping information isnt passed to the method that
> creates the order
> knowing that when I navigate to make a purchase order everything is ok
>   I'm using the svn version 10.04

Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

Shereen
Thanks a lot for your reply but you please explain more.

What I understood from your message is that the quote is a stage in the sales order process and I can't create a PO from quote is that right?
would you  please tell me the difference from business side what's the difference between the two types of quote the Quote for product and quote for product purchase

I'm very grateful for your help
Thanks a lot in advance
Shereen
Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

BJ Freeman
can you expand, by showing the steps, on how you are creating a quote
for Purchase product.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Shereen sent the following on 11/15/2010 2:25 AM:

>
> Thanks a lot for your reply but you please explain more.
>
> What I understood from your message is that the quote is a stage in the
> sales order process and I can't create a PO from quote is that right?
> would you  please tell me the difference from business side what's the
> difference between the two types of quote the Quote for product and quote
> for product purchase
>
> I'm very grateful for your help
> Thanks a lot in advance
> Shereen

Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

Shereen
The usual way of creating quote just I set its type to product purchase
then I specify the from party to any supplier and to party to my company
I don't know if this is right or not and I didnt read about that in the wiki
I really need to know is this right or the quote is just part of the sales process from the company to a customer.
If it's a part of a sales can you help me what are the different types of quotes are used for?

Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

BJ Freeman
sorry need more clarity
if your using the uI please state the steps
if you programming please give the services you are calling.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Shereen sent the following on 11/16/2010 12:56 PM:

>
> The usual way of creating quote just I set its type to product purchase
> then I specify the from party to any supplier and to party to my company
> I don't know if this is right or not and I didnt read about that in the wiki
> I really need to know is this right or the quote is just part of the sales
> process from the company to a customer.
> If it's a part of a sales can you help me what are the different types of
> quotes are used for?
>
> Thanks in advance

Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

Shereen
Hi Freeman Hi all
I go to order manager then choose quotes
click on the button create quote then choose the type to be product purchase then I specify the from and to parties
From:Supplier
To:company
then I click submit the quote is created then I change the status of the quote to be accepted
I click on the button create order in the quote screen then it navigates to the order entry screen as if I'm in the middle of purchase order entry
would you please tell me what I'm doing is right or wrong
I know well that it's very ordinary to create sales order from a quote but I'm asking if that's the case with purchase order
I'll repeat the error message that I encounter: enter a shipping address
there's no exception in the log file
when I go to create the PO again from ordinary order entry screen with the same details I don't encounter any error messages

Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

BJ Freeman

I have never used this feature.
the code that creates this is
applications\order\script\org\ofbiz\order\quote
createQuoteFromCart

 From a business flow, I don't see a use for this the way it is written.
you making a quote for a product from a supplier, this means you need to
get the Suppliers Product Good ID, if your asking for price update to
that supplier.
createQuoteFromCart does not do this.
This requires you have the supplier product in the system already so you
have last price, which  also is not included in the quote process.
my experience in requesting a quote from a supplier usually means you
don't have it in ofbiz yet. so using the createQuoteFromCart will not
work as written.

if you have a need for this then I would suggest you review the code
against normal business flow and make the modifications to it.

my 2 cents.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Shereen sent the following on 11/16/2010 11:25 PM:

>
> Hi Freeman Hi all
> I go to order manager then choose quotes
> click on the button create quote then choose the type to be product purchase
> then I specify the from and to parties
> From:Supplier
> To:company
> then I click submit the quote is created then I change the status of the
> quote to be accepted
> I click on the button create order in the quote screen then it navigates to
> the order entry screen as if I'm in the middle of purchase order entry
> would you please tell me what I'm doing is right or wrong
> I know well that it's very ordinary to create sales order from a quote but
> I'm asking if that's the case with purchase order
> I'll repeat the error message that I encounter: enter a shipping address
> there's no exception in the log file
> when I go to create the PO again from ordinary order entry screen with the
> same details I don't encounter any error messages
>
> Thanks in advance

Reply | Threaded
Open this post in threaded view
|

Re: Can´t create order from quote

Shereen
I understand what are trying to say about the product being on my system but this is how it goes in my case
I was really away from my resources and I just tried that in earlier version and the PO was done successfully I'll investigate more in this and tell  you the results if you are interested