This topic is locked
[SOLVED]

 how to show reference data in the "Description" field in the Audit log

8/28/2013 1:18:53 AM
PHPRunner General questions
K
kawasaks author

in the audit log description field, it shows the raw data which were add/edit/delete like below
audit log table screen shot

http://db.tt/7J7zZyGv
but the actual data was referencing a different table in below by using build-in lookup wizard in Visual Editor to show on the web.
reference table screen shot

http://db.tt/pZy2Psjl
is there a way to add what information was the data referencing in the description field of audit log?
sample change request from the attached screen shot:

<before>

t01_iCategory [old]: 4

<after>

t01_iCategory [old]: 4 (Internal)
thank you in advance.

Sergey Kornilov admin 8/28/2013

The only way to do that is to implement your own OnAuditLog event:

http://xlinesoft.com/phprunner/docs/before_audit_log.htm
This way you can pull data from reference table and write more detailed description into audit log.

K
kawasaks author 8/29/2013



The only way to do that is to implement your own OnAuditLog event:

http://xlinesoft.com/phprunner/docs/before_audit_log.htm
This way you can pull data from reference table and write more detailed description into audit log.


noted, thank you always : )