rrocks23
21st May 2010, 10:03
We are trying to activate the session tdsls4242s000 from the sales order lines tdsls4102s000 zoom menu.

stpapi.handle.subproc("tdsls4102s000","tdsls4242s000","add")
stpapi.handle.subproc("tdsls4102s000", "mtdsls000090171", "5")
stpapi.zoom.option( "tdsls4102s000",5,"tdsls4242s000",error.code)

But still the session is not activated from tdsls4102s000.
Kindly help urgently......

mark_h
21st May 2010, 15:50
Is tdsls4242s000 on the special menu for tdsls4102s000? If the answer is yes then this code is all you really need"

stpapi.handle.subproc("tdsls4102s000","tdsls4242s000","add")
stpapi.zoom.option( "tdsls4102s000",1,"tdsls4242s000",error.code)

Notice I put 1 in the stpapi.zoom - assuming the zoom takes place on form 1. Of course we do not use the sessions so I do not know the correct form number.