Results 1 to 4 of 4

Thread: Modified Dropdown List appearing in wrong place in Account History

  1. #1
    alornmage's Avatar
    alornmage is offline Senior Member
    Join Date
    Jan 2011
    Posts
    26

    Question Modified Dropdown List appearing in wrong place in Account History

    Ok.. this one I need help on. It's the strangest issue. Running Sugar 6.1 with no problems at all prior to this.

    Scenario:
    Customer needed a new call status called in addition to Held, Not Held, and Planned, called Left Voicemail.
    Ok I edited the dropdown list and added "Left VM" as the 4th option.

    Customer Usage:
    He clicks Log Call, creates a new call for Jane Doe at ABC company with status of Left VM.

    Now, when he goes to the the Account detail page for ABC Company (the page that shows the Activities, History, Contacts, etc at the bottom) the call is no longer listed under History. Instead it's listed under Activities.. why??

    Further if he clicks View Summary under History is DOES show up on the popup, but not in the History tab of the account.

    Does anyone know the reason for this? If it didn't show up at all I would assume there was some editing that needed to be done to the sub-panel but instead it's being moved to a new section of the account. I'd appreciate any advice.

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Modified Dropdown List appearing in wrong place in Account History

    I believe the query that gathers the records for the History section is specifically looking for records whose status is set to "Held" or "Not Held"
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    alornmage's Avatar
    alornmage is offline Senior Member
    Join Date
    Jan 2011
    Posts
    26

    Default Re: Modified Dropdown List appearing in wrong place in Account History

    So it's looking for either A or B, and else put it in Activities instead, correct?

    Is there a way to modify that query within the UI? I'm capable of modifying the core php, but trying to avoid it to make it easier to duplicate later.

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

    Default Re: Modified Dropdown List appearing in wrong place in Account History

    Go to modules/Calls/metadata/subpanels/ForHistory.php and copy it over to custom/modules/Calls/metadata/subpanels/ForHistory.php. Once you do that, inside the custom file, modify the line
    PHP Code:
        'where' => "(calls.status='Held' OR calls.status='Not Held')"
    to be
    PHP Code:
        'where' => "(calls.status='Held' OR calls.status='Not Held' OR calls.status='Left VM')"
    You may also have to do a similar thing for activities to ensure that it doesn't show up in that subpanel.
    Robert Beckman
    Software Engineer
    Mirth Corporation

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. wrong character encoding in dropdown list
    By nixsnake in forum Translators
    Replies: 11
    Last Post: 2008-11-07, 03:05 AM
  2. wrong character encoding in dropdown list
    By nixsnake in forum Help
    Replies: 7
    Last Post: 2008-09-03, 04:27 PM
  3. Replies: 1
    Last Post: 2008-04-10, 03:36 PM
  4. Replies: 6
    Last Post: 2007-10-05, 06:37 PM
  5. Replies: 2
    Last Post: 2005-09-27, 09:40 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
  •