PeterH
30th August 2005, 12:12
We want to create a new order step, with a customized session. But when I insert the session BaaN gives the following message:
Session not found :mad: .

Can someone explain what to do?

Thanks.
Peter.

Rita Kotecha
30th August 2005, 14:14
Please check if you can run the customised session, in run programs. If yes only then you can use it in order steps

PeterH
30th August 2005, 16:45
Hi Rita,

I can run the program, but can not insert it into the ordersteps. Maybe I must explain what I did. I made a copy of session tdpur4421m000, including forms and script, to tdpur4421mc00. Now I want to insert tdpur4421mc00 as a new orderstep.

Thanks
Peter.

vahdani
30th August 2005, 17:27
Hallo Peter,

I had the very same problem some time back. Fortunately I had the script and could change it as follows:


...
| if tt.session.present(tcmcs039.sess) <> 2 then |hv.o
if tt.session.present(tcmcs039.sess) = 0 then |hv.n
set.input.error("tcmcs01395")
| Session not defined
endif
...


In Baan standard the session must not only exist, it must also be in the configuration of the user (Whatever that means). In my version it is enough if the session exists!

If you don't have the source, simply copy an existing record in tcmcs039 using "General Table Maintainance". It should work!

PeterH
1st September 2005, 10:48
I wanne thank you for the information you gave me. Luckely we also had the source.

Thanks.
Peter.

ryanwee510
27th April 2009, 09:53
I also just facing this problem, but i cant changing the script. how i done it?
I have copy a geneate O/B advice (tdilc4201m000) for customization, but it is allow run program, but after select device, it will prompt out a message is session does not as order step. go to maintain order step also unable insert. Please advice me
Thanks

ryanwee510
27th April 2009, 10:05
I also just facing this problem, but i cant changing the script. how i done it?
I have copy a geneate O/B advice (tdilc4201m000) for customization, but it is allow run program, but after select device, it will prompt out a message is session does not as order step. go to maintain order step also unable insert. Please advice me
Thanks