web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

I have the same question (0)
  • Community Member Profile Picture
    on at

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

  • Suggested answer
    Janak Talekar Profile Picture
    130 on at

    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans