Problem in order creation

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

Problem in order creation

Naveen Kumar-3
Hi All,

I was creating SalesOrder from Quote.

During order creation, after the request "*emailorder*",  upon success, I am
redirecting it to a groovy event to store some data to a New Entity created
for my reference.
I need to get orderId of the created order for the new entity.

My Problem: During the order creation process, by the time the request comes
to emailorder, the cart and session variables gets cleared. So, I'm not able
to get the orderId for the created order. Is there any way to get this?

Regards,
Naveen.
Reply | Threaded
Open this post in threaded view
|

Re: Problem in order creation

Sumit Pandit
Hi Naveen,

If emailorder is called in request chaining then orderId should exist
in request if not you need to put it in request map somewhere in some
previous method.

On Mon, Oct 4, 2010 at 12:49 PM, Naveen Kumar <[hidden email]> wrote:

> Hi All,
>
> I was creating SalesOrder from Quote.
>
> During order creation, after the request "*emailorder*",  upon success, I am
> redirecting it to a groovy event to store some data to a New Entity created
> for my reference.
> I need to get orderId of the created order for the new entity.
>
> My Problem: During the order creation process, by the time the request comes
> to emailorder, the cart and session variables gets cleared. So, I'm not able
> to get the orderId for the created order. Is there any way to get this?
>
> Regards,
> Naveen.
>



--
Thanks and Regards
Sumit Pandit
Thanks And Regards
Sumit Pandit
Reply | Threaded
Open this post in threaded view
|

Re: Problem in order creation

Naveen Kumar-3
Hi Sumit,

Thanks for the information.

Regards,
Naveen.

On Mon, Oct 4, 2010 at 1:33 PM, Sumit Pandit <[hidden email]> wrote:

> Hi Naveen,
>
> If emailorder is called in request chaining then orderId should exist
> in request if not you need to put it in request map somewhere in some
> previous method.
>
> On Mon, Oct 4, 2010 at 12:49 PM, Naveen Kumar <[hidden email]>
> wrote:
> > Hi All,
> >
> > I was creating SalesOrder from Quote.
> >
> > During order creation, after the request "*emailorder*",  upon success, I
> am
> > redirecting it to a groovy event to store some data to a New Entity
> created
> > for my reference.
> > I need to get orderId of the created order for the new entity.
> >
> > My Problem: During the order creation process, by the time the request
> comes
> > to emailorder, the cart and session variables gets cleared. So, I'm not
> able
> > to get the orderId for the created order. Is there any way to get this?
> >
> > Regards,
> > Naveen.
> >
>
>
>
> --
> Thanks and Regards
> Sumit Pandit
>