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.
Thanks,
Yadav
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
Andreas Buchinger Microsoft Dynamics Certified Technology Specialist MCPD: SharePoint Developer 2010
Some more inactivate examples: http://microsoft-ssis.blogspot.com/2014/04/insert-update-and-delete-records-in-crm.html See the Input0_ProcessInputRow method in step 8a.
Please mark the post as answered if it answers your question | My SSIS Blog: http://microsoft-ssis.blogspot.com | Twitter