Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Any problems with non-alphanumeric Characters

(0) ShareShare
ReportReport
Posted on by

Is there any issues/problems using non-alphanumeric characters in item number or user category fields or anywhere for that matter? Are there any characters that will cause problems? [.!@#$%^&*(){]/}.  Specifically a slash or backslash or period?  Say I want to create a half inch pipe item, would 1/2COPPER or .5COPPER cause issues anywhere down the line?  Thanks.

*This post is locked for comments

  • Suggested answer
    Ian Richardson Profile Picture
    Ian Richardson 4,150 on at
    RE: Any problems with non-alphanumeric Characters

    I will echo Mahmoud's comments and add to even consider the use of the simple comma.

    So often you will find comma's in address records, and inventory item names.

    As we know any GP report can be exported as a text file.  One of the file characteristic options being a csv file, or comma separated file.

    The comma use in that address or inventory record messes up that export file.

  • Suggested answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Any problems with non-alphanumeric Characters

    Technically speaking, you will be able to enter such characters in Dynamics GP window with no constraint. On the other hand, that is no recommended at all. 

    Let's take a look at it from the database level, such characters might be already predefined in TSQL to provide specific functionality, for instance;

    • %                used with Like expression in the database
    • "["  "]"      square brackets to list sets of characters
    • ^                 to match only the character no specified within the brackets 

    Most importantly, the single quotation could be much more risky that you might imagine, since it is used to specify the value in TSQL. Suppose you include a single quotation in your item number, customer number ...etc (Lets say Item Number = Phone ' SX3 )

    Now on SQL Management Studio, when you write down as simple as select statement including this item, errors occurs as shown below

    To enlarge the picture, imagine how difficult things will get when you are considering such characters as primary keys (Item Number, Customer Number ..etc) in you Dynamics GP.

    Based on that, I won't recommend that at all regardless of that fact that there is no technical limitation. Meanwhile, I can't think of any business logic that might require using such characters.

    Hope this helps. 

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans