Results 1 to 3 of 3

Thread: Sub- Panels Not Displaying Related Records

  1. #1
    sanvista is offline Junior Member
    Join Date
    Apr 2009
    Posts
    2

    Default Sub- Panels Not Displaying Related Records

    I suspect this is one of those newbie question but I have been trying various things for the last few hours including working through documentation , faq's and here so please bear with me...

    I am using the community version of Sugar running on a Ubuntu server.

    I have imported my account data - a few minor probs with date fields but now sorted. As part of that I added a number of new data fields including a unique customer ID number. Both this and the account file are pulled of my accounts system.

    My problem comes when I import the customer contact data. This contains a range of contact data fields which are in Sugar as standard together with a few custom fields which I've hand rolled. The import file has one field in common with the account data import file - that unique customer ID number.

    The contact data imports fine but doesn't show up when i look at the accounts. The sub-panel does not show any contacts.

    From my past experience with DB's I presumed that it would need a one to many relationship (Account to Contacts) which wasn't listed in the Studio - that only indicates a many to many. I may well be wrong on this :-)

    Adding a one to many didn't help ( and I couldn't edit the default ones) and i was surprised not to see any option to specify the linking field. Have DB's come on so much that I don't need to do this ?

    Is it also the case that you can't add a custom field that you've setup for one module to another module. Shirley it would have been the logical thing to do to add the same unique customer ID field that I set up for account for contacts as well and then just mapped it onto the import file field ?

    I suspect this might be a d'oh moment so feel free to point me at something but please note this is not my day job so XML schemas might not be for me. I'm presuming this is something simple(ish)

    Thanks for any help - it's Easter Sunday here so I'm off to walk the dog and get some chocolate

  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: Sub- Panels Not Displaying Related Records

    Hi sanvista

    You don't need to create a relationship between Accounts and Contacts.
    You just need to specify on import file the account_name field.
    SugarCRM will automatically link the new Contact with the correct Account.

    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
    sanvista is offline Junior Member
    Join Date
    Apr 2009
    Posts
    2

    Default Re: Sub- Panels Not Displaying Related Records

    You are quite correct....

    It's a been a few years since I set up a database and I'd forgotten a few basics....

    As the weather has been so bad in the UK over the Easter break I guess it was something to do :-)

    Thanks for the pointer....

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 5.0g-5.1 upgrade: Activities and History panels no longer showing related calls
    By tomkerswill in forum Installation and Upgrade Help
    Replies: 19
    Last Post: 2008-09-15, 03:18 PM
  2. Replies: 2
    Last Post: 2008-09-01, 08:34 PM
  3. Dashlet no displaying related to data
    By kinshibuya in forum Help
    Replies: 0
    Last Post: 2008-08-22, 02:41 PM
  4. subpanel is displaying all records
    By dbeckley in forum Developer Help
    Replies: 6
    Last Post: 2008-04-01, 04:41 PM
  5. Replies: 11
    Last Post: 2006-01-18, 05:44 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
  •