Page 1 of 1
Audit Trail
Posted: Wed Aug 10, 2016 3:50 am
by andrea
Good morning,
I ask you if it is possible to add a new column to standard audit trail table to log information on each line (better)
I also ask if could be possible to write different data in one of the standard column for example username customized.
Thank you
Re: Audit Trail
Posted: Fri Oct 28, 2016 6:05 am
by Lars
Good afternoon,
This script line makes an Audit trail post with your own choice of message, description, and username (can be different from the current user logged in).
Neo.ApplicationFramework.Common.RuntimeGlobalsBase.AuditTrailService.LogMessage("your message", "your description", "your user");
Re: Audit Trail
Posted: Fri Oct 28, 2016 7:47 am
by andrea
Good afternoon,
thank you for your reply and suggestion that we will try as soon as possible.
What we would like to do is to insert automatically a different user name to each record automatically inserted by system (for example Windows Domain user name instead of internal username of iX).
Do you understand?
With your instruction we should write thousands of lines of codes for each field and event.
Do you have some further suggestion?
Have a nice day
Thank you
Andrea