Kevin_Rell
4th February 2002, 19:33
:confused: I am working on a project to update the Quantity field of a Quotation Line using API function calls. I have tested my script on Sales Orders and it works fine. For some reason, the same code logic for Quotes causes the test session to hang. The test session hangs when it attempts to open the Lines session using stpapi.handle.subproc(...)

I have attached my script to this posting.

We are running Baan IVc4.


Thanks,

mark_h
4th February 2002, 20:04
Hello Kevin!!

Just wondering if you have tried using the stpapi.zoom.option? I ran into something like this on my FS to create purchase orders. When I went to update the pegging on the order the whole FS would lock up with the stpapi.handle.subproc. I switched to the stpapi.zoom and everything was fine after that. We are on Baan 4c3 A&D(no source). We also do not use the sessions are talking about, maybe someone else around this board has some experience on this session using the stpapi commands.

Good Luck!!!

Mark

dthomson
1st August 2002, 12:43
Kevin,

I have been tasked with using API to update Quotation Lines, I was wondering if you managed to get your script working - I seem to be encountering the same problems as you.

Regards,

Derek Thomson