dreeeeeedd
dreeeeeedd

Reputation: 29

How to fix "Object reference not set to an instance of an object" in Dynamics 365

im getting troubles with an element from Application Suite Package.

When Im adding it in table fields and try to drag it im getting this error: Check Screenshot of error (My model its an empty project that include ApplicationSuite)

Upd: I have already sync the whole Database. And also I have tried to use this element(ItemId) in other model and after build I didnt get any errors at build, but the element still dont work in any of my models.

Upvotes: 1

Views: 8082

Answers (2)

user20684079
user20684079

Reputation: 1

I already find the problem. ItemId extend ItemIdBase which is in other Model and 2 more items that is included in ItemdId. I had to add 3 models Directory,Ledger and SourceDocumentationTypes.

Upvotes: 0

mrsalonen
mrsalonen

Reputation: 371

Select the project your Table2 is in (If it is not in a project, first create a project and add the table in that project.), right click ItemId in the AOT, select "Add to project" and select Yes when asked something-or-the-other about copying it over models. Then try adding the ItemId from your project by drag-and-drop to Table2?

Upvotes: 0

Related Questions