web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Company Master table error just starting Year End update in the DYNAMICS database

(0) ShareShare
ReportReport
Posted on by 439

I just started updating the DYNAMICS database in GP Utilities after installing the year-end update from 18.3.1200 to 18.4.1384, and immediately ran into a table error.  Company-Master-table-error.pngtable-detail.png

Has anyone run into this, and know the most appropriate way to proceed?

Categories:
I have the same question (0)
  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    28,058 Moderator on at

    Hi,

    This looks like a failed attempt to run the GP upgrade..  I hope you have a full backup taken before you started?

    Please restore the DYNAMICS database and every company DB that might have been upgraded (or attempted) to go back to the old version 18.3.1200.

    After that, I'd run the ClearCompany.sql script that you can find on the Microsoft site, as it looks like you might have had companies that got deleted in SQL, but are still showing up in the Company master table and elsewhere in the DYNAMICS system DB.

    Once the script was executed and returns no error, try to upgrade again. This upgrade should run smoothly as I just completed one with the same versions yesterday.

  • Baycare Health Systems Profile Picture
    439 on at

    Hi Beat,

    Thank you for the reply.  I restored the DYNAMICS database, and ran the clear companies script.  I got the same error.  However I did notice that now getting the error, the Company Detail screen shows BOTH the Current Version and the New Version being 18.4.1384.  Do you know if there is somewhere in the DYNAMICS database that I might need to update the Current Version to roll back to 18.3.1200?

  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    28,058 Moderator on at

    There are multiple places where the GP version is stored in the DYNAMICS DB..

    DB_Upgrade & DU000020 are the most prevalent ones.

    But you should take a look at this KB post that might help to pinpoint the problem.

    support.microsoft.com/.../how-to-restart-the-upgrade-of-a-company-database-in-microsoft-dynamics-gp-8b616876-e2cf-7d1e-edaf-2939015efc20

    Of course this is old and you may need to adjust the queries.

    Here is something more recent:

    community.dynamics.com/.../microsoft-dynamics-gp-upgrade----upgrade-troubleshooting-1749838885

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 509 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 375

#3
Adis Profile Picture

Adis 268 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans