You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Vince Clark <vc...@globalera.com> on 2009/08/13 16:12:19 UTC

scope of parameters in the context

I have a custom simple method that loops thru a result set of orders in a legacy system and imports them into OFBiz. With each order I am first calling the storeOrder service, then quickShipEntireOrder. 

quickShipEntireOrder generates shipments, which triggers the generation of invoices. I would like to set a parameter in my simple method that is visible in the invoice generation code. 



Vince Clark 
www.globalera.com 
vclark@globalera.com 
(303) 493-6723 office 
(303) 523-4843 cell 


Re: scope of parameters in the context

Posted by Adrian Crum <ad...@hlmksw.com>.
You will need to change the service definition of the service being 
called, to accept the additional parameter. Then call the service with 
the additional parameter.

-Adrian

Vince Clark wrote:
> I have a custom simple method that loops thru a result set of orders in a legacy system and imports them into OFBiz. With each order I am first calling the storeOrder service, then quickShipEntireOrder. 
> 
> quickShipEntireOrder generates shipments, which triggers the generation of invoices. I would like to set a parameter in my simple method that is visible in the invoice generation code. 
> 
> 
> 
> Vince Clark 
> www.globalera.com 
> vclark@globalera.com 
> (303) 493-6723 office 
> (303) 523-4843 cell 
> 
>