Errors you might face when model reference is missing

You may face errors as “Unable to resolve field type” or “EDT ‘XYZ’ does not exist” when the model in which you use them doesn’t have reference to model where the EDT is defined.



For example you are using the field 'LedgerDimensionValueSet' field in your custom XXX model and your model doesn't have reference to "SourceDocumentationTypes" model, you will face such error.

How to obtain model of an object



One way to get the model information of an object is by searching it in the Application Explorer. The model name will be enclosed in the square brackets as shown in the image.

How to update model references

  1. Click Dynamics 365 > Model Management > Update model parameters
  2. Select the model for which you want to update the references i.e., your custom XXX model and click next.
  3. Select the models where the objects you want to reference are present  and click next, in our example case it's SourceDocumentationTypes
  4. Then click Finish and your references would be updated.













Comments