anupmaduskar
3rd April 2003, 14:47
I wish to automate tools session "Copy Software Components to New Pakage VRC (ttadv6265m000)",Under Menu Application Development->Utilities.I wish to write a code that will pass values to this session and it will do the job of copying.I don't want to put this session in Job mode as my values are different everytime.I read these values from ASCII file.ASCII file is generated from Print Customization Parts session.Contents of ASCII file are component,VRC,etc.
Is it possible?
I hope Baan might have given some way out like bdbpre and bdbpost scripts for tools sessions to start from command prompt.

zardoz
3rd April 2003, 15:32
There is another session that can be used to move the customized components from a VRC to another one.
The session is ttiexdeliverp. This one accepts an ASCII file in input (take a look at the help of this session for the format) and prepares a dump like the internal export session, that can be used to do an internal import in another VRC (or, in another BSE environment).
The main trick is to read the table of sw components and write an ascii file suitable for this session....

NPRao
3rd April 2003, 21:03
Anup,

Please fill your profile with BaaN/OS/Database info.

yes it is possible to pass values to the tools sessions using AFS/API.

Refer to the thread - AFS and ttstpapi (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=1227)

Try to create AFS for session ttadv6420m000 (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=8338&highlight=afs)

anupmaduskar
7th April 2003, 14:17
NP Rao: I could not modify the profile.

Baan version :Baan V
OS:IBM Unix Aix 4.1
Database:Oracle 8i

zardoz:I would appreciate if you can share the idea of reading
software components from table based on customization part and generate the ASCII file.


Thanks for the tips to both of you !

NPRao
7th April 2003, 20:33
Anup,

Refer to the links on the board -

Components selection while creating a lot. (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=8624&highlight=ttiexdeliverp)

Customization Administration (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=1533&highlight=ttiexdeliverp)

export session (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=8242&highlight=ttiexdeliverp)

ttiexdeliverp doesn't export reports in B40_c4 (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=5809&highlight=ttiexdeliverp)

Export DD question (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=1819&highlight=ttiexdeliverp)

I guess this might be one which you might like to refer the most-
Best Baan Installation tools ever written (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=8376&highlight=ttiexdeliverp)

|* This ambitious project uses the export logic based on customization part
|* of the famous ttiexdeliverp.


Good Luck!

rupertb
21st July 2003, 14:02
It's a bit late, maybe there is still sufficient interest for this. I suppose the reply belongs in the 'AFS' forum as I've used AFS functionality to solve this exact problem.

Regards,
Rupert