Page 1 of 5 12345 LastLast
Results 1 to 10 of 44

Thread: PATCH: Scale pipeline by probability

  1. #1
    insightfulsolutions is offline Sugar Community Member
    Join Date
    Mar 2005
    Posts
    31

    Default PATCH: Scale pipeline by probability

    This patch adds the ability to scale the sales pipeline (front page & dashboard) by probability i.e a $100k opportunity with 50% probability will show up as $50k in the pipeline.

    Usage:

    After installing the patch, click the edit link on the sales pipeline report. An additional option 'scale by probability' will appear. Ticking the option will multiply all amounts by their associated % (except Closed-Won - this always shows the full value ).

    Installation:

    Apply the patch to the root directory of your Sugar installation

    patch < ScalePipeline.diff

    Enjoy!

    Rick
    Attached Files Attached Files

  2. #2
    bogey63 is offline Sugar Community Member
    Join Date
    Jan 2005
    Posts
    113

    Default Re: PATCH: Scale pipeline by probability

    Cool, this is, what i was waiting for a long time :-)

    Thank you very much!

    Juergen
    Serving the german community:
    Die deutsche Community findet sich unter:

    http://www.sugaraddicts.de

    German Forums:
    Deutsches Forum:

    http://forums.sugaraddicts.org/forumdisplay.php?f=20

  3. #3
    tcfcrm05 is offline Sugar Community Member
    Join Date
    Mar 2005
    Posts
    19

    Default Re: PATCH: Scale pipeline by probability

    Thanks for the patch. Seems to be the very rigth thing I was looking for.
    Can you tell me how I can apply it using Ms-Windows systems, as the GNU Diffutils seem essentially to be written for Unix-like systems ?

  4. #4
    tcfcrm05 is offline Sugar Community Member
    Join Date
    Mar 2005
    Posts
    19

    Unhappy Re: PATCH: Scale pipeline by probability - Script parts probably missing

    Hi, insightfulsolutions,

    Great job probably, BUT I'm not sure the attached file "ScalePipeline.251.diff.txt" is complete.
    Particularly, if the enclosed elements modify the interface, allowing the user to choose the use of probability, the calculaltions are not made (amounts stay the same, whatever the use of probability is).
    Sql calculations seem to be enclosed in "module/Opportunities/Charts.php". I suppose your complete patch should include modifications of this script too.
    In the patch I've downloaded, they are not present.
    Another reason why I suppose your patch is incomplete is that the "patch" routine (found on GnuWin32 site) terminates wtih an error.

    Please check the patch file attached to your post and let me know...
    You'll find attached the one I could download.

    Regards,

    Jean CORDIER
    Attached Files Attached Files
    Last edited by tcfcrm05; 2005-03-22 at 12:55 PM.

  5. #5
    insightfulsolutions is offline Sugar Community Member
    Join Date
    Mar 2005
    Posts
    31

    Default Re: PATCH: Scale pipeline by probability

    Doh!

    You are correct Jean - the patch is missing a file. I've attached the corrected version & also attached the full files.

    Regards,

    Rick
    Attached Files Attached Files

  6. #6
    tcfcrm05 is offline Sugar Community Member
    Join Date
    Mar 2005
    Posts
    19

    Red face Re: PATCH: Scale pipeline by probability

    Hi, Rick,

    Here we are !!
    Maby thanks for the patch and the complete files.
    It WORKS fine, BUT (sic..) only for Pipeline graphs (Dashboard and My Pipeline). The other dashboard graphs aren't updated and stay with the full values, not the scaled ones.
    If this is right, do you intend to complete the work soon or shoud we address it as a feature extension request to Sugar Team ?

    Regards,
    Jean

  7. #7
    JStinson is offline Sugar Community Member
    Join Date
    Jan 2005
    Posts
    36

    Default Re: PATCH: Scale pipeline by probability

    First, THANKS! Our sales team has been begging for this functionality. I included your patch and got the following error:

    fopen(e89223fc-df39-0431-8846-41db17a8ae02_64c86d0b0_Retro_50090442_my_pipeline_ en_us_-8682009502005-03-242100-01-01_.xml): failed to open stream: Permission denied in /var/www/sugarcrm/modules/Opportunities/Charts.php on line 666.

    This error replaced the cart on the homepage and the first chart on the dashboard. Any ideas? I look forward to hearing from you. Thanks again.
    ________
    headshops
    Last edited by JStinson; 2011-01-24 at 11:52 PM.

  8. #8
    insightfulsolutions is offline Sugar Community Member
    Join Date
    Mar 2005
    Posts
    31

    Default Re: PATCH: Scale pipeline by probability

    I don't think I'm responsible for that error, although I did change the name of the cache file by adding an underscore. Can you check the permissions on the <sugar>/cache/xml directory? See http://www.sugarcrm.com/forums/showt...=5798#post5798

    Rick

  9. #9
    insightfulsolutions is offline Sugar Community Member
    Join Date
    Mar 2005
    Posts
    31

    Default Re: PATCH: Scale pipeline by probability

    My thinking at the time was that the other charts would not be particularly meaningful if you scaled them. I'm not sure where that line of thinking came from though - it doesn't seem to make much sense now . I'll plug the code in to the others if I get a chance next week.

    Cheers,

    Rick

    Quote Originally Posted by tcfcrm05
    Hi, Rick,

    Here we are !!
    Maby thanks for the patch and the complete files.
    It WORKS fine, BUT (sic..) only for Pipeline graphs (Dashboard and My Pipeline). The other dashboard graphs aren't updated and stay with the full values, not the scaled ones.
    If this is right, do you intend to complete the work soon or shoud we address it as a feature extension request to Sugar Team ?

    Regards,
    Jean

  10. #10
    insightfulsolutions is offline Sugar Community Member
    Join Date
    Mar 2005
    Posts
    31

    Default Re: PATCH: Scale pipeline by probability

    Patch updated for 3.0.1b (Open Source & Pro ).

    This functionality applies to all charts.

    Usage:

    After installing the patch, click the edit link on any chart. An additional option 'scale by probability' will appear. Ticking the option will multiply all amounts by their associated % (except Closed-Won - this always shows the full value ).

    Installation:

    Apply the patch to the root directory of your Sugar installation

    patch -p1 < ScalePipeline.diff
    Attached Files Attached Files
    Rick Bushell
    Insightful Solutions Pty Ltd
    SugarCRM implementation, hosting & development
    http://www.insightful.com.au

Page 1 of 5 12345 LastLast

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
  •