what the event for form delete have to use when delete document in java script
Can you expound your use case so that the community can get a clearer picture to your problem?
i need that the user when delete the payemnt entry execute some functions
You can check this code.
Basically, you have to create an
on_trash hook on
Payment Entry. Every time, you delete a doctype, it will run the
on_trash functions set on
many thanks iRaySpace i will tray to use this hook instade of client script