rmarles
23rd November 2006, 16:50
Question around passing parameters to ba6.1;
Can & how would you pass a field value to "ba6.1 <session>" so that when the session starts up the fields are populated accordingly?
Thanks
george7a
23rd November 2006, 18:24
Hi,
The session's argument will be saved in argv$(). Check this link:
http://www.baanboard.com/programmers_manual_baanerp_help_functions_processes_argv
I hope it helps,
- George
rmarles
23rd November 2006, 18:30
Hey George,
Actually I should have been more clear. I'm looking to populate fields on an existing session from a command line or a shell script.
Ultimately I'm trying to create runtime on a new user being created by shell script that handles creating the unix, oracle, and baan accounts. I have everything but the create runtime part down.
I'd like to pass the loginname to user.f and user.t in ttaad4200m000 from the command line (or rather the script).
Thanks.
NPRao
23rd November 2006, 20:59
I'd like to pass the loginname to user.f and user.t in ttaad4200m000 from the command line (or rather the script).
I am not on Baan-4 version. You have 2 options:
1. find the function in some tools library, which does the user runtime (or)
2. write a customer 3-GL, which takes command line parameter of the username and use AFS on the tools session ttaad4200m000.