Results 1 to 2 of 2

Thread: Contact duplicated when account is changed

  1. #1
    jennifleac is offline Junior Member
    Join Date
    Dec 2007
    Posts
    2

    Unhappy Contact duplicated when account is changed

    Hi all,

    I have Sugar set up for my organization and we have been using it primarily to manage contacts. One annoying thing that happens in Sugar is when my users go to an existing contact and change the account, the contact is duplicated when they export to a spreadsheet (so the contact appears only once in Sugar, but then upon Export there are two records -- one for both accounts).

    This is very problematic as the spreadsheets are ultimately used for mailings. It becomes really difficult for users to remember which account/address is the most recent one. I've poked around here and found threads asking about this but no definitive working solution.

    Does anyone have a fix for this going forward? Also, does anyone know if this has been fixed in Sugar 5.0 (we are currently running Sugar 4.5.0f).

    Thanks in advance!

    J

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Contact duplicated when account is changed

    Hello jennifleac,

    I suppose your "export to spreadsheet" is taken directly from the database. Or which tool do you use?

    If you change the link from a contact to an account, the old entry in table accounts_contacts is flagged with deleted=1 and an new record with deleted=0 is created in table accounts_contacts. The old record stays in database until the day the cows come home - or anybode deletes it by hand.

    So every exporting tool should query this deleted flag in account_contacts to be 0.

    greetings from very cold germany
    hk

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Contact and Account address
    By People3 in forum Help
    Replies: 6
    Last Post: 2008-11-26, 06:39 PM
  2. Replies: 3
    Last Post: 2007-12-05, 06:18 PM
  3. Associating Bug Contact with Account
    By Softwise in forum Help
    Replies: 3
    Last Post: 2007-10-15, 03:41 PM
  4. Import contact on existing account
    By esolarc in forum Developer Help
    Replies: 1
    Last Post: 2006-03-22, 01:21 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
  •