NAV converts them to uppercase before it’s entered into the database, and that is after the check for allowed characters so I don’t think it’s a problem. I just think the allowed characters should not allow lower case.
Removing the lowercase characters is not good. If the user enters lowercase in the normal way, the system first checks the allowed characters and then converts to uppercase, I just checked.
When I train users, I tell them not to be concerned about using uppercase as the system will take care of it, same for code fields and the Post Code for example. It makes for faster data entry.
It seems the simple thing is to “allow” the entry of lowercase characters just to keep the status quo.
I have to agree that the exclusion is a better way, as already said, each country has different characters they need excluding.
I then remembered my training and put the characters to be excluded in the hands of the data owner rather than hard coded.
GLSetup.GET();
IF DELCHR(“No.”,’=’,DELCHR(“No.”,’=’,GLSetup.“Reserved Characters”)) <> ‘’ THEN
ERROR(Text001,FORMAT(“No.”),FORMAT(GLSetup.“Reserved Characters”))
Now each company (Country) can determine what is and what is not a reserved character.
Still, it was an interesting excercise exploring the alternatve methods and I now know more about the whole subject, so thanks all.