Registering actions and groups

For Microsoft Dynamics GP to properly process actions and groups added to the Action Pane, they must be registered. You do this using the List_RegisterAction() and List_RegisterGroup() functions.

Each action has a corresponding command this is run when the action is performed. Each group has a command list that defines the characteristics of the group. When you register the command, you specify the encoded version of the Action ID that corresponds to the command. You also specify under what conditions the action should be available. The following table lists the available conditions:





The action is always available, regardless of the number of items the user has marked in the list.


The action is available when the user has marked one item in the list.


The action is available when the user has marked one or more items in the list.


The item is a group.

How you register actions and groups for the Action Pane depends on whether you are adding them to your own list or to an existing Microsoft Dynamics GP list.

Registering actions and groups for your list

If you are creating your own list, you will register the items added to the Action Pane using one of the procedures provided for the list. For card lists, this is described in Action Pane. For transaction lists, this is described in Action Pane.

Registering actions and groups for a Dynamics GP list

If you are adding your actions to a Microsoft Dynamics GP list, you will register register them at the end of the same trigger processing procedure that adds them to the Action Pane. Refer to the example in Adding to the Action Pane.

Documentation Feedback