Results 1 to 6 of 6

Thread: Multiple Contacts With Leads

  1. #1
    BizLeads is offline Junior Member
    Join Date
    Apr 2009
    Posts
    3

    Default Multiple Contacts With Leads

    We are new users of SugarCRM - in our sales process we have one identified decision maker who is the contact in the Lead, but we would like to have multiple "influencers" contact information (Name, title, phone number, email) from the same account associated with a Lead. How do we do this? Also, when we convert the Lead into an Opportunity, the multiple contacts convert to Contacts -all associated with the same Opportunity/Account.

    Insights on how to do will be appreciated.

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

    Default Re: Multiple Contacts With Leads

    You may be able to create a relationship between Leads and Contacts in Studio. However, it'll take custom code to copy those contacts over to the Opportunity.

    In modules/Leads/ConvertLead.php (not upgrade safe) look for the "if newopportunity is set" area and add the following code to the bottom of that if statement:
    PHP Code:
            /** [eggsurplus] associate any contacts of the lead with the account */
            
    $existing_contacts $lead->get_related_list(new Contact(),"contacts");
            
    $opportunity->get_contacts();
            foreach(
    $existing_contacts['list'] as $key=>$existing_contact) {
                
    $opportunity->contacts->add($existing_contact->id);    
            }        
            
    /** end [eggsurplus] */ 

  3. #3
    BizLeads is offline Junior Member
    Join Date
    Apr 2009
    Posts
    3

    Default Re: Multiple Contacts With Leads

    Thanks for the response - so understand how that contacts would convert - but how set up multiple contacts associated within one lead - this is prior to converting.

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Multiple Contacts With Leads

    Jason meant to set up a custom 1:n relationship in studio in order to see a contacts subpanel underneath the lead.
    Since all that might get complicated - why not inventing a category "Lead" for your accounts (and probably rename accounts then to "Companies"? And skip the separate entity Lead altogether?
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

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

    Default Re: Multiple Contacts With Leads

    Thanks Robert,

    Sometime I forget to add in those details. In our case we manually added the relationship but it may be possible through Studio although the link name may be messed up.

    The fact of the matter is that Sugar really needs to support B2B as another option. From what I've seen info@hand does this well. During install you can choose your model and the look and feel will change appropriately.

  6. #6
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Multiple Contacts With Leads

    Agreed. The system I was working with before had an easy way of changing screens depending on e.g. customer parameters (hiding certain fields, rearranging them). If I chose "private person" as qualification for an account things like ddi, assistant, delivery address etc. simply disappeared and we were left just with the essentil ones.
    The customization behind was extremely easy - there were n possible templates and you had to create/select one dropdown as trigger.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple types of Leads and Accounts
    By mem94566 in forum General Discussion
    Replies: 4
    Last Post: 2009-03-26, 11:10 PM
  2. Replies: 7
    Last Post: 2009-01-21, 07:04 PM
  3. Replies: 2
    Last Post: 2008-11-18, 02:40 PM
  4. Replies: 1
    Last Post: 2008-08-19, 06:35 AM
  5. Replies: 0
    Last Post: 2007-08-11, 03:45 PM

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
  •