Show TOC

Background documentationValidation Mask Maintenance

 

You use this activity to define a mask that can be used to validate the creation of a SFC number during serialization, creation of an inventory ID, and during collection of assembly data fields (see Inventory ID and Assembly Data Type).

Integration

After you have defined mask in Validation Mask Maintenance, you can set up this mask for all data types and categories in Data Field Definition Maintenance (see Data Field Definition Maintenance). Additionally, for assembly data types you can set up masks at material level (see Material Maintenance).

For more information about setting up masks, see Setting Up Mask Validation.

Fields

The following table describes fields requiring explanation:

Field

Description

Type

Simple Format: This mask is a metacharacter string.

The following metacharacters are valid:

  • @ (At symbol): Any single alphabetic character (A through Z)

  • # (Number symbol): Any single digit (0 through 9)

  • ^ (Carat symbol): Any single hex character (0 through 9, A through F)

  • ? (Question mark): Any single alphanumeric character (0 through 9, A through Z)

  • . (Period): A wildcard character that represents any single ASCII character

  • * (Asterisk): Any number (including 0) of any characters. The asterisk can be used only once in the mask.

  • \ (Backslash): Allows other metacharacters to be used as literal characters. For example, to include the character @ in your mask, enter \@.

Regular Expression: This mask contains variables or ranges of characters within the mask. For example, if you specify [A-Z]-[0-9], possible values could be A-2, Z-0, or K-5.

Min Length

The minimum number of characters operators can enter during the component assembly data collection process

Note that this field is enabled only when the Mask field contains an * (asterisk).

Max Length

The maximum number of characters operators can enter during the component assembly data collection process

Note that this field is enabled only when the Mask field contains an * (asterisk).