Scripts

A script is a series of instructions run from an option. These may include a progression of screens, requesting information or user-specific responses, or instructions to perform certain computations with existing record data. Since the script call is set up and performed at the displayoptions application level, it does not need to be hard-coded into the RAD of the application. This allows for easier maintenance and modification.

Script display calls often employ the script.execute application, specifying the progression of forms to appear for the user. An example of this form of display call is seen in Service Manager Request Management, where the New button option forces the user through a script at open time. The script calls a preliminary information screen which requests certain data that is later populated into a new Request Management record. The screen displayed serves as an organized and user-specific entrance point into the application.

Related concepts

Stored queries
Using stored queries in display objects
Using menu buttons to run stored queries
Using stored queries to produce charts and marquees
Menu option searches

Related tasks

Grant access to stored queries
Add a stored query
Create stored queries from the Query Maintenance form
Run a stored query
Update a stored query
Append stored queries