Results 1 to 2 of 2

Thread: Change the view for opportunities.

  1. #1
    clairmoore99 is offline Member
    Join Date
    Aug 2010
    Posts
    8

    Question Change the view for opportunities.

    I have been asked to set the view in the opportunities portion of the program so that only live opportunities show. At the moment every opportunity whether open or closed is shown and this makes finding what they want hard work. Is there anyway of setting this so only the open/live opportunities show??

    Your help would be much appreciated.

    Many thanks
    Clair.

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Change the view for opportunities.

    Without actually changing the code you could just set up a saved search that brings up the results you want.

    If that doesnt work for you then my 'code changing' suggestion would be to edit the opportunity.php file and edit the function "create_list_query"

    You could add code to the where clause to only get the statuses that you want.

    something like this around line 163
    PHP Code:
                $where_auto "
                ($this->rel_account_table.deleted is null OR $this->rel_account_table.deleted=0)
                AND (accounts.deleted is null OR accounts.deleted=0)  
                AND opportunities.deleted=0 AND opportunities.sales_stage in ('Prospecting','Qualification','Needs Analysis','Value Proposition','Id. Decision Makers','Perception Analysis','Proposal/Price Quote','Negotiation/Review')"

    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2009-09-21, 09:47 PM
  2. How to change View Change Log link in Cases Module
    By rraushan2007 in forum Developer Help
    Replies: 1
    Last Post: 2008-08-27, 12:06 PM
  3. Replies: 0
    Last Post: 2006-10-03, 02:55 PM
  4. Replies: 0
    Last Post: 2006-07-14, 07:56 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
  •