Results 1 to 9 of 9

Thread: Meetings Edit View - Related to defaults to Account

  1. #1
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Meetings Edit View - Related to defaults to Account

    I have changed the Related to drop down for meetings, calls & tasks to use a custom list

    When I create a new meeting or call it uses the new dropdown but still defaults to Account even tho case is first in list

    I can't work out why this is happening as it works for Tasks but not for calls or meetings

    Any ideas?

  2. #2
    dpatech is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    NC
    Posts
    287

    Default Re: Meetings Edit View - Related to defaults to Account

    It is possible that Sugar is passing in the "parent_type" HTTP request variable in as part of the request thereby setting this variable. From what page/link are you creating the meetings? Check the form definition for the button or link and see if this is being passed.
    - Sugar Team
    dpa Technology LLC
    e-mail: dpaDeveloper@dpatechnology.com
    web: http://www.dpatechnology.com

  3. #3
    heta's Avatar
    heta is offline Sugar Community Member
    Join Date
    Nov 2007
    Location
    Ahmedabad,India
    Posts
    214

    Default Re: Meetings Edit View - Related to defaults to Account

    hi mike,

    if i have understood ur problem properly then i think this should work..

    'record_type_default_key' -- change the value to ur desired module in include/language.
    Best Regards
    ---------------------------------------
    Heta Shah - iNET PROCESS
    heta.shah@inetprocess.com
    http://www.inetprocess.co.in
    Projects :
    iNETDocs -Project of the month(Dec-2008)
    iNETGoogleMap

  4. #4
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Meetings Edit View - Related to defaults to Account

    Quote Originally Posted by heta
    hi mike,

    if i have understood ur problem properly then i think this should work..

    'record_type_default_key' -- change the value to ur desired module in include/language.
    Thanks

    I have set it in custom/include and it sorts my problem

  5. #5
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Meetings Edit View - Related to defaults to Account

    It almost solves the problem

    Once you create a meeting and start typing in the related to field the list is accounts not cases

    If you click on select it does bring up cases

  6. #6
    heta's Avatar
    heta is offline Sugar Community Member
    Join Date
    Nov 2007
    Location
    Ahmedabad,India
    Posts
    214

    Default Re: Meetings Edit View - Related to defaults to Account

    hi mike,

    u need to change
    the function getQSParent in include/QuickSearchDefaults.php

    change
    'modules' => array('Accounts'),
    to
    'modules' => array('Cases'),


    Hope it works!
    Best Regards
    ---------------------------------------
    Heta Shah - iNET PROCESS
    heta.shah@inetprocess.com
    http://www.inetprocess.co.in
    Projects :
    iNETDocs -Project of the month(Dec-2008)
    iNETGoogleMap

  7. #7
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Meetings Edit View - Related to defaults to Account

    Quote Originally Posted by heta
    hi mike,

    u need to change
    the function getQSParent in include/QuickSearchDefaults.php

    change
    'modules' => array('Accounts'),
    to
    'modules' => array('Cases'),


    Hope it works!
    Heta thanks

    Correct file but wrong place

    That broke contacts but I then changed:

    function getQSParent($parent = 'Cases') { on line 48 and it seems to work

    I suspect it will come back and give me problems in the future but I will try it

  8. #8
    heta's Avatar
    heta is offline Sugar Community Member
    Join Date
    Nov 2007
    Location
    Ahmedabad,India
    Posts
    214

    Default Re: Meetings Edit View - Related to defaults to Account

    yes mike,

    i gave u the solution for sugar 4.. i dint check for sugar 5 this time..

    sorry it made u suffer a bit.

    but now it is working, knowing that i felt good.
    Best Regards
    ---------------------------------------
    Heta Shah - iNET PROCESS
    heta.shah@inetprocess.com
    http://www.inetprocess.co.in
    Projects :
    iNETDocs -Project of the month(Dec-2008)
    iNETGoogleMap

  9. #9
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Meetings Edit View - Related to defaults to Account

    Quote Originally Posted by heta
    yes mike,

    i gave u the solution for sugar 4.. i dint check for sugar 5 this time..

    sorry it made u suffer a bit.

    but now it is working, knowing that i felt good.
    hardly made me suffer

    Thanks very much for the help

    It is much appreciated

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Default to Edit View
    By dameat in forum Developer Help
    Replies: 7
    Last Post: 2008-06-05, 11:10 PM
  2. Replies: 1
    Last Post: 2008-04-10, 03:36 PM
  3. Meetings related to an account and a contact
    By kiketom in forum General Discussion
    Replies: 1
    Last Post: 2008-01-07, 05:12 PM
  4. Replies: 13
    Last Post: 2007-10-04, 05:53 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
  •