New Year, Smarter Work: Get 1 Month Free Copilot | Now $21/User.

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 Distribution Hand-Offs Break (and How Connected Operations Fix Them)

Jennifer Ryan

|

December 18, 2025
Inside distribution companies, most problems don’t come from bad people or broken intentions. They come from gaps in the hand-offs between teams.As a Controller, I used to think our issues…

Unlocking Insights: Power BI Integration with Dynamics 365 Business Central

Joel Trinidad

|

December 16, 2025
As businesses increasingly rely on data to drive decisions, Microsoft continues to enhance the synergy between Dynamics 365 Business Central (BC) and Power BI. With the release of Business Central Version 26, users now…

The Spreadsheet Trap in Distribution: Why You Lose Control Without Realizing It

Jennifer Ryan

|

December 11, 2025
Let me start with a confession: I love a good spreadsheet. They’re flexible. Fast. Familiar. Elegant.But here’s the problem no one talks about: Spreadsheets eventually become the system. And that’s…

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…