Results 1 to 6 of 6

Thread: Disable the Auditing Teams & Assigned User

  1. #1
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Disable the Auditing Teams & Assigned User

    Hi,

    I want to turn off the auditing of Team ID, Team Set Id & Assigned To User. These fields are not available in the Studio to just uncheck the audited checkbox where can these be turned off?

    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  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: Disable the Auditing Teams & Assigned User

    You need to create an extended vardefs.

    PHP Code:
    $dictionary['BeanName']['fields']['assigned_user_id']['audited'] = 0
    Remember to run Quick Repair and Rebuild

    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
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Re: Disable the Auditing Teams & Assigned User

    Hi,

    I tried that yesterday with the team_id but that didn't work, tried it again with the assigned_user_id and team_set_id and they both worked so the following line is not working


    $dictionary['BeanName']['fields']['team_id']['audited']=0;#


    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  4. #4
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Re: Disable the Auditing Teams & Assigned User

    I can in the cache vardefs for the module in question that the team_id field has audited=0 set but for whatever reason it is not picked up.

    Has anyone come across this before? I will check the bugs now
    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  5. #5
    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: Disable the Auditing Teams & Assigned User

    Let me know the extended vardefs you created.

    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.

  6. #6
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default Re: Disable the Auditing Teams & Assigned User

    Hi,

    Here are the three lines of code in /custom/Extensions/'MyModule'/Ext/Vardefs/vardef.ext.php

    PHP Code:
    <?php
    $dictionary
    ['FDC_Deposits']['fields']['assigned_user_id']['audited']=0;
    $dictionary['FDC_Deposits']['fields']['team_id']['audited']=0;
    $dictionary['FDC_Deposits']['fields']['team_set_id']['audited']=0;
    ?>
    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 2011-03-18, 04:56 AM
  2. Disable Assigned to based in Department
    By srd27 in forum General Discussion
    Replies: 2
    Last Post: 2009-10-27, 10:03 PM
  3. One Record assigned to Two Teams
    By jbalyo in forum General Discussion
    Replies: 4
    Last Post: 2008-12-31, 07:56 AM
  4. disable teams function in popup
    By sidh211 in forum Developer Help
    Replies: 0
    Last Post: 2008-08-02, 12:48 PM
  5. Replies: 2
    Last Post: 2008-02-11, 05:15 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
  •