Can someone explain me if " frappe.model.delete_doc.delete_from_table (doctype, name, ignore_doctypes, doc)" can be use to remove a row in table. If no please suggest me a possible way to implement the removal of the row in a table.
Is it possible to remove the row directly using sql? If yes please suggest me a sample code for doing so in python.
Hi Tarun,
Can you please provide little more info on what are you trying to do. You want to delete DocType or field in DocType?
-Kanchan
I have solved the problem by connecting directly to sql database from python.
Thank you.
Hi @ZodEnIX , i am also trying the same thing to delete a particular row of the child table on before_submit event. How can we do that?
Regards
Nivedha