Extending standard data entities
Extensibility is becoming more and more pervasive in the development paradigm of Dynamics 365 for Operations, and it is important to be able to have extensible data entities; otherwise, we would have to write new ones to be able to use a field we added to a table as an extension.
In this example, we will create an extension for the Released product creation entity, named EcoResReleasedProductCreationEntity
.
Getting ready
Part of this recipe is to add an extension field so we can import data into it, so the first part is to create an extension for the InventTable
table with a new field. This is optional, but is included in order to demonstrate how this is done.
To follow this optional step, create a table extension for the InventTable
table and add a new field of type Name
called ConWHSAdditionalName
. Also, add this to a form extension so we can see the results.
How to do it...
To create a data entity extension, follow these steps:
- In the Application Explorer, expand...