Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Dynamics GP VST- How to find the report is printing using Visual Studio Tool

(0) ShareShare
ReportReport
Posted on by 18,267

Hello Team,

I have exposed the POST button on Sales Transaction Entry and have some custom code after on 'ClickAfterOriginal' event.  Is there any way I can check my report printing is completed or not.  I need to invoke my code after all reports are printed.

Your help on this is highly appreciable.

Thanks much
Sandip 

Categories:
  • sandipdjadhav Profile Picture
    sandipdjadhav 18,267 on at
    RE: Dynamics GP VST- How to find the report is printing using Visual Studio Tool

    Hello David,

    Much appreciated for your reply and guidance on this issue.

    Thanks much

    Sandip

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,959 Most Valuable Professional on at
    RE: Dynamics GP VST- How to find the report is printing using Visual Studio Tool

    Hi Sandip

    The best method is to cue up a background process behind the reports, but that is using Dexterity not VSTools.

    You could log scripts and see if there is a procedure call that finishes after the reports.

    Is the report modified?

    If so, you can add a calculated field to the report footer with a call to the rw_ReportEnd() custom RW function.

    Parameters:

    in integer dict_id;

    in string report_name;

    I would suggest using a high negative dictionary ID (-32700 or similar) so it would not clash with any actual dexterity products.

    This would at least tell you a report is finishing, but the report would not actually be finished.

    Best solution use Dexterity or GP Power Tools.

    Regards

    David

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,569 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans