Results 1 to 5 of 5

Thread: How to add calculations to a module

  1. #1
    vanrechemh is offline Junior Member
    Join Date
    Aug 2006
    Posts
    2

    Post How to add calculations to a module

    All,

    I would like to change the cases module to add the folloiwng:

    - a link to the products table to have my products in a dropdown on the case as mandatory
    - a calculated field to show the time a case is open (datediff (Now(),sugarcrm.cases.date_entered) if case status <> 'Closed' and datediff (sugarcrm.cases.date_closed,sugarcrm.cases.date_en tered)

    Of course the field Date closed has to be created as well.

    I created already a custom product field and a custom open time field.

    Any idea how I continue?

    Oh yeah:
    OS: XP SP2
    Sugar suite: 4.2.1b
    Webserver: apache 2.2.3
    Php: 4.4.3
    MySQL: 5.0.1

    Thx

  2. #2
    ispytodd is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    12

    Default Date a case was closed. Calculate time open. possible?

    I was about to post for a very similar request.

    We are finding it increasingly difficult to gauge our own performance because we have no idea how long cases remain open. It would be very useful (and not terribly hard to implement Im guessing) to know when a case was closed. I believe that I could then calculate how long the case was open in JasperReports. maybe.

    Regards,
    Todd

  3. #3
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: How to add calculations to a module

    I think this is an excellent idea. I would suggest posting this in the Feature request section and the miscellaneous section for 4.5.1 to get more attention from the Sugar team
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  4. #4
    naveenshurpalekar is offline Senior Member
    Join Date
    Aug 2009
    Posts
    33

    Default Re: How to add calculations to a module

    Any leads on this particular issue with Sugar ? right now am working on this and finding it really difficult.

  5. #5
    ros.vol is offline Sugar Community Member
    Join Date
    Dec 2008
    Location
    Eastern Europe / Ukraine / Chernivtsi
    Posts
    114

    Smile Re: How to add calculations to a module

    Hello,

    i suggest that "Date Closed" is better to be auto filled on updating status with "Closed"...
    Rostyslav Volonchuk

    SugarCRM development and customizations

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
  •