Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: History Subpanel- Sort by Date Sent/Received

  1. #1
    peteunderwood is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    20

    Default History Subpanel- Sort by Date Sent/Received

    I find myself using the Outlook plug-in at times retroactively... by this I mean, that at the end of the day I sync all appropriate emails back into sugar.

    Why do I do this? I send and respond to many emails on my phone, and through Good mobile messaging, I end up with a nice little history that I would like to upload to Sugar.

    The Problem:

    Everything is sorted on Date Modified in the history panels. This doesn't present a true historical view of the emails to everyone who is looking at the account.

    What I would like:

    Meetings and email to be sorted on date sent/received.

    Is this possible?

  2. #2
    jkitsmiller is offline Sugar Community Member
    Join Date
    May 2007
    Location
    Austin, TX
    Posts
    27

    Default Re: History Subpanel- Sort by Date Sent/Received

    Quote Originally Posted by peteunderwood
    I find myself using the Outlook plug-in at times retroactively... by this I mean, that at the end of the day I sync all appropriate emails back into sugar.

    Why do I do this? I send and respond to many emails on my phone, and through Good mobile messaging, I end up with a nice little history that I would like to upload to Sugar.

    The Problem:

    Everything is sorted on Date Modified in the history panels. This doesn't present a true historical view of the emails to everyone who is looking at the account.

    What I would like:

    Meetings and email to be sorted on date sent/received.

    Is this possible?
    I do things exactly the same, have you gotten any advice on a fix?

    John

  3. #3
    peteunderwood is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    20

    Default Re: History Subpanel- Sort by Date Sent/Received

    I have opened a case, but have not heard anything yet. I will post any solution they come up with.

  4. #4
    techex's Avatar
    techex is offline Sugar Community Member
    Join Date
    Oct 2004
    Location
    UK
    Posts
    409

    Default Re: History Subpanel- Sort by Date Sent/Received

    I also have the same problem...

    Plus...

    As part our our upgrade to 5.0 the modified date for 3 years of emails were all changed to todays date!!! Now our histories are all but useless.

    I've tried using Studio but the history in Accounts is not available to edit...

    Rich

  5. #5
    paulgigliotti is offline Member
    Join Date
    Feb 2008
    Posts
    8

    Question Re: History Subpanel- Sort by Date Sent/Received

    I too would like to the option to edit the view of History under accounts

    Has anyone discovered how to edit this?

    Also, in line to this -

    How do I enable the "assigned to" field under histoy? there's no way to tag who created the note/attachment, and this is something that is important to us.

    Anyone with any ideas?

    Paul

  6. #6
    peteunderwood is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    20

    Default Re: History Subpanel- Sort by Date Sent/Received

    I received a reply back from support on this one:

    This is possible to do, it's basically adding the code block 'date_entered'=>array( 'vname' => 'LBL_DATE_ENTERED', 'width' => '10%', ), to the ForHistory.php subpanels in Calls, Meetings, Emails and Tasks.

  7. #7
    mll
    mll is offline Member
    Join Date
    Sep 2006
    Posts
    9

    Default Re: History Subpanel- Sort by Date Sent/Received

    Quote Originally Posted by peteunderwood
    I received a reply back from support on this one:

    This is possible to do, it's basically adding the code block 'date_entered'=>array( 'vname' => 'LBL_DATE_ENTERED', 'width' => '10%', ), to the ForHistory.php subpanels in Calls, Meetings, Emails and Tasks.
    I couldn't get this to work, I got an SQL query error. It would be nice if we could edit this in the editor, after all, that's what it's made for, and this wouldn't be removed at next upgrade.

  8. #8
    mll
    mll is offline Member
    Join Date
    Sep 2006
    Posts
    9

    Default Re: History Subpanel- Sort by Date Sent/Received

    OK, I got it to work, here's what I did :

    1. searched for all files named ForHistory.php, insert
    PHP Code:
            'date_entered'=>array(
                
    'vname' => 'LBL_DATE_ENTERED',
                
    'width' => '10%',
            ), 
    into them

    2. if you stop here, you'll het a MySQL error 1222, so do the same to /modules/Emails/metadata/subpanels/ForUnlinkedEmailHistory.php

  9. #9
    fredrikwestin is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    18

    Default Re: History Subpanel- Sort by Date Sent/Received

    Problem solved but.. but not solved!

    I have the same problem, (together with all other Sugar-users?)
    So I did this fix in the History.php-files. But this only did the half trick. Objective was to view "Date Sent".
    "Date Created" is not the same and is not what I wanted. I use Outlook and the sync could be weeks/month after Date Sent. So the column Date Created is not helping me to display a relevant history log of e-mails.

    Date Sent is probably only valid for e-mails and not for notes etc.

    Have someone solved this?
    Thank you.

  10. #10
    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: History Subpanel- Sort by Date Sent/Received

    You can use the attribute alias into field definition in ForHistory.php
    This way you can create an alias date_sent to the field date end, for example.

    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.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2009-08-07, 11:59 AM
  2. subpanel column sort widgets
    By stevec in forum Developer Help
    Replies: 2
    Last Post: 2007-09-18, 09:02 AM
  3. Replies: 3
    Last Post: 2006-07-18, 10:22 AM
  4. Replies: 2
    Last Post: 2005-05-18, 11:59 AM
  5. History: Sort by creation date
    By borton in forum Feature Requests
    Replies: 0
    Last Post: 2004-10-19, 11:33 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
  •