Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Remove references to Deleted company

Posted on by 55

Hello,

I recently deleted the test company I created for a client. However I can see records in the system database pointing to this Deleted company id. How can I handle this scenario. Is there an option to Delete a company which automatically removes the orphan records in the system database. Please guide me.

Regards,

Srinivas Damodaran

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Remove references to Deleted company

    nope. No file. No ClearCompanies.sql

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Remove references to Deleted company

    Here is the ClearCompany script. This will clear up anything that is left over.

    support.microsoft.com/.../855361

    Make sure you have removed the company database from SQL.

  • Verified answer
    Naga Kiran Profile Picture
    Naga Kiran on at
    RE: Remove references to Deleted company

    Hi Srinivas,

    Please look at below KB article.

    support.microsoft.com/.../968058

    The best option to delete a company is by using the utility Delete Company (Tools > Utilities > System > Delete Company)

    Hope this helps.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans