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

Update GL Account Number

(0) ShareShare
ReportReport
Posted on by 254
In Business Central, you can go one-by-one and change a GL account number and it will maintain history and balances. If you use edit in Excel or a configuration package, data integrity isn't maintained. Anyone have a recommendation on how to do mass changes? Looking to avoid going through 1,000s of GL accounts one by one. Thanks!
I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at
    Are you sure that edit in excel does not maintain integrity?
    In my experience you should be able to use edit in Excel for this,
    The alternative is to create a simple Excel import that can fix this.
  • Suggested answer
    HVGEEL Profile Picture
    308 on at
    I have some bad news for you. And it comes in two:
     
    1. Changing G/L No By using a configuration package wil never ever work. Obviously
     
    The No. field is the PK of T15, so if your goal is to rename account 10000 to 10010, what will happen is:
    - account 10000 will remain untouched
    - account 10010 will be created, with whatever data that was attributed to it.
     
    All setup, linked to No. 10000 will still be referring to 10000 (as it should).
    Bottom line: if you try to do this via a Conf pack, you are just creating new accounts, or overwriting existing ones with new information from the conf pack (very unwanted!)
     
    2. Edit in Excel is even worse for your goal
    I tried the Edit in Excel for you.
    That behaviour is even worse for the goal you are trying to achieve: the No. field gets in fact changed ( even though it is the PK!!)
    On the other hand: integrity gets lost along the way. ALl setup is still referring to the original No.
     
    Trying this via Edit in excel is mayhem for your setup!
     
  • Suggested answer
    YUN ZHU Profile Picture
    98,064 Super User 2026 Season 1 on at
    Hi, you can customize an import tool, but you need to record the primary key that needs to be modified.
    More details:
     
     
    Hope this helps.
    Thanks.
    ZHU
     
  • ahanson Profile Picture
    254 on at
    Thank you all for the feedback. Anyone try to run a macro on the front-end to go through the changes?

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,032 Super User 2026 Season 1

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,049 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

YUN ZHU 1,029 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans