We’ve been wondering what’s the best way to do handle objects that we ‘soft delete’, as in we don’t remove from the database, but we retain them in the system for an amount of time.
One idea was to extend the BeanMetadata to a soft deletion version of it (i.e., TypeA → TypeA_SoftDeleted) and when something is deleted, convert it to the Soft Delete version of the BM and then account for that type any time we query for current + soft deleted data objects.
Another would be to have a field on the Data Object to track whether if it’s active or not, but that does require anyone making DOQ’s to take that field in consideration.
Thoughts on this?