You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Naveen Kumar <na...@gmail.com> on 2010/10/04 09:19:23 UTC

Problem in order creation

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.

Re: Problem in order creation

Posted by Naveen Kumar <na...@gmail.com>.
Hi Sumit,

Thanks for the information.

Regards,
Naveen.

On Mon, Oct 4, 2010 at 1:33 PM, Sumit Pandit <me...@gmail.com> 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 <na...@gmail.com>
> 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
>

Re: Problem in order creation

Posted by Sumit Pandit <me...@gmail.com>.
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 <na...@gmail.com> 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