Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AIF Webservice Error while updating Customer: Entity update mode must be specified

(0) ShareShare
ReportReport
Posted on by 1,020

Hi 

I am trying to update the customer information in Ax using the Inbound webservice using C# code.

Insert was working working fine but Update is showing the error "Entity update mode must be specified." in the Ax exceptions form.

We are facing an issue while performing an Update operation on Customer. Below are the approaches we tried.

 

  1. Retrieving the Customer to Update using Find/Read operation is successful.
  2. Modify the attributes in Customer.
  3. Specify Action on Customer and all related tables.

 

      custTable.action = PartyWS.AxdEnum_AxdEntityAction.update;

     custTable.actionSpecified = true;

 

Upon sending the request for Update, we are getting the following exception: Request Failed. See the Exception Log for details.

 

Error as per Exceptions in AX:

Subsystem :                       Line=1, Pos=511, Xpath=/PartyCust5/CustTable_1[1]

Exception Message:       Entity update mode must be specified.

 

The Update property is set to YES on CustTable_1 and  all related tables in the query.

 

Are we missing any other setting?

Could anyone help me in resolving this issue.

Thanks,

Ramakrishna Tanneeru.

*This post is locked for comments

  • Suggested answer
    Janak Talekar Profile Picture
    130 on at
    RE: AIF Webservice Error while updating Customer: Entity update mode must be specified

    Hi Ram,

    Please set the Update mode in Address view.

    Refer the below link for more information.

    http://blogs.msdn.com/b/axsupport/archive/2012/05/21/calling-the-update-operation-on-services-in-ax-2012.aspx 

    Regards,

    Janak

  • Community Member Profile Picture
    on at
    RE: AIF Webservice Error while updating Customer: Entity update mode must be specified

    I am also getting the same error. Any one has a solution please

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans