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

02dec9:00 am12:00 pmOnline Workshop - Dynamics GP Year End Close (Morning Session)

03dec11:00 am12:00 pmConfab with Stoneridge - Livestream: Live Agents, Power Virtual Agents, Omnichannel – Oh My!

03dec1:00 pm4:00 pmOnline Workshop - Dynamics GP Year End Close (Afternoon Session)

09dec10:00 am10:30 amThe Modern Manufacturer - Manufacturing Policy Management

17dec11:00 am12:00 pmConfab with Stoneridge - Livestream - Technology in 2020: A Year in Review

january

06jan10:00 am10:30 amThe Modern Manufacturer - MRP v MPS – What, When and How

14jan11:00 am12:00 pmConfab with Stoneridge - Livestream - Looking Forward: Predictions for Technology in 2021

20jan10:00 am10:30 amThe Modern Manufacturer - Demand Forecasting Functionality

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