I have custom doctypes in my custom app. When I delete all record’s from company delete transaction, I want to delete data from my custom doctypes too. How can I do it?
I found a doctype Transaction Deletion Record where found deleted doctypes list. Is there any way I can add my custom doctypes here?
If you want to ensure that your custom doctype data is deleted using a delete transaction, you must add a company link field to your custom doctype. This field must have a company value associated with it. That way, when you delete the transaction, your custom doctype transaction will also be deleted.