How to do it...

To create the 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, ConWHSVehicleServiceTable.
  4. Drag the ConWHSVehicleServiceTable table from the project onto the Data Sources node of the form designer.
  5. Select the ConWHSVehicleServiceTable data source and set the Insert If Empty and Insert At End properties to No.
  6. Drag the ConWHSVehicleServiceLine table to the Data Sources node.
  7. Select the ConWHSVehicleServiceLine data source and set the Join Source property to ConWHSVehicleServiceTable.
We don't specify and join information beyond the name, as it will use the foreign key relation ...

Get Extending Microsoft Dynamics 365 for Operations Cookbook 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.