See Microsoft 365 Copilot in action across Outlook, Teams, Excel + more.

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

How to Connect Power Pages & D365 Customer Engagement for a Seamless Self-Service Experience

Marisa Mini

|

December 4, 2025
Power Pages for Customer Service, Field Service, and Sales PortalsCreating a seamless, modern customer experience starts with reducing the back-and-forth. If your customers (or vendors, partners, applicants, members, etc.) still…

How to Tell if Your Distribution Business Has Outgrown Its Systems

Jennifer Ryan

|

December 1, 2025
As a former Controller inside a fast-moving distribution business, I learned this lesson the hard way: You don’t realize your system is breaking until growth exposes every weakness.It doesn’t happen…

Why Microsoft Killed Social Posting (And Why SMBs Should Care)

Jackie Gant

|

November 25, 2025
When Microsoft quietly pulled the plug on social posting in Dynamics 365 Customer Insights late last year, few in the small to mid-sized business (SMB) space raised an eyebrow. After…

Design Smarter, Present Better: How Microsoft 365 Copilot in PowerPoint Transforms Productivity

Joel Trinidad

|

November 20, 2025
Part of our “Work Smarter with Copilot” series — exploring how Microsoft 365 Copilot transforms productivity across Outlook, Teams, PowerPoint, Excel, and more.The Presentation Problem We All Know Too Well The blinking cursor,…

How Microsoft 365 Copilot in Teams Helps You Work Smarter (and Recover Lost Time)

Joel Trinidad

|

November 18, 2025
Part of our “Work Smarter with Copilot” series — exploring how Microsoft 365 Copilot transforms productivity across Outlook, Teams, PowerPoint, Excel, and more.The Communication Overload Holding Teams Back We’ve all felt it—the…

Free vs Paid: How Microsoft 365 Copilot Unlocks Real Productivity ROI

TJ Sedarski

|

November 13, 2025
Part of our “Work Smarter with Copilot” series — exploring how Microsoft 365 Copilot transforms productivity across Outlook, Teams, PowerPoint, Excel, and more.Copilot Free Chat is a good place to start in…