Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Is it possible to associate a lead with an old opportunity if we qualify it again?

Posted on by 185

Hi everyone, I am facing an issue, whenever I qualify a lead it creates an opportunity for that lead if I reactivate that lead and qualify it again it is creating another opportunity for that lead.
Is it possible to associate a lead with an old opportunity if we qualify it again?

  • Jishnu Thapa  Profile Picture
    Jishnu Thapa 185 on at
    RE: Is it possible to associate a lead with an old opportunity if we qualify it again?

    hi, Mehdi, can you please share steps and simple code to achieve this.

  • Suggested answer
    RE: Is it possible to associate a lead with an old opportunity if we qualify it again?

    Hi Jishnu,

    Thank you for using the Microsoft Dynamics Communities.

    In Dynamics 365, the sales process starts when a Lead record is created. The lead's information may be replicated for Account and Contact records, but only after the Qualification process has started.

    The qualification of a lead record will always generate an opportunity record (by design - even a lead that was disqualified and qualified again), and later we will be able to create quotes and other records associated with the sales process. The lead referenced into Opportunity record will be same and you can see the related lead into the opportunity record adding the attribute "originatingleadid" on Opportunity main form.

    During the qualification process it will be possible to link an account (Existing Account) or contact (Existing Contact) to prevent new records from being created for these entities. If the Account or Contact is not defined, the qualification will create the Account record based on the information in the Company field, and the Contact based on the First and Last name information of the Lead record.

    To prevent Opportunities from being created automatically, customizations can be performed. See this example below:

    msdn.microsoft.com/.../microsoft.crm.sdk.messages.qualifyleadrequest.aspx

    Code Sample: docs.microsoft.com/.../gg308084(v=crm.8)

    Reference: msdn.microsoft.com/.../gg334514.aspx

  • meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Is it possible to associate a lead with an old opportunity if we qualify it again?

    Hi,

    Yes you can use the old opportunity too. In fact, you can use a plugin on "QualifyLead" message and set "CreateOpportunity" to false if an opportunity exist containing "OriginatingLead".

  • Suggested answer
    Jishnu Thapa  Profile Picture
    Jishnu Thapa 185 on at
    RE: Is it possible to associate a lead with an old opportunity if we qualify it again?

    Hi Mehdi,

    Thanks For your suggestion,  but there is a senior where a user can reactivate and qualify the lead multiple times where we need to capture the latest opportunity data. I am looking for a way where I can use the same old opportunity.  

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Is it possible to associate a lead with an old opportunity if we qualify it again?

    Hi Jishnu,

    It's by design, I propose to deactivate the old opportunity and copy the associated records from the old opportunity to the new opportunity. You can implement this scenario with plugins.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans