juvenile
10th July 2004, 09:26
I used to work in Baan V,I suddenly moved to Baan IV.Now am finding very difficlulty in all the issues. I cant understand.How to maintain the script versions. like in BaanV If we used to check out and check in we used to get new version of code. and we can goto olderversion of script also.
Seems in Baan IV also some next variant,Pre variant is there.But am not understanding how the stuff works?
can anybody throw some light on this
rgds,
juvenile
lbencic
12th July 2004, 15:51
Yes, in Baan V the SCM is there to help with a long standing problem in Baan IV - version control.
If you want to save the old versions of each script, you create variants. To use variants when you want to modify a script:
- Find the script you want to update and choose 'Copy'. You should be prompted with 'Copy to a variant' - answer Yes.
- This creates the next Variant in the sequence, consider this the backup copy, don't edit this one.
- Find the 'Main Source' version, usually using Prev. Var. Make your changes there. You have to document it by hand, where in Baan V the SCM does some of the documentation for you.
- Note: The 'Main Source' is what should be running (In my humble opinion), but in reality whatever version you compile will be running.
- If you need to go back to a previous version of the source, find the 'Main Source' and choose 'Next Var' until you come upon the version you need. Compile it and it will be the version running.
This is only available for scripts / libraries/ functions. Other components like Forms you have to back up yourself.
You can always check what version is running by running the 'ttstpsessinfo' program (File / Run option on the main menu) for your session, the Idents will tell you the version if you have marked them correctly.