• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 663
  • Last Modified:

[MSCRM] How to convert a lead to an opputunity using CRM SDK??

I want to convert a lead to an opputunity, using MSCRM SDK.

I had been browsing sdk documentation, but didnt find anything in the
CRMLead class that could covert a lead object to an
opputunity.Although there is a method with the name Qualify that just
changes statuscode of my lead.

could you tell me, what will i have to do to convert a lead to an
opputunity programmatically.

Will i have to create a CRMOpputunity object myself and set its data
from CRMlead object and then create Opputunity myself. But in this
case how will i manage mappings.Will i have to deal with all this
stuff myself??
1 Solution
Try using the qualify method, and then create your new opportunity and set the originating lead to provide the mapping automatically.

Hope that Helps!

caprionoAuthor Commented:

Thanks, but i have done it using differnt way.

Customization.Transform( ) can solve that problem


Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now