Results 1 to 7 of 7

Thread: Import creating duplicate records

  1. #1
    Bobhardyoyo is offline Sugar Community Member
    Join Date
    Mar 2009
    Location
    UK
    Posts
    59

    Default Import creating duplicate records

    I am importing in to an existing Sugar database using the internal import tool and a CSV file, I have selected create and update but the system is not updating the records it is creating new ones instead, I could go through and do a duplicate merge but this is not an ideal scenario.

    Can anyone help figure out why sugar will not update the records?

    This system is running CE 5.5.1 on a Windows 2003 server.

    Thanks
    Ed
    Last edited by Bobhardyoyo; 2010-10-06 at 03:30 PM.
    Version 5.5.1
    PHP 5.3.8
    MySQL 5.5
    IIS 6 Windows 2003 R2 SP2

  2. #2
    Bobhardyoyo is offline Sugar Community Member
    Join Date
    Mar 2009
    Location
    UK
    Posts
    59

    Default Re: Import creating duplicate records

    Has no one else come across this problem with Sugar imports before?
    Version 5.5.1
    PHP 5.3.8
    MySQL 5.5
    IIS 6 Windows 2003 R2 SP2

  3. #3
    ivit is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    187

    Default Re: Import creating duplicate records

    Do you have IDs in CSV?
    As I can remember, Sugar import update requires IDs in CSV, in order to do an update. If you don't have IDs in CSV, it creates new records.

  4. #4
    Bobhardyoyo is offline Sugar Community Member
    Join Date
    Mar 2009
    Location
    UK
    Posts
    59

    Default Re: Import creating duplicate records

    Quote Originally Posted by ivit View Post
    Do you have IDs in CSV?
    As I can remember, Sugar import update requires IDs in CSV, in order to do an update. If you don't have IDs in CSV, it creates new records.
    Thanks for the response!

    I don't have ID's but I do have multiple fields in the CSV that are identical to existing records in Sugar...do I have to find the ID for the existing records in Sugar in order to import this properly? I have 250 records to import
    Version 5.5.1
    PHP 5.3.8
    MySQL 5.5
    IIS 6 Windows 2003 R2 SP2

  5. #5
    robertbmirth is offline Sugar Community Member
    Join Date
    Jun 2010
    Location
    Irvine, CA
    Posts
    345

    Default Re: Import creating duplicate records

    yes, you have to have IDs for the update feature to work. As far as sugar is concerned, that is really the only unique field in any record, so it only references that to determine if you're trying to update a record or create a new one.

    If you need to pull out the IDs, you can always do an export of these records, or if you know a little SQL/PHP you can probably append these IDs to your records.
    Robert Beckman
    Software Engineer
    Mirth Corporation

  6. #6
    angelababy is offline Banned
    Join Date
    Jul 2010
    Posts
    60

    Default Re: Import creating duplicate records

    Hi! Thank you for this very helpful informations.

  7. #7
    rishavraj's Avatar
    rishavraj is offline Sugar Community Member
    Join Date
    Sep 2010
    Posts
    135

    Default Re: Import creating duplicate records

    How can i check the emai-id should be unique while create and update in import module?

    i want like that if Email-id exists then it will not save to the database

    Please help me out

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Import creating duplicate listview entries
    By robertbmirth in forum Help
    Replies: 4
    Last Post: 2010-10-06, 04:21 PM
  2. Duplicate records
    By bob1965 in forum Help
    Replies: 2
    Last Post: 2009-10-05, 02:55 PM
  3. Duplicate Records
    By fbnewtz in forum Help
    Replies: 2
    Last Post: 2008-09-17, 08:40 PM
  4. Using custom field to prevent duplicate records while import
    By saradhinc in forum Feature Requests
    Replies: 2
    Last Post: 2008-09-11, 02:15 PM
  5. Creating Multiple Duplicate Records in sugarcrm 4.5,
    By var.chowdary in forum General Discussion
    Replies: 2
    Last Post: 2007-11-28, 11:22 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
  •