12-16-2013 05:34 AM - edited 12-16-2013 06:37 AM
Hi all !
We're using SM 9.21 and I have found that when opening an incident record (using the full-client) and the user has a contact record ID with letters and numbers I recieve the error message "Only letters are allowed" and the focus goes to the 'contact' field.
In our 'IM.open.incident' FC record there is a validation with the following conditions:
Message: Only letters are allowed
Comments: Validats all characters were valid
Add: not null(contact.name in $file)
Update: not null(contact.name in $file)
Set focus to: contact.name
I know that I could just remove the validation but I would like the ability to amend the way the validation takes place (i.e. allow numbers but not special characters).
Does anyone know where to find and how to edit $ndp.valid?
Many thanks and Merry Christmas!
Solved! Go to Solution.
12-16-2013 08:26 AM
That's not an OOB calculation that I've ever seen, so someone has done something custom to your system.
The other thing you can try is type *afind.string into the command window. This opens the Find String application that allows you to search for anything in whatever table you specify.
So you could type in $ndp.valid and search formatctrl records, Process records, displayoption records, displayscreen records, etc.
12-16-2013 09:21 AM
Thanks for your reply.
I used the Find String application but had no results (although, I didn't search the FC records).
I eventually found an FC calculation which makes an rtecall - $ndp.valid=rtecall("isalpha", $rc, contact.name in $file, $ndp.chars).
It appears that the "isalpha" rtecall is a standard RAD in-line statement.
As I've set-up a field validation against the contacts table (to ensure any typed-in contact names are genuine) I'm just going to remove the $ndp.valid validation from the im.open.incident FC record.