Add Item To Approved Order

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

Add Item To Approved Order

jyoti
Hi,

I was trying to add an orderItem to an approved order, but got an error message. After checking the code i found that in "orderItemTypeId" value passed is that of "reasonEnumId". Should i correct it and submit a patch for this in jira?

Thanks,
Jyoti
Jyoti Sharma
Reply | Threaded
Open this post in threaded view
|

Re: Add Item To Approved Order

Jacques Le Roux
Administrator
Yes sure, please do

Jacques

jyoti wrote:
> Hi,
>
> I was trying to add an orderItem to an approved order, but got an error
> message. After checking the code i found that in "orderItemTypeId" value
> passed is that of "reasonEnumId". Should i correct it and submit a patch for
> this in jira?
>
> Thanks,
> Jyoti
Reply | Threaded
Open this post in threaded view
|

Re: Add Item To Approved Order

Pierre Smits
Hi Jyoti,

Is that a correct requirement? Please verify. Approved orders might already
have been communicated with the customer or supplier. That's why they are
called 'Approved'. And it might be so that they cannot be change in the
system of said customer or supplier.

Regards,

Pierre Smits

*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com


On Fri, Oct 4, 2013 at 8:05 AM, Jacques Le Roux <
[hidden email]> wrote:

> Yes sure, please do
>
> Jacques
>
> jyoti wrote:
> > Hi,
> >
> > I was trying to add an orderItem to an approved order, but got an error
> > message. After checking the code i found that in "orderItemTypeId" value
> > passed is that of "reasonEnumId". Should i correct it and submit a patch
> for
> > this in jira?
> >
> > Thanks,
> > Jyoti
>
Reply | Threaded
Open this post in threaded view
|

Re: Add Item To Approved Order

jyoti
Hi Pierre,

I had a requirement in which i was to give orderItemTypeId too while adding item to an approved order. I used ofbiz service "appendOrderItem" for this. Its implementation in OrderServices.java had the mistake which i listed above.

Thanks,
Jyoti
Jyoti Sharma