Results 1 to 2 of 2

Thread: Custom Fields do not fill when create Contact related to Account

  1. #1
    rfsvicki is offline Senior Member
    Join Date
    Feb 2011
    Posts
    20

    Default Custom Fields do not fill when create Contact related to Account

    I have 3 custom fields with identical names in Contacts and Accounts. If I first create an Account, then create a Contact that is linked to that Account, the address, phone, etc. fields fill properly but not the data in the custom fields. Is there a setting I've missed somewhere?

  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: Custom Fields do not fill when create Contact related to Account

    SugarCRM doesn´t automatically copy values from Accounts custom fields into respectives Contacts custom fields.
    You need to create a logic_hook before_save to accomplish such logic.
    If you would like to copy Accounts fields into Contacts fields through both account popup and auto complete, then you can create a displayParams just like I described here.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2010-01-29, 06:18 AM
  2. Custom fields (Studio) and Create Contact from vcard
    By kenneth.thorman in forum Developer Help
    Replies: 2
    Last Post: 2009-07-20, 11:24 AM
  3. Using custom contact fields under Create Lead
    By user4 in forum General Discussion
    Replies: 0
    Last Post: 2009-05-25, 01:07 PM
  4. relationship-specific custom fields (contact<->account)
    By dbischoff in forum Developer Help
    Replies: 1
    Last Post: 2007-09-26, 10:57 PM
  5. Replies: 1
    Last Post: 2006-11-24, 12:08 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
  •