Extender Actions allow a window to perform specific actions based on user input. There are fourteen actions that can be performed.
Extender Standard | Extender Enterprise |
• | Disable Field: will disable the selected Extender field. This will allow data to be displayed, but not entered or changed |
• | Enable Fields: can be used to enable fields that were previously disabled using the Disable Field Action. When a field is enabled, the data in it can be added or changed |
• | Clear field values (Enterprise Only): can be used to clear the value entered in field |
• | Set field value (Enterprise Only): can be used to enter a specific value into a field |
• | Close Extender form (Enterprise Only): can be used to close an Extender form |
• | Open Dynamics GP form (Enterprise Only): can be used to open a Dynamics GP form |
• | Open application (Enterprise Only): will run an external application |
• | Display dialog (Enterprise Only): can be used to display an Extender Dialog |
• | Run Template: can be used to run a specific Window Template when the action is triggered. The templates need to be exist before they can be selected using an Action |
• | Run macro (Enterprise Only): will run a recorded Microsoft Dynamics GP macro |
• | Run SQL script (Enterprise Only): can be used to run a SQL script |
• | Run Dynamics GP script (Enterprise Only): can be used to run a Dexterity script |
• | Run another action (Enterprise Only): will call another Run Dynamics GP script action that is already setup |
There are eight events in an Extender Window that Actions can be added to. An event is an action that occurs within your Extender application. You can use events to trigger new functionality in your application. When you open the Actions window, all events for the Extender resource are displayed.
Conditions can also be added to conditionally perform any of the above actions.
• | Change Field Value: triggers when the specified field has been changed in an Extender Window. The action runs after focus has been lost from the selected field. |
• | Close Window: triggers when the window is closed |
• | Delete Record: triggers when an existing record is deleted |
• | Enter Field: triggers whenever a specific field receives focus in an Extender Window. |
• | Exit Field: triggers whenever a specific field loses focus in an Extender Window. |
• | Open Window: triggers when the window is opened |
• | Print Report: triggers when the Print button is clicked or Print is selected from the File menu |
• | Save Record: triggers when a new record is created or an existing record is updated |
To add an Extender Action to a Window:
1. | Open the Extender Windows window and select the Window that you want to add an Action to. |
2. | Click on the Actions button to open the Extender Actions window |
3. | Click on the Add button to create a new Action |
4. | Select the Event Type from the Event Type drop down list. |
5. | Select the Field you want to trigger the event in the Field drop down list if available for the Event Type selected. |
6. | Click on the Add button in the Add Actions window. |
7. | Select your Action Type from the drop down list. |
To modify an existing action type:
1. | Select the action type that you want to modify from the Actions list. |
2. | Click on the Edit button next to the Actions list. |
3. | Enter the new information for the action. |
4. | Click on the Save button. |
To duplicate an existing action type:
1. | Select the action type that you want to duplicate from the Actions list. |
2. | Click on the Duplicate button next to the Actions list. |
To inactivate an existing action type:
1. | Select the action type that you want to inactivate from the Actions list. |
2. | If you want to inactivate the action as a whole, mark the Inactive checkbox at the top of the Extender Actions window. |
3. | If you want to inactivate a specific action in the main action, highlight the specific action and then click the Edit button. Mark the inactive icon and save the action. |
If you no longer want an action type on an action, it can be removed.
To remove an existing action type:
1. | Select the action type that you want to remove from the Actions list. |
2. | Click on the Remove button next to the Actions list. |