Results 1 to 4 of 4

Thread: View Change Log Audit Next Step Field

  1. #1
    KrisM is offline Sugar Community Member
    Join Date
    Nov 2009
    Posts
    16

    Question View Change Log Audit Next Step Field

    Hi,

    I am trying to add to the View Change Log the Next Step field, under Opportunities / Fields / Next Step but I cant tick the box.

    I have followed this http://www.sugarcrm.com/forums/archi...p/t-44418.html the post by andopes and created a file and this is the contents

    <?php
    $dictionary['opportunities']['fields']['next_step']['audited'] = 1;
    ?>

    But it still doesnt work, can someone please tell me what I am doing wrong?

    Thanks

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: View Change Log Audit Next Step Field

    Step for step:

    Create a file custom/Extension/modules/Opportunities/Ext/Vardefs/audit_next_step.php

    The filename "audit_next_step.php" can be freely chosen .

    Write the following into this file:

    <?php
    $dictionary['Opportunity']['fields']['next_step']['audited'] = 1;
    ?>

    !! not 'opportunities' !!

    Save the file

    Call

    Open Admin - Repair - Quick Repair and Rebuild - Repair

    ready
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    KrisM is offline Sugar Community Member
    Join Date
    Nov 2009
    Posts
    16

    Default Re: View Change Log Audit Next Step Field

    Hi kuske,

    Thank you so much, that's the box ticked. I have saved your post as a PDF for future reference, and I will remember to be case specific.

    Thank you again

  4. #4
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: View Change Log Audit Next Step Field

    In case of doubt just look to the basic vardef.php files in /modules/<modname>/vardefs.php

    Ther you find the initial definition of the $dictionary array.
    It is always a good reference.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Adding fields to audit in view change log
    By vantagejuan in forum Developer Help
    Replies: 5
    Last Post: 2012-01-13, 06:12 PM
  2. Audit field
    By shyam007 in forum Developer Help
    Replies: 6
    Last Post: 2010-01-26, 12:39 PM
  3. View Change Log / Audit Tables
    By elvinjoe in forum Help
    Replies: 2
    Last Post: 2008-01-15, 12:32 AM
  4. Replies: 3
    Last Post: 2006-03-14, 10:16 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
  •