Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

In Dexterity how to access the Delete or Cancel button of dialogbox which ask confirmation from user in SOP_Entry window document deletion operation. Can anyone help? Pls see the screenshot:

Posted on by Microsoft Employee

I want to check whether the user clicked on the Delete option or Cancel option. If clicked on Delete option then i want to do another save operation into database. Can anyone help pls?

             PrtScr-capture.jpg

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: In Dexterity how to access the Delete or Cancel button of dialogbox which ask confirmation from user in SOP_Entry window document deletion operation. Can anyone help? Pls see the screenshot:

    Mariano,

    Thanks for the help,

    With the information provided I resolved the case

    Regards.

  • Suggested answer
    Mariano Gomez Profile Picture
    Mariano Gomez 26,225 on at
    RE: In Dexterity how to access the Delete or Cancel button of dialogbox which ask confirmation from user in SOP_Entry window document deletion operation. Can anyone help? Pls see the screenshot:

    Jose,

    In VST, you can register an event handler (BeforeModalDialog or AfterModalDialog) against the modal dialog and form displaying it. The event handler method will then evaluate the message contained as part of the event arg. Take a look at dyndeveloper.com/.../VST_Programmers_Guide_GP10.pdf chapter 16, page 89 for more info.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: In Dexterity how to access the Delete or Cancel button of dialogbox which ask confirmation from user in SOP_Entry window document deletion operation. Can anyone help? Pls see the screenshot:


    Hello Ismail

    Parakkal Ibrahim You comment that you have an idea of ​​how to do VST, can you share how?

    Thanks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: In Dexterity how to access the Delete or Cancel button of dialogbox which ask confirmation from user in SOP_Entry window document deletion operation. Can anyone help? Pls see the screenshot:

    Hi Almas,

    Thanks for your reply.

    I got solved my problem with David Musgrave's suggested solution.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: In Dexterity how to access the Delete or Cancel button of dialogbox which ask confirmation from user in SOP_Entry window document deletion operation. Can anyone help? Pls see the screenshot:

    Dear David Musgrave,

    Thank you very much for your reply.

    Your solution worked for me.

    Thanks again,

    Ismail Parakkal

  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,928 Most Valuable Professional on at
    RE: In Dexterity how to access the Delete or Cancel button of dialogbox which ask confirmation from user in SOP_Entry window document deletion operation. Can anyone help? Pls see the screenshot:

    Hi

    You must use a database trigger on the SOP_HDR_WORK table watching for the delete event.

    Look at the passed table buffer to the key fields.

    David

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: In Dexterity how to access the Delete or Cancel button of dialogbox which ask confirmation from user in SOP_Entry window document deletion operation. Can anyone help? Pls see the screenshot:

    Hi Almas Mahfooz,

    Yes I am trying for customization itself, but through Dexterity. I know the possibility through VST, but need to know how to do it in Dexterity?

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: In Dexterity how to access the Delete or Cancel button of dialogbox which ask confirmation from user in SOP_Entry window document deletion operation. Can anyone help? Pls see the screenshot:

    You can not do this without customization.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans