| # Program Scripts Overview The default behavior of a 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 Program script (UI script). In LN Tools, user interface actions are programmed in the UI script and application logic for a table, table fields and relations between tables should be programmed in the Data Access Layer (DAL). Programmers create a user interface (UI) script to change the default behavior of a session. They create a DAL script to program all the logical integrity rules and the business logic for a particular table. Note In Infor Baan IVc all logical integrity rules and all the business logic were programmed in the UI script, because DAL was first introduced in Infor Baan 5.0.0. DAL-2 was introduced in LN 6.1. For more detailed information regarding DAL refer to DAL 1 Overview and DAL 2 Overview. A UI script can contain one or more of the following types of 4GL event sections: Program sections Zoom.from sections Form sections Group sections Choice sections Field sections Main table sections Field sections are only used for non-table fields, table fields are handled by the DAL script. Main table sections must not be used anymore, because the logic for the Main table is done via DAL. You can view and edit Program scripts via the Program Scripts / Libraries (ttadv2530m000) session. The script type is UI Script ..... For details on Program scripts, refer to "4GL Language Features" in the ERP Enterprise (LN) Programmer's Guide. Related topics Compile Program Scripts / Libraries (ttadv2230m000) Libraries by Program Script (ttadv2143m000) Delete Unchanged Objects by Program Script / Library (ttadv2239m000) Print Program Scripts / Libraries (ttadv2431m000) Print Current Program Scripts/Libraries for Package VRC (ttadv2432m000) Print Objects by Program Script / Libraries (ttadv2439m000) Objects by Program Script / Library (ttadv2539m000) Find Pattern in more Program Scripts / Libraries (ttadv2830s000) Print Differences between Program Scripts / Libraries (ttadv2833s000) |