I think that could be very useful having some kind of object that could allow us to retrieve the original record in the table events.
I mean that when a table event, for example onRecordUpdate, be triggered we could have an object with the original data.
Why? I´m trying to get this:
Suppouse a table like the order_lines. Once a record is updated we have to change some data in other tables (stocks, etc) so we could say in the onRecordUpdate event stock=(stock+oldData.quantity)-newData.quantity.
Maybe you have some other way to get this.
Thanks in advance.