mbdagla
10th October 2002, 17:59
We have a customized session which is called from 2 standard session (Item master and customized BOM) through customized menu (zoomed from standard session). We do not have Baan sources. In our customized source I want to find out the program from which this program is called .

How can I find the parent program session code in customized session. I can get the parent process nnumber but not the session code.

NPRao
10th October 2002, 20:11
You can use -

import("prog.name$", calling.session) in your program.

if this doesnt work you can use -

can we know the process id of sessions started using AFS? (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=6485)

mbdagla
11th October 2002, 10:25
Thanks Prashant for useful information in the hyperlink. It worked .