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

august

10aug(aug 10)8:00 am11(aug 11)11:00 amPower BI for Dynamics 365 - Online Workshop

11aug10:00 am10:30 amThe Modern Manufacturer - Enterprise Asset Management

11aug12:00 pm12:30 pmBusiness Intelligence with Dynamics 365 Finance and Supply Chain Management – Game Changing Insights and Analytics

11aug2:00 pm2:30 pmUsing Technology to Manage Complex Sales Pricing, Commission, and Rebate Programs

18aug10:00 am11:00 amTop Five Reasons Why NOW is the Right Time to Move from Salesforce to Dynamics 365 Customer Engagement

18aug10:00 am12:00 pmIntro to Power BI for Dynamics 365 Business Central – Online Workshop

18aug12:00 pm1:00 pmSolving the Biggest Challenges in Agribusiness Through Innovation and Technology

september

01sep10:00 am10:30 amEnsuring Quality and Compliance for Batch Manufacturers in Life Sciences

01sep12:00 pm12:30 pmIs it Worth It to Move to the Cloud? A Look at Considerations for Current Agribusinesses Using Dynamics GP

01sep2:00 pm2:45 pmWhat’s New in Dynamics 365 Finance and Supply Chain

08sep12:00 pm4:00 pmSecurity and Permissions Training for D365 Business Central or Dynamics NAV

22sep10:00 am10:30 amStreamlining Batch Manufacturing with Technology

27sep(sep 27)9:00 am15oct(oct 15)11:00 amDynamics 365 Finance & Supply Chain Development Training - Online Workshop

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