web
You’re offline. This is a read only version of the page.
close
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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans