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

Vendor IDs and Ampersands

(5) ShareShare
ReportReport
Posted on by 3,549
Hi:
 
We have migrated an end user from Dynamics GP to Business Central.
 
When clicking on any vendor in the "Vendors" list screen whose ID contains an ampersand, the issue shown below occurs.
 
So, I created a new vendor ID with an ampersand.  Upon clicking on that ID, I received the same error.
 
Does Business Central not like Vendor IDs containing an ampersand?  Is there a fix?
 
Thanks!
 
John
 
I have the same question (0)
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,547 Super User 2026 Season 1 on at
    Hi John,
     
    It's generally not a good idea—and I personally wouldn't recommend—using special characters in the Name or No. fields. This can cause issues such as exceptions or incorrect results when searching or applying filters.
     
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,803 Super User 2026 Season 1 on at
    hello,
     
    Business Central has known issues with handling special characters like ampersands in Vendor IDs, which can interfere with URL encoding and other processes. To address this, you can replace special characters with alternatives, ensure proper URL encoding, or write custom code to handle these characters. If these solutions don't work, contacting Microsoft support for further assistance is recommended.
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,302 Super User 2026 Season 1 on at
    You shouldn't put any special characters under the Code field (such as Vendor No, Item No, Customer No field).
    It will cause issue on filtering.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,130 Super User 2026 Season 1 on at
    special characters like ampersands (&) in primary keys or IDs (e.g., Vendor IDs) can cause unexpected behavior. The best fix is to avoid using special characters in primary keys.
  • Suggested answer
    YUN ZHU Profile Picture
    99,086 Super User 2026 Season 1 on at
  • Suggested answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at
    You should not be using any special characters in the Vendor No. field, especially when that is the primary key value for the table, if you want to have those create a new text field and populate that.
  • Vahid Ghafarpour Profile Picture
    12,228 Super User 2026 Season 1 on at
     
    If any of the responses helped resolve your issue, please take a moment to mark the best answer. This helps others in the community quickly find solutions to similar problems.

    To do this, simply click the "Does this answer your question?" button on the most helpful response and like the helpful posts. If your issue is still unresolved, feel free to provide more details so the community can assist further!

    Thanks for being an active part of the Dynamics 365 Community! 😊
     
     

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans