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

How to Use D365 Business Central Analysis Mode

Carlos Lozano

|

March 3, 2026
Transforming Data into Decisions for Modern Businesses Organizations using Microsoft Dynamics 365 Business Central generate significant volumes of financial and operational data. However, collecting data is only the first step. The…

BCS Partners with RUX Software to Deliver Equipment Rental and Field Service on Business Central

Jackie Gant

|

February 26, 2026
Bond Consulting Services (BCS) has partnered with RUX Software to deliver equipment rental and asset management capabilities for small and mid-sized businesses running on or moving to Microsoft Dynamics 365…

What AI Agents in Dynamics 365 Actually Do (A Plain-English Guide)

Jennifer Ryan

|

February 19, 2026
Upcoming Lunch & Learn — See AI in Manufacturing WorkflowsJoin us for a 30-minute Lunch & Learn on February 26th, where we’ll walk through practical manufacturing scenarios and explore how…

D365 Business Central: Realistic AI Agent Scenarios for Operations Teams

Zoltan Orban

|

February 18, 2026
Upcoming Lunch & Learn — See AI in Manufacturing WorkflowsJoin us for a 30-minute Lunch & Learn on February 26th, where we’ll walk through practical manufacturing scenarios and explore how…

AI in Business Central for Manufacturing: From Automation to Agentic Workflows

Seetharaman Andiappan Rajaram

|

February 17, 2026
Upcoming Lunch & Learn — See AI in Manufacturing Workflows Join us for a 30-minute Lunch & Learn on February 26th, where we’ll walk through practical manufacturing scenarios and explore how…

Dynamics GP to Business Central: Migration Overview & Considerations

Jennifer Ryan

|

February 12, 2026
Microsoft Dynamics GP support sunsets on December 31, 2029. After that date, product enhancements, tax and security updates, and mainstream support will be discontinued. As a result, many organizations running…