Results 1 to 4 of 4

Thread: converting lead duplicates items - how do I stop this from happening?

  1. #1
    swestin is offline Member
    Join Date
    May 2008
    Posts
    6

    Exclamation converting lead duplicates items - how do I stop this from happening?

    We have Sugar 5.1. Windows XP, The issue is that when I convert a lead into a contact, account and opportunity, it duplicates every item associated with lead, instead of just relating them to the new contact, account and opportunity. So if I have a call scheduled and held for a lead, then I convert that lead, Sugar creates 3 new calls, and then I have four calls appearing on my calendar. Is there any setting that I can change that will relate the items to the created contact, account, opportunity instead of duplicating the items?

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: converting lead duplicates items - how do I stop this from happening?

    There isn't due to the data structure. For instance, for calls it holds the relationship to a lead right in the call record (parent_type, parent_id). If you were to related it to an account instead it would lose the relationship to the lead. This is probably why they just duplicate the activity/history.

  3. #3
    swestin is offline Member
    Join Date
    May 2008
    Posts
    6

    Exclamation Re: converting lead duplicates items - how do I stop this from happening?

    Then is their any way to make it relate to just the account, even if it loses the relationship with the lead? After I convert a lead I have little use for it and record future activities by relating them to the account and contact.

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: converting lead duplicates items - how do I stop this from happening?

    I just had this discussion yesterday with our sales folks. You could data-wise do that. However, the activity that took place during the lead process was related to them becoming a customer (in our case...). Thus, that history should remain there for historical purposes. It also keeps the account clean once they are handed off to support and to sales for add-on opportunities (which would remain outside of the account and in the opp in most cases). The activity in our case for an account should only before for that which is after they have become a customer.

    You can alter the modules\Leads\ConvertLead.php file to change the activities to be under accounts if you'd like. You'd have to iterate through the Lead activity and set the parent_id to the account id and the parent_type to Accounts and save() for each. If you were to do that make sure to comment out the code that copies the activities over.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Developer Wanted
    By guz843 in forum Classifieds
    Replies: 6
    Last Post: 2008-11-03, 08:46 AM
  2. Converting lead to a contact is not working
    By rmapply in forum General Discussion
    Replies: 0
    Last Post: 2008-03-31, 03:27 PM
  3. From lead to order
    By george_bbch in forum Feature Requests
    Replies: 0
    Last Post: 2006-09-26, 02:02 PM
  4. Lost fields while converting a Lead into a Contact
    By lalo in forum Feature Requests
    Replies: 0
    Last Post: 2005-03-22, 03:31 AM
  5. Replies: 3
    Last Post: 2005-03-04, 02:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •