Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
Without leaving Online Express, you can write custom logic to supplement or override the default logic that Online Express
generates. You can provide custom logic for events that occur before or after an action or database call, and when actions
and calls execute normally or abnormally.
There are two types of events for which you can write your own logic:
- Predefined actions, such as sending a screen.
- Database calls, such as Obtain and Store. For example, you might want to tailor the Obtain action by adding a data validation
routine that executes whenever the Obtain action executes. Or, you might want to override the default error message text.
You can execute any of the following types of custom logic at any event.
- Local program code - Event logic specifically for the current program.
- Global program code - Custom logic that you use throughout your application.
- Paragraph - A Procedure Division paragraph along with Data Division source that executes in the current program.
- User-defined rule - Any code that you write using the AMB Customizer, a high-level tool for writing and processing rules.