Table of Contents

Code validation

This validation is applied for data attributes containing code.

Standard validations for a code are:

  • This code must contain only letters, numbers or '_', '.', '/', '-', '+', ' ' symbols.

This validation is applied, for example, for Part Number field in the Product definition.

For example: valid codes are:

  • aaa
  • 444
  • a4a4a
  • a4_
  • a4.
  • a4/
  • a4-
  • a4+
  • a 4

Invalid codes are as follows:

  • a4!
  • a4#
  • a4*
  • a4(
  • a4)
  • a4$
  • a4@
  • a4%
  • a4^
  • a4{
  • a4}
  • a4|
  • a4"
  • a4:
  • a4;

The current validation is referred here: