Something like act_as_taggable or act_as_versioned but for SAP style effective dating?
Sorry for the lack of details. Here is some more:
The plugin would add a start_date and end_date to a model.
- Basic operation should always be on entity valid for today or a parameter date
- Update should make a copy of the effective entity with a start date of now and update the existing entity to set the end date now
- Delete should just set the end date to now on the existing entity
- Probably many more, but those cover the basic idea.
This is the way SAP handles versioning of entities. Does anyone knows of a plugin that does something similar?