Try ERPNext Buy Support Partners Foundation

Events on Dialog box

Hi all,
I am working on customer list dialog. When I click on “New” button, then the dialog box is open for new customer entry.
Is there any events/callback functions that get trigger after clicking save button on dialog?

“on_insert” hook can be helpful or maybe the “validate” hook, always of the Customer doctype, of course. You can find more information here under the “CRUD Events” subtitle.

Thanks, I will try this