Results 1 to 4 of 4

Thread: Duplicate opportunities for one user

  1. #1
    apinte is offline Junior Member
    Join Date
    Aug 2008
    Posts
    2

    Default Duplicate opportunities for one user

    Sugar PRO 5.1b
    Ubuntu 8.04, MySQL 5.0.45

    Hi,
    One of our users has a problem whereby he is seeing duplicate opportunities. Many of the records display 4 times each.and the problem only appears to affect one user.

    If we grant administrator privilege to this user, the problem disappears but as soon as we revoke the privilege, the problem reappears.

    We have looked at the database and these records do not seem to be duplicated. Other users that have access to the same opportunities do not see them duplicated.

    Does anyone have any ideas to help us resolve this problem?

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

    Default Re: Duplicate opportunities for one user

    I had a similar problem after upgrade from 451 to 50.
    Some of the relation tables had duplicate entries, e.g. accounts_opportunities.

    I found them by a

    select distinct count(id),account_id, opportunity_id
    from accounts_opportunities
    where deleted=0
    group by account_id, opportunity_id
    order by 1 desc
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    sugarcane is offline Sugar Community Member
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,207

    Default Re: Duplicate opportunities for one user

    Hello apinte,

    Try to repair Teams and see if this helps.
    Otherwise, check to see if there are duplicate records for the user in Teams_membership table. If so, remove the duplicates
    Intelestream has a great deal of experience hosting and customizing the SugarCRM application. Our company is made up by former employees of SugarCRM, and together we have over 50 years of experience working with the application. To learn more about us, please visit our website at www.intelestream.net or contact us directly at 800-391-4055 or by email at info@intelestream.net

  4. #4
    apinte is offline Junior Member
    Join Date
    Aug 2008
    Posts
    2

    Smile Re: Duplicate opportunities for one user

    Hello,

    Thank you for the replies.

    Yes, there were duplicates in the team_membership table.
    They were found by

    select team_id, user_id from team_memberships where deleted = 0
    and user_id = 'id of user' order by team_id, user_id;

    The duplicates were then removed and the problem has been resolved.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. search returns duplicate results for a user
    By dkelly in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2008-09-25, 09:48 AM
  2. Duplicate data (only one user)
    By rafael.menezes in forum Help
    Replies: 0
    Last Post: 2006-12-12, 12:55 PM
  3. Ramifications of duplicate user info
    By piers in forum General Discussion
    Replies: 0
    Last Post: 2006-07-19, 02:49 PM
  4. Replies: 0
    Last Post: 2005-04-29, 03:43 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
  •