web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
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,306

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:
I have the same question (0)
  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,069 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

  • sandipdjadhav Profile Picture
    18,306 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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,167

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 867 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 617 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans