Link to home
Start Free TrialLog in
Avatar of capriono
capriono

asked on

[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??
Avatar of Optevia
Optevia

Try using the qualify method, and then create your new opportunity and set the originating lead to provide the mapping automatically.

Hope that Helps!

Optevia
ASKER CERTIFIED SOLUTION
Avatar of capriono
capriono

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial