pralash
20th December 2017, 07:35
I'm new for LN Programming... Whenever I refer the exiting script in baan, I saw many places as follows...
before.program:
synchronized = true

Can I know what is meaning for this above script?
Regards,
Pralash

bdittmar
20th December 2017, 11:13
Hello,

have a look at :

https://docs.infor.com/ln

Session Synchronization
Synchronized sessions overview

LN provides several mechanisms for starting one session from another – these are zoom fields, synchronized sessions, and the 4GL start.session() function. This topic describes synchronized sessions and associated functions. When two sessions are synchronized, actions performed on one session window have a direct effect on the other session window. LN implements two synchronization models:

Dialog synchronization
Child synchronization

Dialog synchronization

This synchronizes a multi-occurrence parent session with a single-occurrence dialog session. Both sessions act on the same main table. The parent session can be a modeless multi-occurrence display form or a modal multi-occurrence zoom window.

When the user double-clicks on an occurrence in the parent session, the 4GL engine automatically opens the synchronized dialog (details) session (if it is not already open) and updates it with information from the selected record. Whether the dialog opens in edit or display mode depends on user authorization settings. The synchronized dialog is also opened automatically when the user initiates one of the following actions: insert record, edit record, or duplicate record.

When a record is saved in the synchronized dialog, the 4GL engine automatically updates the occurrence in the parent window.

The synchronization must be defined in the Overview session, it can be specified on two ways:

Define the function set.synchronized.dialog ("details session code") in the before.program section of the UI script.
Define the details session code in the Synchronized Dialog field of the Sessions (ttadv2100s000) session.
..................>>>>>


Regards

pralash
20th December 2017, 14:25
Thanks so much for your information...
Regards,
Pralash