The Command_ShowAndEnable procedure is used to show and enable a command. This is the preferred method of showing and enabling a command for an integration.
• command – The command to be shown and enabled.
By using a common procedure for showing and enabling commands, Microsoft Dynamics GP can control what action is performed for the command. For example, Microsoft Dynamics GP can choose to display the commands, but leave them in the disabled state so they cannot be used. This can be useful so that all commands can be seen.
Use the Command_ShowAndEnable procedure after you have checked any security settings for your integration, typically where you allow registration information to be entered. If access should be granted to the commands in your integration, use this procedure to show and enable them.