pw262
The application and its use of data must take this into account. I don't believe there is some magic bullet here. However, audit tables are invaluable for tracking changes and culprits.
Eventually, the store and all its data can be deleted using cascade delete to maintain referential integrity.
In the summer they are removing heat from a hot house, great - free air conditioning.
In the winter they are removing heat from a warm house, which then needs to be replaced by some other heating source to keep the house warm, great - you get to pay twice.
I tried turning the heat pump element on my heater off during the winter. However, it is programmed to automatically turn on again after 5 days.
The real problem is that data entry and validation should be a solved problem. Sadly this is not the case. Try using .Net WPF or React and your only recourse is to Stack Overflow. These frameworks are over complicated and are full of weird edge cases that make everyday programming tedious and error prone.
Lets get our house in order before we break out the temporal logic.