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.

Other articles

What Copilot “Cowork” Means for Business Users

Zoltan Orban

|

March 26, 2026
Microsoft recently introduced Copilot Cowork, and I wanted to take a closer look at what it represents in practical terms, especially for business users working across Microsoft 365 and related…

Why CRM Data Quality Matters More Than Data Volume

Marisa Mini

|

March 24, 2026
A database of 100,000 messy, outdated records is far less valuable than 5,000 that are clean and accurate. Companies often obsess over data volume. But when more data is prioritized over…

From Reactive to Predictive: AI in Business Central Distribution

Zoltan Orban

|

March 19, 2026
Most distribution teams don’t lack reporting. If anything, they often have too much of it. Dashboards, planning worksheets, inventory reports, and KPIs are readily available inside Dynamics 365 Business Central. Yet…

AI Agents in Business Central: How the Payables Agent Works

Jennifer Ryan

|

March 17, 2026
If you're curious how AI agents in Microsoft Dynamics 365 Business Central actually work, we're hosting a live walkthrough of the Payables Agent on March 26. See live how the agent…

Migrating 1.3 Million CRM Records in Dynamics 365: Why We Used a Custom Console App

Marisa Mini

|

March 5, 2026
A government client needed to restructure 1.3 million contact records in Microsoft Dynamics 365 CRM. At that scale, traditional UI tools and flows can throttle, fail silently, or leave a…

AI Agents in Manufacturing ERP: D365 Business Central Guide

Seetharaman Andiappan Rajaram

|

March 4, 2026
AI agents are now live inside Microsoft Dynamics 365 Business Central. For manufacturers evaluating AI in ERP systems, the practical question isn’t what an agent is it’s how AI agents…