Dynamics 365 for Operations

Purpose:

The purpose of this document is to demonstrate how we can develop a Details Master form in Dynamics 365 for Operations. While doing so, it also shows how to apply the new form patterns and subpatterns.

Development:

3. Drag and drop MAKInventRawMaterial table from the project to the Data Sources node.

4. Right-click Design node. Click Apply pattern > Details Master.

5. Once the pattern gets applied, open the Pattern pane to see the missing controls which need to be added to comply with the pattern.

6. Add the identified missing controls to the Design node in the same order as shown in the pattern tab.

7. As you can see after adding the required controls the violations have been but still there are some warnings.
8. Navigate to FormGroupControlNavigationList to view its Pattern tab. We still have missing controls for our Navigation List control.

10. Repeat steps 6 – 9 till all the pattern and subpattern issues have been resolved by adding the missing controls. At the end of the process, you will have a completed form ready to add data source fields to.
11. Add the following field groups to the Details panel from data source table.

12. Add the AutoReport field group to the Grid control of the Grid panel.

13. Navigate to FormCommandButtonControl and set Command property to DetailsView.

14. Navigate to FormGridControl and set Default Action property to the FormCommandButtonControl.

Process:

4. Click Add entity button. You should see Customers data entity added to the right pane.
5. Click Export button.
5. After the job ends, you can see the count of records exported on the Execution summary screen.

Exception:

While exporting data from local VM of Dynamics 365 for Operations, you might get an error if the Azure storage emulator is not running.

Microsoft.WindowsAzure.Storage.StorageException: Unable to connect to the remote server —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it.

Resolution:

You can start the Azure storage emulator by following the steps below: