Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

AIF Add new customer (AxdCustomer not found)

(0) ShareShare
ReportReport
Posted on by 570

Hello ..

my reference is next article alling the CustCustomerService 

first i create inbound port that contained CustCustomerServices.Create 

next i selected the data policies and active it 

next create c# app and point the services reference to the my services as next code

 

private void updateNewCustomers(object sender, EventArgs e)
{
using (SBCustomerRef.CustomerServiceClient custClient = new SBCustomerRef.CustomerServiceClient())
{
var context = new SBCustomerRef.CallContext() { Company = "egc" };
var customers = new SBCustomerRef.axd
{


}

but i didn't found the  AxdCustomer

any herlp

*This post is locked for comments

  • Ismail Mohamed Profile Picture
    Ismail Mohamed 570 on at
    RE: AIF Add new customer (AxdCustomer not found)

    Thanks

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,466 Most Valuable Professional on at
    RE: AIF Add new customer (AxdCustomer not found)

    Look at the data type expected by custClient.create(). Maybe it's an array of entities instead of the document class.

    I remember it behaved differently in AX 2012 based on whether you used or didn't use data policies. Checking the expected type will make clear what you need in your case.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans