Or, you might register to receiver the objects changed in store
notification posted by the Editing Context. This has all the objects
that were changed, deleted or inserted by the ECs save changes op.  You
notification merely needs to loop over these lists, check their Entity
name and create 'Audit' records. It might be a good idea to use raw SQL
to send down the Audits or you might audit your audits...

d

"Robert J. Stuart" wrote:
> 
> Hi,
> 
> I'm using WO 4 on NT4
> 
> I would like to create an audit trail when a user makes changes to certain
> entities. I think I should be using a nested Editing Context so that the
> user has passed all the validations for saving before I fire off an entry
> to the Audit. I am unsure what delegate I need to use. I want to be able to
> show what fields changed not just that the entire record is different. Also
> I want to store Who the user is this is a ivar in my session but I'm don't
> understand how my delegate would get to the session objects. Thanks for
> your help.
> 
> Bob Stuart
> Lockheed Martin.

Reply via email to