Results 1 to 4 of 4

Thread: Custum fields from Lead to Contact

  1. #1
    sgilleland is offline Senior Member
    Join Date
    Jun 2009
    Posts
    45

    Default Custum fields from Lead to Contact

    I have created custom fields in the Leads and I would like those to transfer over to the Contact when I convert them......how can I accomplish this?

    For example, one new field in lead is Timeframe........how do I "Time Frame" into the Contact when I convert it? Do I just create the exact same field name in the Contact module and put it on the layout?

    Thanks

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Custum fields from Lead to Contact

    If you create these fields on Contacts, the same name and type, Convert Lead will display them at the bottom of Contact Form and auto fill them with values from Leads.
    When converting the Lead these fields on Contacts will be updated accordingly.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    cmacholz is offline Senior Member
    Join Date
    Sep 2009
    Location
    Missoula, MT
    Posts
    82

    Default Re: Custum fields from Lead to Contact

    Andre,

    I gave this a try and it didn't work in my case. I want to add the CUSTOM field "birthdate" to leads module and have that field convert to the contact's "birthdate".

    The problem as I see it is the birthdate field in the leads modules is a custom field thus, it makes the field name "birthdate_c" and in contacts the birthdate field is NOT custom and its field name is "birthdate"

    This their a way to set the mapping from Leads to Contacts for the fields?

    Thanks,

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Custum fields from Lead to Contact

    Yes, it is possible but requires some coding.
    You need to create a logic_hook before_save on Contacts, which will check if the contact is being created by Convert Lead page, then copy the value from birthdate_c to birthdate.
    Remember at logic_hook context all date, float and datetime fields are unformated.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 2009-12-16, 06:32 PM
  2. Using custom contact fields under Create Lead
    By user4 in forum General Discussion
    Replies: 0
    Last Post: 2009-05-25, 01:07 PM
  3. Add the Contact and Lead fields to the Email Mass Update
    By mikestuart in forum Feature Requests
    Replies: 0
    Last Post: 2008-08-06, 03:22 AM
  4. Replies: 1
    Last Post: 2006-07-03, 02:34 PM
  5. 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

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
  •