baanlover
10th July 2003, 14:40
Hi,

i m new for the development in BaaN V. I wanted to generate a display session and it should call a maintain session while trying to insert a record in display session. Kindly help me.

~BaaNLover

spartacus
10th July 2003, 15:56
You can create a multi-occ Display session, which is synchronized with a single-occ maintain session. If everything is OK you can just click an entry on the display session, and then Baan opens automatically the single-occ session. This also works for copying.


Spartacus

baanlover
11th July 2003, 07:57
I tried creating a mult occ displ session and sync with a maintain session. But while running the Display session, if i try to insert a record, it doesnt open the Maintain session, but adds the record in the display session itself. Kindly help me .....

~BaaNLover

Paul P
12th July 2003, 04:08
Dear Baan lover,

You mean you tried using set.synchronized.dialog() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_synchronized_sessions_set_synchronized_dialog) in your before.program section of the multi occurence display session and it still doesn't work?

Rgds,
Paul

baanlover
14th July 2003, 09:09
No, i didn't try with Program script. I was selecting the sync option while generating the session. I have a problem while compiling the program script, b'cause the objects are not getting created after compiling the script. Any suggestion ?

~BaaNLover

Paul P
16th July 2003, 05:11
Dear Baan lover,

I usually code my program script directly, so I'm not so sure why the sync option in Generate Session doesn't work.

So you did try to code directly but the object wasn't created? Do you have development licence for your site (can you see the Application Development menu under BAAN Tools)? Did you make sure that no errors are reported back by BaanERP upon compilation of the program script?

Rgds,
Paul

baanlover
16th July 2003, 08:11
we are working on demo lic. Is it require to have dev lic for the development in baan erp ? I tried putting some junk characters in the script and copliled but there was not error and the object was also not getting created.

~BaaNLover

Paul P
16th July 2003, 10:24
Dear Baan lover,

If you mean you have a demo server with no licence, then you should be able to develop some program script. However, the fact that no error messages were given out when you compiled a prog script of junk characters shows that probably you have supressed the display of error messages. Please check the compile flag of that script to make sure you haven't supressed the display

Rgds,
Paul

baanlover
16th July 2003, 11:08
no, i have not suppressed any of the option in compilation, it comes out with a message(attached herewith).

rgds,
BaaNLover

baanlover
18th July 2003, 11:34
Can someone help me ???

Paul P
18th July 2003, 14:38
Dear Baan lover,

I don't have a B5 sys in front of me now. However, one final check point. Please check the development parameter template and see whether there's any setting on suppression of error message there and whether it is currently set to suppress. If I'm not mistaken there's such setting.

If that doesn't yield any positive insight yet, all I can say is that when you compiled a script of junk characters in a licenced machine, error message should come out and prevent BaanERP from creating any object for that script

Rgds,
Paul