- Dynamics 365 for Finance and Operations represent every individual element of AOT such as class, table, form, and so on.
- Elements in Dynamics 365 for Finance and Operations are stored on disk as XML files; these files contain the metadata and source code for the element.
- The XML files are the unit of Source Control
- works the same as AX2012, but in D365 an element can be customized only once they are added to a specific Visual Studio project.
- The project may only belong to one model.
Dynamics 365 for Finance and Operations model:
- This is a group of elements. Standard elements are part of a standard model; you can add them into your model and do customization.
- A model is a design-time concept. An example of models: warehouse management model, a project accounting model, and more.
- Models can have one or more projects. Models may only belong to one package.
Dynamics 365 for Finance and Operations package:
- This is a deployment and compilation unit of one or more models. It includes model metadata, binaries, cubes, and other associated resources.
- One or more D365 packages can be packaged into a deployment package, which is the vehicle used for deployment on UAT and production environments.
- Packages are packaged into a deployable package file for deployment to Sandbox or production environments.
- A package can have one or more models. Packages can have references to other packages, just like .NET assemblies can reference each other.
How to create a Project in Visual Studio:
How to create a Model in Visual Studio:
There was one more step while creating a model, Select referenced packages.
When you create your own package, you can select from an existing package to add them as references in your new package. You may need to add some standard package reference if you want to add them into your customization