Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Change Key Fields in BC

Posted on by 1,579
I've seen where we can change key fields within BC.  For example if we have a vendor that changes hands or names we can change the vendor ID and the change filters down through the system.  In testing I was also able to do the same with GL Account numbers.  
 
Previously with GP and SL third party or add-on utilities were required to affect such changes.  That said with this functionality built into BC, are there any security limitations to control who can make such updates?  Look forward to a repsonse.
 
JG
 
 
  • Suggested answer
    Andy Wingate Profile Picture
    Andy Wingate 320 on at
    Change Key Fields in BC
    Hello
     
    Generally speaking it's not advised to change Vendor codes or G/L codes in a live system. Although, as you point out it can be done. The main concerns around changing these codes is that it can lock the system for quite some time as it will update all related records where the code was used. Another issue you face is an past reports or data exporting from the system naturally may no longer reconcile with the updated system.
     
    The simplest way to prevent accidental updating of codes is to manage at the No. Series level - if you set the No. Series for Vendors to Not allow manual numbers, then the Vendor Code box is not shown on the page a no users can update them.
     
     
     
    If for some reason, from time to time you do need to change some codes, toggle the switch, make the changes then toggle back. Use in combination with a environment level security group if you want to ensure only you have access to the system while doing this maintenance. 
     
     
    Ensure you are a member (not just owner) of the security group..
     
    Cheers
    Andy 
     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 3,952 on at
    Change Key Fields in BC

    Yes, Business Central allows changes to key fields like vendor IDs and GL account numbers, and you can implement approval workflows to control these updates for security purposes. By setting up an approval process, any changes made will require review and authorization from designated personnel before they take effect. This adds an extra layer of security and accountability to ensure that only authorized users can make critical updates.

    Adding some links.
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 11,307 Most Valuable Professional on at
    Change Key Fields in BC
    Hi
    Some of the tables mentioned have a function and events to which you can subscribe to apply business rules.
    I hope this can help you and give you some hints. 
     
    Best
    GR
  • Suggested answer
    Yi Yong Profile Picture
    Yi Yong 1,007 Super User 2024 Season 2 on at
    Change Key Fields in BC
    Hello JGarcia,
     
    You can change the Vendor No. (PK) if needed, the new change will be applied to all the relevant tables that contained the Vendor No. such as Ledger Entries except for the Change Log Entries table.
     
    You need to be aware that you will face with TableLock error during the change, depending on how many records are required to update, it may take hours to do so.
     
    However, this approach should not be the first choice. You should always consider creating a new vendor and block the old one instead.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,912 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,355 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans