Audit Trail

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
andrea
Posts: 72
Joined: Tue Dec 11, 2012 5:44 am

Audit Trail

Post 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

Lars
Posts: 5
Joined: Wed Mar 09, 2016 3:53 am

Re: Audit Trail

Post 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");

andrea
Posts: 72
Joined: Tue Dec 11, 2012 5:44 am

Re: Audit Trail

Post 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

Post Reply