Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Post Action

Posted on by 31

how to add function after post action on sales transaction entry screen ?!

pastedimage1679390412554v2.jpeg

Categories:
  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,926 Most Valuable Professional on at
    RE: Post Action

    I would recommend capturing logs and using the actual posting procedure as your trigger point.

    Use GP Power Tools to make capturing logs much easier and even using GP Power Tools - Developer Tools module instead of Visual Studio Tools. Much easier to develop, no external tools, no restarting GP and copying DLLs etc.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Post Action

    You can capture the event with this. In my case I was capturing the Transfer option.

    SopXferDocumentForm.SopXferDocument.TransferButton.ClickAfterOriginal += new EventHandler(SalesXferDocActionButton_Change); /* Capture the Transfer event */

  • Mohammed Rafe Profile Picture
    Mohammed Rafe 31 on at
    RE: Post Action

    I'm working in VB.NET, not C#, and I need just the code to allow me to add a customized function after the post action.

  • Mohammed Rafe Profile Picture
    Mohammed Rafe 31 on at
    RE: Post Action

    I'm working in VB.NET, not C#, and I need just the code to allow me to add a customized function after the post action.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Post Action

    You will need to develop a customization for this. You can use Dexterity or Visual Studio C#. What does this function need to do?

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans