Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Restore Live to Test Database not showing Transactions

(0) ShareShare
ReportReport
Posted on by

Hello,

I went through the process of creating a new company attached to the existing system database.

-I added the company in company maintenance

-Restored the live db to the test db

-Ran the update views in Database Maintenance

-Synchronize security in Database Maintenance

Now i am able to sign into the test company. I can see master records. But i cannot see any transactions.

Help!

*This post is locked for comments

  • Bill Degnan Profile Picture
    660 on at
    RE: Restore Live to Test Database not showing Transactions

    It doesn't sound like you have any transactions in the new test database associated with the new test company id.

    You may want to consider creating a separate test system & application database from the production databases. Users would then switch system databases when they use the test environment. The company ids would not have to be changed in this type of test database.

  • Rennecia Barran Profile Picture
    on at
    RE: Restore Live to Test Database not showing Transactions

    Hi Brian,

    I ran the update scripts as seen below but the Domain script failed. I will re-check and advise.

    UPDATE COMPANY SET DatabaseName = 'XXXXXX' where DatabaseName = 'YYYYYY'

    UPDATE DOMAIN SET DatabaseName = 'XXXXXX' where DatabaseName = 'YYYYYY'

  • Community Member Profile Picture
    on at
    RE: Restore Live to Test Database not showing Transactions

    Each record in the application database contains the company id, whether using multi-company or not. The system database contains setup information for those companies. From your description of steps taken, it sounds like the company with transaction detail in the testing copy of the application database doesn't have a matching company setup in the testing copy of the system database - domain and company tables.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

#1
Community Member Profile Picture

Community Member 136

#2
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 102 Super User 2025 Season 1

#3
REUser Profile Picture

REUser 8

Featured topics

Product updates

Dynamics 365 release plans