Results 1 to 3 of 3

Thread: Audit Edits.

  1. #1
    cbolourchi is offline Junior Member
    Join Date
    Dec 2008
    Posts
    4

    Cool Audit Edits.

    Hello,

    I've been feeling my way around SugarCRM the last couple days and I must say, I really like it. In particular, I've been fiddling with the role management functions as they relate to cases. Obviously, I've found out how to limit deletion, editing, viewing etc. and audit changes to case status. But is there a way to audit edits made to case description and resolution, even something that says "modified" on such and such date by so and so user?

    Any help is much appreciated.

  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: Audit Edits.

    HI cbolourchi

    You need to create an extended vardefs for Cases (custom/Extension/modules/Cases/Ext/Vardefs/vardefs.ext.php) and add the code:

    PHP Code:
    <?php
    $dictionary
    ['Case']['fields']['description']['audited'] = true;
    $dictionary['Case']['fields']['resolution']['audited'] = true;
    ?>
    Then you need to go to Admin -> Repair -> Rebuild Extension

    Cheers
    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
    cbolourchi is offline Junior Member
    Join Date
    Dec 2008
    Posts
    4

    Default Re: Audit Edits.

    andopes,

    Thank you so much for replying. I really have limited experience with linux and coding in general, although I'm getting better...So I would put this file in the cases directory under modules right? I have a similar directory under my htdocs, except it ends at "Cases". There is no Ext/Vardefs folder. Should I make one and create the file there and then rebuild from the admin menu?

    Again thank you for replying.


    ------------------------------------
    edit:

    This program is awesome. Instead of having to write the code to have an audit feature for a certain field, I just cloned the filed, checked auditng, and switched it in for the one I was replacing. Brillant. Thank you andopes for your help and thank you SugarCRM team for such a versatile program.
    Last edited by cbolourchi; 2008-12-04 at 04:39 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 2010-05-18, 12:30 AM
  2. Replies: 0
    Last Post: 2008-10-01, 02:30 AM
  3. Edits don't take effect
    By bkudria in forum Help
    Replies: 4
    Last Post: 2006-03-15, 12:44 AM
  4. Cannot save edits to leads 2.5.1
    By rodell in forum Help
    Replies: 3
    Last Post: 2005-03-02, 02:09 PM
  5. Edits to content goes to white screen?
    By enaille in forum Help
    Replies: 0
    Last Post: 2004-10-12, 08:45 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
  •