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

Posted on 2004-10-28
Last Modified: 2013-11-24
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??
Question by:capriono
    LVL 2

    Expert Comment

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

    Hope that Helps!


    Accepted Solution


    Thanks, but i have done it using differnt way.

    Customization.Transform( ) can solve that problem


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Suggested Solutions

    I showed you how to use console view (HERE ( -– but how do you set it up on the admin side of Salesforce? Note that you have to have Admin leve…
    Messaging apps are amazing tools with the power to do a lot of good, but the truth is the process of collaborating with coworkers requires relationships established through meaningful communication - the kind of communication that only happens face-…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    860 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now