Hi. Please would someone confirm whether it is possible within an AX 4 class, to invoke a static method from a referenced .NET assembly, which returns a System.String?
I have created a .NET assembly, added a reference to it within AX 4, and am able to invoke a method from the referenced assembly, where the method returns null. However, when I attempt to do the same, but return System.String, the following error is raised:
Error executing code: Wrong argument types for addition.
The error puzzles me, since the method does not have any arguments, and I am struggling to understand why the error states 'for addition'.
Would someone please enlighten me?
Thanks
*This post is locked for comments
I have the same question (0)