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

by | Oct 16, 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.

0 Comments

Submit a Comment

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

Upcoming Events

february

26feb12:00 pm1:00 pmShorten your Quote-to-Cash Cycle with CPQ

27feb11:00 am12:00 pmConfab With Stoneridge - Livestream - Cool Features in Dynamics 365 Business Central

march

04mar12:00 pm12:30 pmPower BI & Reporting with Dynamics 365 Customer Engagement

04mar2:00 pm3:00 pmHow to Incorporate the Power Platform with Dynamics 365 Finance and Supply Chain Management

12mar11:00 am12:00 pmConfab With Stoneridge - Livestream - Power Apps AI Builder

18mar12:00 pm1:00 pmMoving from CRM On Prem to the Cloud – Is it worth It?

18mar2:00 pm3:00 pmThe Past, Present, and Future of Dynamics 365 with Machine Learning and Artificial Intelligence

25mar2:00 pm3:00 pmAchieve Total Data Access & Future-Proof Your Reporting

26mar11:00 am12:00 pmConfab With Stoneridge - Livestream - Portals

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