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

Notifications

Announcements

No record found.

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,226
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,529 Super User 2025 Season 2 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,639 Super User 2025 Season 2 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,284 Super User 2025 Season 2 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
    20,601 Super User 2025 Season 2 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
    95,729 Super User 2025 Season 2 on at
  • Suggested answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 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,166 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans