Skip to main content
Microsoft Dynamics GP forum
Unanswered

Accessing "BeforeModalDialog" event in the cash receipt window

editSubscribe (0) ShareShare
ReportReport
Posted on by 15

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

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,068 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,591 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans