How to do it...

To create the data entity, follow these steps:

  1. In the project, add a new item. Within the Add New Item dialog, select Data Model from the left-hand list, and then Data Entity from the right.
  2. Enter ConWHSVehicleTableEntity as Name and press Add.
  3. We will then get a Data Entity Wizard dialog and select ConWHSVehicleTable in the Primary datasource drop-down list.
As you scroll down, the drop-down list can resize, causing an item to be selected by mistake, it is therefore easier to use the Page Up and Page Down keys to locate the table.

The Entity category is not correct by default; use the following table to select the correct category:

Table group

Entity category

Main, Group


Worksheet (all types)

Get Extending Microsoft Dynamics 365 for Operations Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.