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 :
Small and medium business | Business Central, N...
Suggested Answer

Extension not being updated

(0) ShareShare
ReportReport
Posted on by 436

Hello everyone,

I have created some custom tables and pages in Business Central Sandbox to achieve a particular functionality. After I have ran the code, the extension is now installed in business central. The problem I am facing is that, when I'm now changing any table's primary it is giving me an error that "we cannot update the extension because of 'Table 50100 Purchase Requisition Header :: Changing fields for the key 'PK' is not allowed". I tried forcesync but it is not working in my case and I cannot delete the extension because I contains a lot of data. Kindly help. Thankyou

  • Suggested answer
    Mohana Yadav Profile Picture
    61,260 Super User 2026 Season 2 on at

    you have to create new table with updated key and write upgrade codeunit to move the data from first table to new table

    learn.microsoft.com/.../upgrade-codeunits

  • Muhammad Anas Naeemi Profile Picture
    436 on at

    Hey mohana, is there any example of this?

  • Suggested answer
    Mohana Yadav Profile Picture
    61,260 Super User 2026 Season 2 on at
  • Suggested answer
    YUN ZHU Profile Picture
    104,131 Super User 2026 Season 2 on at

    Hi, just adding some info, hope this helps as well.

    In-depth testing for Force Sync mode in Production Environment (Renaming tables, Renaming fields, Changing field type…)

    https://yzhums.com/18755/

    Developers can write faster upgrade code (New DataTransfer data type)

    https://yzhums.com/29604/

    Thanks.

    ZHU

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 633 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 419 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 236 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans