There are triggers in both tables to store the audit log, these triggers insert data in theses audit tables using INSERT INTO and using sequences.
But when inserting