The OnSaving and OnDeleting method of the persistent objects can be overridden to log create/update/delete actions into a separate table. This example demonstrates the basic implementation of this feature.
Note: eXpressApp Framework have built-in module for Audit purposes. This example demonstrates how to use this module in non XAF application: How to use XAF Audit Trail module outside XAF.
Question Comments
Added By: Mohammed Al-Atari at: 10/8/2014 4:29:24 PM
what about view record?
do you have code to get the below events
View
Login
Invalid Login
View List
Hello,
To process your recent post more efficiently, I created a separate ticket on your behalf: T159303: Audit application events. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.