Results 1 to 3 of 3

Thread: View Change Log / Audit Tables

  1. #1
    elvinjoe is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    36

    Default How to clear data in audit tables.

    Hi guys!!!

    I have installed SugarCRM 5.0 Enterprise Edition. . the system is really good!!!

    I have a simple problem though. . . can anyone help me in how to clear the data in an audit table/View Change Log ?

    Thanks a bunch!!!!

    -elvin
    Last edited by elvinjoe; 2008-01-14 at 05:29 AM.

  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 Tables

    The audit data is stored in tables named <object>_audit, eg. accounts_audit for accounts.
    You can only delete them in mySQL Query Browser with normal SQL statements.
    For accounts eg. you enter just

    delete from accounts_cstm;

    If you want to delete alle entries older than a special date (e.g. 1st Sep. 2007) you can enter

    delete from accounts_audit where date_created < '2007-09-01';

    There is no webinterface in SugarCRM to clear audit logs (yet).

  3. #3
    elvinjoe is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    36

    Default Re: View Change Log / Audit Tables

    That explains a lot. . . thanks bro!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. View Change Log
    By markoa in forum Developer Help
    Replies: 0
    Last Post: 2007-10-13, 08:55 AM
  2. change view log ...dummy question with no homework
    By sugarcare in forum Developer Help
    Replies: 0
    Last Post: 2006-10-02, 01:35 AM
  3. Can't find 'View Change Log' button
    By leigh in forum Help
    Replies: 6
    Last Post: 2006-05-30, 02:53 PM
  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
  •