How to do it...

First, we will add the sales order menu item to our service order, and then use the Chain of Command to integrate it into our solution. To add the menu item, follow these steps:

  1. Open the ConVMSVehicleServiceTable form.
  2. Right-click on the HeaderActionPane action pane control, and choose New | Button Group. Name it FormActions.
Button groups appear directly in the action pane, without a label. Action pane controls are separate sections that the user can select; they need a label and contain Button groups. The decision as to which to follow depends on how many actions we have.
  1. Locate SalesTableGrid in the Application Explorer (User interface | Menu items | Display), and drag it the FormActions button group. This creates a ...

Get Extending Microsoft Dynamics 365 Finance and Supply Chain Management Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.