Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Create a "clean" copy of an existing database

Posted on by 65

I'm not sure if this is possible, but we are creating a new Company in our environment, and i'd like to use an existing company as the model. However, i don't want to copy any of the transaction (or master) data over to this new company. I just want the setup flags to be the same in the destination company.

From what i've ready PSTL's copy company function can't do that, it's either everything, or just reports, right? it may have been an old message board post, so please correct me if i am wrong.

Does anybody know of a tool that can do this? We own GP Power Tools, but i don't think it has that functionality either... 

  • Verified answer
    RobertShap Profile Picture
    RobertShap 125 on at
    RE: Create a "clean" copy of an existing database

    Make sure you make a backup because of the new company.

    Go to the Microsoft Dynamics GP drop down and choose maintenance>clear data.

    As an example to delete vendors

    choose Series>Purchasing

    Display Logical File

    Choose Payables Vendor Master Logical File

  • Mike Bresnan Profile Picture
    Mike Bresnan 65 on at
    RE: Create a "clean" copy of an existing database

    Is ClearData a PSTL function? or is that a SQL command?

  • Suggested answer
    RE: Create a "clean" copy of an existing database

    This article may help as well:

    support.microsoft.com/.../how-to-copy-setup-tables-from-one-company-to-another-in-microsoft-dynamics-gp-kb-872709-7fe8cefb-1d40-731c-41c9-9c8750b56848

    The article describes how to copy setup tables from one company to another, new company database.

    Let us know if you have any questions.

    Thanks

  • RobertShap Profile Picture
    RobertShap 125 on at
    RE: Create a "clean" copy of an existing database

    No transactions are copies. Just Master tables. You can then use cleardata to remove any master data  not required.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans