Results 1 to 4 of 4

Thread: Imported Activities Don't Appear in Calendar (Until They Are Edited Then Saved)

  1. #1
    machineghost is offline Senior Member
    Join Date
    Oct 2008
    Posts
    51

    Default Imported Activities Don't Appear in Calendar (Until They Are Edited Then Saved)

    My company recently migrated from SalesForce, and we exported the activities of several of our salespeople in to SugarCRM (via the activities import). It worked reasonably well, except that none of the new activities show up in the calendar ... initially. When you edit and then save them though (even if you change nothing) they suddenly appear in the calendar.

    My question is: does anyone know how I can do the equivalent of editing/saving every activity at the database-level (or in some other mass way)? Our salespeople have A LOT of activities, and I can't afford to spend all day going through and editing/saving all of them

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Imported Activities Don't Appear in Calendar (Until They Are Edited Then Saved)

    My suggestion is to look at the database record before and after a save to see what data changes. If nothing in the direct table than there must be a linked table that gets populated/updated. Something data-wise is causing it to start appearing for you.

  3. #3
    machineghost is offline Senior Member
    Join Date
    Oct 2008
    Posts
    51

    Thumbs down Re: Imported Activities Don't Appear in Calendar (Until They Are Edited Then Saved)

    Great suggestion eggsurplus! It took a bit of playing around with the DB, but eventually I realized that it was creating a new meetings_users records when I did the edit/save. When I compared the previous record to the newly created one, I noticed that the user_id of the previous one was set to the salesperson's SalesForce id, whereas the new one had their SugarCRM ID. After I understood that, all it took was a quick:

    UPDATE meetings_users
    SET user_id = *user's Sugar ID*
    WHERE user_id ='*user's SalesForce ID*';

    to fix all the records in one fell swoop. Thanks for the help.

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Imported Activities Don't Appear in Calendar (Until They Are Edited Then Saved)

    Awesome news! Always feels great when you save numerous hours worth of work.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 2008-02-27, 02:14 PM
  2. Replies: 0
    Last Post: 2008-01-04, 02:46 PM
  3. private activities not in shared calendar
    By benjamin.dorleans in forum General Discussion
    Replies: 0
    Last Post: 2007-03-29, 12:47 PM
  4. Calendar and repeating activities
    By rnick in forum Help
    Replies: 6
    Last Post: 2006-01-16, 03:49 PM
  5. Replies: 1
    Last Post: 2005-04-06, 11:39 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
  •