Navigator > Setup > Company > Scripts > Script Events - OR -
Accredo > Script > Script Events
Set MaxBasic Scripts to run when an event occurs or an action is performed. For example, you can use script events to:
See Events Documentation for a list of available events for each form. You can also press Ctrl+F1 on an open form to see the Automation Documentation for the form. The Events for the form are listed at the end of the Automation Documentation.
Note: If an Event Script is run when a script is being recorded, any Print statements in the Event Script will be suppressed and Print outputs will not be shown, as the Script Recorder uses the Output window for the recorded script.
Module |
Defaults to All Modules. Select a Module to display events for a single module. |
|
Events Grid |
||
Module |
Select the Module Code that the Event will be triggered in. |
|
Class |
Select the Class (for example, data, a report or a form) that will trigger the Event. |
|
Type |
Select the Type of action that will trigger the event. |
|
Script Name |
The name of the script file to run when the Event occurs. |
|
Inactive |
Selected, the script will not be run for the event. |
|
Event |
Displays the Event. This can be selected by the Module, Class and Type fields. You can also click For example, selecting:
tells Accredo to run a script before the OE Sales Order Entry Form is saved. See Company Events and Form Events. |
|
Toolbar |
||
|
Expand Toolbar |
Expand the toolbar to give access to all toolbar options. Press |
|
Edit |
Edit an existing script event. |
|
Insert |
Opens Event. Click Event Name, Select a form or grid and event from the drop-down. Script Name, the name of the script file to run when the event occurs. Once a script event is set, it will run when the event occurs. |
|
Delete |
Delete a script event. |
|
Print |
Print the script event actions listing. |
|
Customise |
Opens Customise Fields, you can customise the fields visible in the grid. |
|
Refresh List |
Reloads changes other Users may have made. |
|
Edit Script |
Open a selected script in Script Editor. |
|
Inactivate |
Inactivate the selected script event. |
|
Inactivate All |
Inactivate all script events. |
|
Activate |
Activate the selected script event. |
|
Activate All |
Activate all script events. |