luckiestcat
14th December 2005, 02:56
hi all,

There are sessions which first word of the session name is like "o" ,ex. otf******.

I have try to find them from session ttadv2500m000,but there has no clue.
And I have no ready document about them.

So how can i find them with their description.

_________________________
BaanIVc4
Solaries
Oracle

dave_23
14th December 2005, 03:41
Those aren't "sessions" they're 3GL objects. so look for the "script type"
of 3GL in Maintain Program Scripts.

Really though, there shouldn't be many of those. only correction programs, etc.

Dave

luckiestcat
14th December 2005, 04:11
hi,Dave,

Thank you for you much.

Yet,I have another question with what is relation between these scripts and those sessions,cause I find they all executable.


BR

Adrian

dave_23
14th December 2005, 04:17
Hi Adrian,

Sorry, I'm not sure what you mean.

Dave

luckiestcat
14th December 2005, 04:46
Hi,Dave,

Sorry,my english still needs work.

I mean that,the session is executable and the program/script is also executable.

So Is there any relationship or difference between the session and the program/script?

BR

Adrian

dave_23
14th December 2005, 05:44
A session is sort of a container for a program.
A session (for example) tiitm0101m000
contains many things:
Forms
Reports
Object
and so on.

A Program Script is compiled into an Object.

There are 2 main types of objects:
4GL - Objects that would be linked to sessions
3GL - Objects that can basically stand alone.

ottcorlinux is a 3GL object
otiitm0101 is a 4GL object

You cannot run otiitm0101 directly. You must instead, run tiitm0101m000

However you CAN run ottcorlinux directly.


Does that help?

Dave

luckiestcat
14th December 2005, 06:14
Dave,

Thank you very much,you have do me a great favor.

By your introduction,I gain a lot.
Yet,I still have a trouble that whether otfcor0313 is a 3GL Object or a 4GL Object ?
Because I can run it directly.

That's maybe my last question(confusion).

BR

Adrian

luckiestcat
14th December 2005, 09:07
hi Dave,

Maybe I have not statement clearly.

You say a 3GL object's name is like "ottcorlinux" and it can basically stand alone , a 4GL object's name is like "otiitm0101" and it would be linked to sessions.

There is a program called "otfcor0313" that can basically stand alone(run directly) while it's name like a 4GL object's.

So whether that program is a 3GL object or a 4GL object?

BR

Adrian

dave_23
14th December 2005, 13:53
If you execute the program by calling the object name - then it is a 3GL object. If you execute the program by calling the session name, then it is a 4GL object.

If you can run otfcor0313 then that is a 3GL object
If you can run tfcor0313m000 then that is a 4GL object.

Dave

luckiestcat
15th December 2005, 02:24
Dave,

Your reply is just my want.Though I draw the same conlusion yesterday based your introduction , I deeply desired exact explanation.
Now I get the most clear definition,it do help to me.

Thank you again.

BR
Adrian

NPRao
15th December 2005, 07:24
If you execute the program by calling the object name - then it is a 3GL object. If you execute the program by calling the session name, then it is a 4GL object.
Correction - You can attach a 3-GL script to a session.

Refer to the link - Programming a UI Script overview (http://www.baanboard.com/programmers_manual_baanerp_help_4gl_features_overview)

When you create a session, the default behavior of that session is handled by the 4GL engine. If additional functionality is needed or default functionality needs to be by-passed, this should be programmed in a UI script.

A 3-GL is basically a "C" style of program script where you write code, compile it and then execute it. If you need any GUI, then you have to program the windows/screens and the event handling yourself.

Yet,I still have a trouble that whether otfcor0313 is a 3GL Object or a 4GL Object ?
With the Tools Program Scripts Session - ttadv2530m000 and you can know the type of script. There are also different other types with the latest versions - library, DAL, DAL2, DLL, Integration DLL, BOI, etc.

Session is the basic executable in general, and it has different components attached to it like a Form (for UI fields layout, groups), Scripts (program logic) and Report (to show the output/results of print/process sessions), charts/graphs etc.

luckiestcat
16th December 2005, 02:20
hi NPRao,

I have read your reply and relevant subject,I acquire a lot.
Though I can not express my appreciation exactly in english,it dose do great help to me.

Thank you!

BR

Adrian