I have a bizobj for an addresses table.  The addresses are tied to 
customers, orders, and some other places in the system.  The business 
requirement is that we persist old address data for customers so that 
the addresses tied to orders don't change.  When a user edits an 
address, if there are any changes, I need to be able to make a copy of 
the data as a new record with the is_active field set to true and then 
revert the old record and set it's is_active field to false. I would 
like to define this at the bizobj level and I think it should go after 
validation but before the save completes.

Does this sound reasonable and if so, would any of y'all have a code 
snippet for something like this?

Regards,

Nate
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to