You can use a custom action menu item to manually start an outbound web service action from a form. As a result, for a selected record, you can manually run the web service action from the form to which you added the action menu item.
Example: Create an action menu item and add it to the Sales orders form. On the Sales orders form, you can select a record and click the action menu item button. This starts a web service action to post a sales order. The web service action is processed, and the selected sales order is posted.
1. | Create the custom menu item. The action menu item must be of type class and must be linked to the 'BisWsCmdActionRunWebservice' class. To avoid best practice warnings, in the menu item setup, define the permissions for the roles who can use the action menu item. |
  |
Note: As the action menu item is not linked to a RunBase class, you cannot run it in batch. |
2. | Add the action menu item to the form from where you want to start the web service action. For example, the Sales orders form to post a sales order. |
3. | Make sure, the users, who must be able to run the web service action with the menu item, are assigned to the 'Message run (BisMessageRun)' role. |
4. | For the desired web service action, on the Web service action form, in the Custom section, in the Action menu item name field, enter the name of the action menu item. For example, a web service action to post a sales order. |
  |
Note: Make sure, you link the menu item to only one web service action. |
5. | Test the menu item. Does it run the web service action with the desired result? |