Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
With the use of AIF and Dynamics AX 2012, I have been able to successfully create customers in Dynamics AX from C# code.
I've been instantiating a AxdCustomer object, assigning the necessary properties, and using the CustomerServiceCreateClient to perform the creation.
I understand that by creating a customer in Dynamics AX this way that it will also create a DirParty Table record and 'match' it with the customer that I've created.
However, I was wondering, is there a way through the AIF to do the opposite such as instantiate and create a DirParty Table record in AX that I can then retrieve and assign to customers that I create in the future with the party number for example?
The issue that I am running into is, if I instantiate an object such as AxdEntity_DirParty_DirpartyTable - How do I get this into AX since I cannot pass this object to CustomerServiceCreateClient because it is expecting an obvious AxdCustomer object.
Lastly, do I need to expose a method from AX that I can reference and call from the C# side of things? If so, what method would I expose.
Can you post the C# code you are using, then i might be able to help you further.
I appreciate you offering to help me with this.
My apologies for the delay but I was able to resolve this issue after looking into it further.
For anyone curious, I wrote a custom function in x++ that inserted a DirPartyTable record. I then returned that to the c# call which was performing the request .
Business Applications communities