ExistsAsAction()

Examples


The ExistsAsAction() function in the syListViewCmdBarObj form verifies whether a specific command exists as an action for the Action Pane of a list.

Syntax

ExistsAsAction(ParentDictID, ParentFormID, ParentCmdID, product_ID, list_ID, view_ID)

Parameters

ParentDictID – The ID of the dictionary that contains the command that is being queried. Use the constant DYNAMICS to specify that you querying a command that is defined in the Microsoft Dynamics GP main dictionary.

ParentFormID – The resource ID of the command form that contains the definition of the command that is being queried.

ParentCmdID – The resource ID of the command that is being queried.

product_ID – The ID of the dictionary that contains the list for which a command is being queried.

list_ID – An integer specifying the ID of the list for which a command is being queried.

view_ID – An integer specifying the view for which the command is being queried. Use the constant LIST_PRIMARYVIEWID to indicate the primary view for the list.

Return value

A boolean. The value true indicates the command exists as an action for the list, while false indicates it does not.


Documentation Feedback