How to get delete data ID from childtable on_save

Hi everyone,
I am trying to delete data from the child table and I want the ID of the row that is deleted on the save.
This is so because I also want to update that ID in another child table.

You could try to get the locals[cdt][cdn].name in the before_{field_name}_remove event of the child table.

Thanks for the reply. But I want to get it on the ‘on_validate’ method.