Announcements
Hello,
I'm trying to suppress the "Are you sure you want to delete" popup when deleting a cash receipt. I'm able to attach the the "BeforeModalDialog" and suppress it if the actual button is pressed in the Cash Receipt window. However, our application is calling the DeleteButton.RunValidate() method to delete the cash receipt based on certain criteria and it seems that the "BeforeModalDialog" event is not being triggered in this case. Does anyone have any ideas about this or alternative ways to suppress the popup when deleting the cash receipt through Dexterity?
Thank you very much,
Mike LeClair
*This post is locked for comments
André Arnaud de Cal...
294,000
Super User 2025 Season 1
Martin Dráb
232,850
Most Valuable Professional
nmaenpaa
101,158
Moderator