Results 1 to 2 of 2

Thread: audit field in relationship table

  1. #1
    Ramblin is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    98

    Default audit field in relationship table

    Is it possible to audit a field in a relationship table?

    If so, how?

    I have a custom module, Events which has a many-to-many relationship with Contacts. Like the opportunities_contacts relationship table "contact_role" field, I have an event-role field in the events_contacts relationship table.

    I'd like to audit the event_role field.

    I entered, into the events_contacts metadata vardef file, after "table" => ... and before "fields' => ... the declaration 'audited' => 'true', and I added to the event_role field definition in that same file the 'audited' => 'true', declaration.

    I do NOT get an added events_contacts_audit table added to the MySQL database so I do not have the ability to audit the field.

    I want to audit it so I can do SQL queries against it.

    I am on SugarCRM CE v 6.2.4

    Any ideas?

  2. #2
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: audit field in relationship table

    A possible alternative answered here: http://www.sugarcrm.com/forums/f6/au...p-table-77105/
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 2011-02-15, 05:46 PM
  2. relationship table vs relate to field
    By guigui in forum Developer Help
    Replies: 1
    Last Post: 2011-02-15, 12:52 PM
  3. Replies: 2
    Last Post: 2010-05-18, 02:05 PM
  4. Display custom field in relationship table
    By sugaradmin in forum Developer Help
    Replies: 4
    Last Post: 2008-07-29, 01:30 PM
  5. Replies: 1
    Last Post: 2008-02-14, 01:29 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
  •