Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Unanswered

Accessing "BeforeModalDialog" event in the cash receipt window

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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans