forsms2002
11th December 2002, 10:54
Hi,
I am new to application function server. I was trying to create quotation header and quotation lines using stpapi in my script.

I successfully created the header; but am not getting a hang of how to keep a track of the quotation header created. I have created two functions first function creates header (it has stpapi.pu..for all form fields of Maintain Quotation) and the second function for creating details (it has all stpapi.. for all form fields for Maintain Quotation Details)

Thanks

mark_h
11th December 2002, 16:06
Not sure I understand what you are looking for - one subroutine creates the header. At that point you can read the header information to keep track of it. Then when you call the sub-routine to add the lines you know the header info.

So I am not real sure what you are looking for.

Mark

forsms2002
12th December 2002, 09:59
once the header is created successfully using stpapi..insert.., the details (the quotation no, etc) is not available(or not current) so that it can be passed on to sub-session.

i was searching for solution and i guess, i need to use
stpapi.handle.subproc and stpapi.zoom.option..

i will try that option...and will get back on the result.

thanks!!!