Group: StrataFrame Users
Posts: 277,
Visits: 1.1K
|
Hi Trent,
Sorry, I only just noticed your reply.
The auditing tables do exist and I am able to programmatically add records to the event table by code such as:-
MicroFour.StrataFrame.Security.Auditor.InsertAuditEvent("xxxx", "Audit event message...", SerializedBO)
However, what doesn't happen is if I call the following code from the BeforeSave or AfterSave BO events nothing happens:-
Auditor.InsertAuditRecords(this);
I have enabled auditing on both the BO and the user but the following code returns false which appears to indicate auditing is disabled:-
Auditor.ShouldAuditDataChanges(this);
Should I be using "Auditor.InsertAuditRecords(this);" in the BeforeSave or AfterSave events and is my problem that "Auditor.ShouldAuditDataChanges(this);" returns false?
Thanks,
Aaron
|