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