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,265

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,265 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,928 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

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans