The Easy Way to Refresh Your Dynamics GP Test Company – Part Three

by | Updated October 17, 2019 | Dynamics GP

In our last sessions, we created the SQL backup job and then the Restore step.  In this session, we will add the test company fix-up script to our job.

1) Go to the server where SQL Server is installed, and your Dynamics GP databases are located.

2) Launch SQL Server Management Studio and log in as SA or a user with System admin rights.

3) Expand SQL Server Agent and then Jobs. Look for the job you used in our last session.  In this case, it is:  “Back Up Database – TWO and Restore To Test”.  Double click the job to open it.

4) Select Steps from the left pane shown below.

  • Then New at the bottom of the right pane
  • On the “New Job Step” window that opens select “General” on the left pane
  • Name the step under “Step Name” in the right window. In this case I called it “”Run Test Company Fix Script”
  • Change the Database to TEST in this case. You may have a different name for your test database for Dynamics GP
  • Paste this script below into the Command window:
    1. If you are having issues with this script, you can obtain it here.

5) Now from the left pane, select Advanced

  • From the right pane select “On success action” and pick “Quit the Job Reporting Success”

6) Now click OK and OK again to save the job.

In our next session, we will cover running and troubleshooting the job we just created. For any further questions, contact Stoneridge Software.

Related Posts

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

december

02dec11:00 am12:00 pmConfab LIVE with Stoneridge - Let’s Talk Dynamics – Open Q&A Session

09dec12:00 pm12:45 pmHow to Become a Dynamics 365 Consultant

15dec1:00 pm4:00 pmOnline Workshop - Dynamics GP Year-End Close

january

19jan10:00 am11:00 amTax Compliance and Coffee – a Virtual Discussion

26jan11:00 am12:00 pmProtecting Your Manufacturing Operation from Cyber Attacks - a Guide for 2022

26jan2:00 pm2:45 pmKeep Your Data Secure and Move to the Cloud with GP

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X