Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All 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