How to do it...

To create the details master form, follow these steps:

  1. Choose to add a new item to the project.
  2. Select User Interface from the left-hand pane and Form from the right-hand pane.
  3. Name the form as per the table's name; in this case, ConVMSVehicleTable.
  4. Drag the ConVMSVehicleTable table from the project onto the Data Sources node of the form designer.
  5. Select the ConVMSVehicleTable data source and set the Insert If Empty and Insert At End properties to No.
Insert If Empty will create a new record if there are no records, which is undesirable for the main table and order header tables. The Insert At End property can also be undesirable; if the user presses the down arrow key on the last record, a new empty record will be created. ...

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.