baanguy2
22nd March 2006, 18:12
We have a baan session which needs to be executed automatically when a user logs into baan, how can this be achived.
Thank you
mark_h
22nd March 2006, 20:25
One option is to add the session into the command line of the bwc file. Of course that means changing all client bwc files. Not a good option, but it would work.
mark_h
22nd March 2006, 20:28
Also search on ipc_info - you might find other threads like this one. (http://www.baanboard.com/baanboard/showthread.php?t=9149&highlight=ipc_info) You might find a better answer.
baanguy2
22nd March 2006, 21:00
What should be the command i need to put in the command line ?
thank you
NPRao
22nd March 2006, 21:05
Please you the search option to look for the already discussed topics.
It is better to use a server based solution if you want the session activated for all users. If you like the session for just you then you can add the session code into your BWC file.
Refer to the links -
How to automate the startup of tmboaserver at system startup in UNIX? (http://www.baanboard.com/baanboard/showthread.php?t=9908&highlight=ttadv4188m000)
automatically session start (http://www.baanboard.com/baanboard/showthread.php?t=7893&highlight=ttadv4188m000)
baanguy2
22nd March 2006, 22:46
Hi,
Changing the bwc file may work as this pc will be assigned to a operator on the floor, so please let me know what should be the command line text for executing a specific session immediately a user logs into baan.
Thank you,
mark_h
22nd March 2006, 23:34
That is how we do our shopfloor terminals. See the attached. We run tisfc9102m000 - complete operations.
baanguy2
22nd March 2006, 23:38
that helps, thank you
mgakhar
23rd March 2006, 00:26
Hey Mark,
This is a pretty interesting solutio, but when you add the session in the command line, it opens the session, but doesnt open the menu browser. Is that the intended functionality?
Is there anyway to have the menu browser open as well?
MG.
mark_h
23rd March 2006, 00:59
Seems to me you can set a start up session in ttaad2106m000 and ttaad2105m000 to initiate a startup group. I think I used to start a session everytime I logged into test. I was just playing around one day and found this. I can not remember how I set it up.
shah_bs
12th May 2006, 19:42
I know this is rather old post. And the possibly the solution found by now.
But Mark is right. The session he mentions needs to be used in following sequence [this is according to BAAN IV c3]:
1, Maintain Session Group [ttaad2107m000] - this creates the 'handle' so to speak, to which you can attach the sessions by using the next session
2, Maintain Startup Sessions [ttaad2106m000] - This establishes the list of session you want to start up.
3, Maintain User Settings [ttaad2105m000] - Here, you link up the user(s) with the Session Group created in first step. Then convert to Runtime DD.
Now, it can get VERY tedious if you have to do this for several tens or hundreds of users.