Issue with createNavigationMethod property



I am sure, you must have seen this happening. In fact this has been happening in the 10.0.30 version onwards. 

When you create relations on your table and try to build your solution, your project gives an error saying "( expected."


The error doesn't show anything or won't take you anywhere if you double click on it.

The reason behind this lies in the property of the relation which you've given in your table level.


You have chosen to keep 'createNavigationMethod' as 'true', but haven't given any name of the navigationPropertyMethod (it's an actual property actually, but now the compiler somehow expects this property to be either be filled or turn of the createNavigation altogether).  

Solution: 

a. Give a name to the navigation method property.

or

b. You can turn off the createNavigationMethod property as No. In that case, you might not be able to implement any UnitOfWorkFramework structure, using this table.

Build your project. This will solve the problem.

Comments

Popular posts from this blog

X++ : mistakes which developers commit the most

Make your menu items visible on main menu, conditionally,, using this cool feature of D365FO

Speed up your execution performance by using SysGlobalCaches