Results 1 to 3 of 3

Thread: how to audit if someone changes or deletes one of the contact under account?

  1. #1
    valorz is offline Junior Member
    Join Date
    Jul 2010
    Posts
    4

    Default how to audit if someone changes or deletes one of the contact under account?

    how to audit if someone changes or deletes one of the contact under account?

  2. #2
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: how to audit if someone changes or deletes one of the contact under account?

    Hi,

    You might not need to enter the same in audit table as you will have many contacts in account.

    So, you can check another way like, in accounts_contacts, check the contacts related to account_id and if it is deleted check the date_modified.
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

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

    Default Re: how to audit if someone changes or deletes one of the contact under account?

    Just write some logic hooks for contacts on events before_delete and before_save.

    Fill the records to the audit table by yourself, as you need it.
    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. Replies: 11
    Last Post: 2011-06-30, 10:44 AM
  2. audit account name in contact module
    By kajanni in forum Help
    Replies: 4
    Last Post: 2009-01-21, 12:00 PM
  3. Replies: 0
    Last Post: 2008-03-17, 09:08 PM
  4. Replies: 4
    Last Post: 2006-05-25, 05:38 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
  •