locked
how can I update the opportunity in MS CRM using web service UPDATE(BussinessEntity) method. RRS feed

  • Question

  • hi,

    how can i update the opportunity using update method of the crmservice?

    Friday, April 30, 2010 2:16 PM

Answers

  • Hi Hassan,

    Here is example code for this..

    opportunity myCrmOpportunity = <<your opprotunity object>>;
    
    //update name of opportunity
    myCrmOpportunity.name = "XYZ"
    
    //myService is CRM service here
    myService.Update(myCrmOpportunity);
    • Marked as answer by Jim Glass Jr Monday, May 3, 2010 3:27 PM
    Friday, April 30, 2010 2:21 PM