Results 1 to 2 of 2

Thread: Home Page: Top Open Opportunities

  1. #1
    RickM is offline Sugar Community Member
    Join Date
    Apr 2005
    Location
    Boca Raton, FL
    Posts
    220

    Question Home Page: Top Open Opportunities

    Just a quick question.. how does Sugar determine whether an opportunity is open or closed?

    I ask because we've segregated Closed Won into a couple of different statuses to facilitate workflow... ie has the contract arrived? check arrived? work started? work finished? etc.

    We then got rid of "Closed Lost" and created a couple of different "Lost" entries such as Lost - Declined, Lost - Competitor, Lost - No Response, etc.

    The problem we're having is that Opportunities with a sales stage of Lost - xxxx are still showing in the list of Top Open Opportunities on the home page.

    Any thoughts?

    Thanks
    Rick

    BTW - this is Pro 4.2.1b

  2. #2
    niels is offline Sugar Community Member
    Join Date
    Jan 2006
    Location
    The Netherlands
    Posts
    10

    Default Re: Home Page: Top Open Opportunities

    We had a similar issue, we split 'Closed Won' into two stages (Closed Won & Closed Invoiced). I changed /modules/Opportunities/ListViewTop.php to fix this. (Using the OS version)

    Before:
    PHP Code:
    //build top 5 opportunity list
    $where "opportunities.sales_stage <> 'Closed Won' AND opportunities.sales_stage <> 'Closed Lost' AND opportunities.assigned_user_id='".$current_user->id."'"
    After:
    PHP Code:
    //build top 5 opportunity list
    $where "opportunities.sales_stage <> 'Closed Won' AND opportunities.sales_stage <> 'Closed Lost' AND opportunities.sales_stage <> 'Closed Invoiced' AND opportunities.assigned_user_id='".$current_user->id."'"

Thread Information

Users Browsing this Thread

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

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
  •