How to InActivate the Opportunity record using the C# code in MS CRM 2011 RRS feed

  • Question

  • Hi,

    I need to InActivate the Opportunity record from the c# console application.

    Is it possible to ste the InActivate state for the Opportunity record? If yes, how can we do this using c# code?

    Please provide the sample c# code.




    Monday, August 13, 2012 7:06 AM


  • Hi,

    Check this link: http://sliong.wordpress.com/2011/08/30/crm-2011-using-setstaterequest-to-activate-or-deactivate/

    You have to use the SetState-Request to deactivate data!

    Best regards,


    Andreas Buchinger
    Microsoft Dynamics Certified Technology Specialist
    MCPD: SharePoint Developer 2010

    Monday, August 13, 2012 8:32 AM

All replies