How to do it...

To create the create dialog, follow these steps:

  1. Create a new form, suffixing the details form name with Create; for example, ConWHSVehicleServiceTableCreate.
  2. Drag the tables associated with the header record to the form's Data Source node; in our example, the ConWHSVehicleServiceTable table.
  3. Set the properties for the ConWHSVehicleServiceTable data source as follows:

Property

Value

Allow Delete

No

Allow Notify

No: we want this to act as a single record dialog and disable most of the events that the data source performs for us

Auto Search

No

Insert At End

No

Insert If Empty

No

Delay Active

No

We will need to control the behavior of the data source in this case, as it will be ...

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.