Microsoft Copilot $21 now $18/user/month + 1 month free

September 20, 2013

Restoring a Copy of Your Live Dynamics GP 2013 Database to a TEST Environment

When restoring a copy of your live Dynamics GP 2013 database to a TEST environment, you will need to update the SY00100 table to reflect the proper Company ID (CMPANYID) before you can successfully log in.

To find out the proper value to populate within the SY00100.CMPANYID field, run the following script:

SELECT * FROM DYNAMICS.dbo.SY01500

Locate the CMPANYID that corresponds to the TEST company database and make a note of the CMPANYID found within the SY01500 table. Run the following script against the TEST company database (replace TEST with your SQL database name):

SELECT * FROM TEST.dbo.SY00100

Run an update script in order to correct the CMPANYID within the SY00100 table. The following is a sample of a script that could be modified to update your TEST database Company ID (please check with your database administrator or Dynamics GP Partner if you are unsure on how to populate the values below).

UPDATE TEST.dbo.SY00100 SET CMPANYID = ‘XX’ WHERE DEX_ROW_ID = ‘XX’

Immediately after the update is run against the TEST company database you should be able to log in.

George Rios is a Microsoft Dynamics® GP Certified Professional and senior consultant at Bond Consulting Services. He has over 13 years of work experience with accounting and accounting systems.

Share On: 

Other articles

Why Waiting for Perfect Data Means Never Starting with AI

Zoltan Orban

|

February 10, 2026
This post is part of our Microsoft Copilot, Explained series, which starts with everyday productivity tools like email and meetings before expanding into broader workflows and AI agents."Our data isn't…

Just Get Started: How Teams Are Actually Beginning with Microsoft Copilot

Clayton Jones

|

February 5, 2026
Getting started with Microsoft Copilot doesn't require perfect data, months of planning, or enterprise-scale resources. Small and medium-sized businesses running Microsoft 365 and Dynamics 365 Business Central are finding that…

Why Copilot in Outlook Beats Standalone AI Email Tools

Joel Trinidad

|

February 4, 2026
This post is part of our Microsoft Copilot, Explained series, which starts with everyday productivity tools like email and meetings before expanding into broader workflows and AI agents.Tools like ChatGPT…

Microsoft Copilot vs Copilot Chat vs Full Copilot

Joel Trinidad

|

February 3, 2026
This post is part of a series, Microsoft Copilot, Explained, which begins with productivity tools and building toward business workflows and AI agents. If you’ve been hearing more about Microsoft Copilot…

Microsoft Copilot for Operations vs Executives: Same Tool, Different Value

Zoltan Orban

|

January 29, 2026
Most conversations about AI in business stay at a high level: “It will transform how we work.”That might be true, but as someone who spends most days in the details—fixing…

Dynamics 365 Real-Time Journeys Explained: The “For Dummies” Version

Jackie Gant

|

January 26, 2026
Remember those bright yellow For Dummies books from the 2000s? This post is a throwback in that spirit: plain language, no fluff. If you’ve been hearing about Microsoft’s “Real-Time Journeys”…