Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

Cannot figure out how to add a C# method to my X++ code.

$
0
0

So I need to add a method to my code that validates a customer's address through a third party address validation API.  AFAIK, the only way to do this is to do the service call in a C# method, and use that C# method in your X++ code.  I found an example of the way someone else had done it for our company, but I don't understand exactly how it works, and I've hit the wall when trying to do it myself.  Here's the example:

So after seeing this example, I tried to do the same thing:

I'm thinking that the problem may be that I have not deployed my classLibrary1.  However, when I try to find the deployment properties for the project, nothing shows up:

Here's some pics of the actual code, if that is needed:

The one that works:

Mine (doesn't work):


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>