GP Macro auto exit when report completes.

  • GP Macro auto exit when report completes.

    Posted by Jeff Roe on September 23, 2020 at 5:37 pm
    • Jeff Roe

      Member

      September 23, 2020 at 5:37 PM

      I have been using GP Macros for years and it has been great to automate many repetitive processes.

      I typically set up macros to be called from a command file and the macro will auto-login to GP, run the intended procedure (ie Aging) and when finished auto close GP and then run the next task.

      The problem I have now is how to do that same process with a GP report.

      I can get the process to auto-login to GP, select the report, update any report settings, and print report to file. The problem lies in that from that point I can’t seem to get it to then auto close GP, it is just left hanging in the report config form.

      Any ideas on auto-closing GP after running a report?

      ——————————
      Jeff Roe
      Kele Inc
      Bartlett TN
      ——————————

    • David Musgrave

      Member

      September 24, 2020 at 3:45 AM

      Hi Jeff

      You have GP Power Tools, so why not use the Exit after Processes menu option as the last selection in your macro.

      That will exit after background processes are completed.

      Regards

      David

      ——————————
      David Musgrave MVP, GPUG All-Star

      Managing Director
      Winthrop Development Consultants

      Perth, Western Australia

      http://www.winthropdc.com
      ——————————
      ——————————————-

    • Jeff Roe

      Member

      September 24, 2020 at 10:42 AM

      That’s a good question. let me try that

      Thanks

      ——————————
      Jeff Roe
      Kele Inc
      Bartlett TN
      ——————————
      ——————————————-

    • Beat Bucher

      Member

      September 25, 2020 at 2:29 PM

      Jeff,
      I ran into a similar problem years ago when I was having an automated job scheduled once a week to run Inventory reconcile..Ā 
      I had GPPT at the time as well and despite the order to close & exit GP at the end of the macro process, it would never do it.. Somehow there was a pop-up coming on screen to confirm the completion of the reconcile that would prevent GP to exit.Ā 
      Maybe a newer build of GP can take care of that nasty pop-up if that’s what holding you up too..

      ——————————
      Beat Bucher
      Business Analyst, Dynamics GP SME
      Montreal QC/Canada
      @GP_Beat http://www.gp-geek.com
      Montreal QC GPUG Chapter Leader
      MBS MVP (2015-2018)
      All-Star 2013
      ——————————
      ——————————————-

    • Jeff Roe

      Member

      September 30, 2020 at 5:12 PM

      I was able to use the Exit after Process with the GPPT and it resolved my issue.

      ——————————
      Jeff Roe
      Kele Inc
      Bartlett TN
      ——————————
      ——————————————-

    • David Musgrave

      Member

      September 30, 2020 at 8:08 PM

      GP Power Tools to the rescue again ??

      ——————————
      David Musgrave MVP, GPUG All-Star

      Managing Director
      Winthrop Development Consultants

      Perth, Western Australia

      http://www.winthropdc.com
      ——————————
      ——————————————-

    Jeff Roe replied 5 years, 5 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘GP Macro auto exit when report completes.’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!