i have a doctype and it has two child table
the first child tables name field is present in second child table
if i delete a row in the first child table the associated second child table row should get deleted
before save only after saving the doctype only
after saving only it should affect the data in db
because if the user wrongly deleted a row it should not get deleted from db table