Results 1 to 3 of 3

Thread: Professional reports

  1. #1
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Professional reports

    How do you determine the duration of cases?

    regards

    Paul

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Professional reports

    Hi Paul

    The Cases module does not store that information, so you may create two custom fields date_finished and duration which can be filled in by a logic_hook before_save: When status is changed to 'closed' fill in date_finished and calculate duration using date_entered and date_finished.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Professional reports

    We use the cases_audit table to determine the time between open and close.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. i reports + zucker reports error
    By sidh211 in forum Developer Help
    Replies: 8
    Last Post: 2010-07-07, 09:27 AM
  2. professional reports
    By Meyer in forum Help
    Replies: 0
    Last Post: 2008-03-07, 05:22 AM
  3. Replies: 2
    Last Post: 2007-11-26, 10:52 AM
  4. Replies: 0
    Last Post: 2007-04-10, 06:18 PM
  5. Replies: 0
    Last Post: 2007-02-26, 03:07 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
  •