Runtime strange behaviour

Hi,

I have an Entity (Quote) nested in another entity (Transaction) - Many-To-One. I’ve set some breakpoints (after update Listener).
When I create a new Quote record nothing happens. Only when I edit an already created Quote record, the Debug (and my logic) works.
This is because when I save a new Quote nothing is wrote in database. Only when I save the transaction the Quote (which is nested in transaction) is saved as well.
What is the right approach in order to get some attribute from Quote to transaction at the save time?

Another problem is that when I remove records in Cub, they disappear in Cuba interface but are persistent in PostgreSql data base (soft deletion vs permanent deletion).

Why?