new fields on audit table

Hi everyone,

I'm new with the SugarCRM and I have some difficulties...

On the table "accounts_audit" I added two new columns that need to be filled with the value of a custom field. My intention is not to put this value on the field "Field_name", but to put this value on the new columns every time that an alteration was made. For example:

hh.png

So, I just need to know what part of the code is made the commit of audit informations, so I can put the information.

Sorry for the broke English

Parents
  • Hello,

    If I have understood your question, you want to audit extra fields. Admin > Studio > Module name > Fields > Select the field > Mark "Audit" as true > Save

    Hope this helps.

    (P.S. accounts_audit table doesn't need extra fields to hold the altered values. If you find the solution with what I have said earlier, please drop those extra fields from accounts_audit table)

Reply
  • Hello,

    If I have understood your question, you want to audit extra fields. Admin > Studio > Module name > Fields > Select the field > Mark "Audit" as true > Save

    Hope this helps.

    (P.S. accounts_audit table doesn't need extra fields to hold the altered values. If you find the solution with what I have said earlier, please drop those extra fields from accounts_audit table)

Children