Table of Contents

<modelNumber> Element

This element defines model number settings for units or component type.

Parent Elements

componentType, units

Attributes

Name Type Description Required
forceUppercase boolean Whether to force numbers to uppercase. No (defaults to true)
invalidNumber string A wildcard pattern that defines what numbers are deemed invalid. No
validNumber string A wildcard pattern that defines what numbers are deemed valid. No

Child Elements

None.

Remarks

Note

"Number" here means a model number, which might contain characters other than numeric digits.

Before a number is accepted by Acuit Pinpoint (either via a bar code scan or a typed number), it is adjusted and validated via these settings, as follows:

  1. If forceUppercase is true, any lowercase letters in the number are forced to uppercase.
  2. If invalidNumber is specified, the number is compared against the pattern, and if it matches, it is rejected.
  3. If validNumber is specified, the number is compared against the pattern, and if it doesn't match, it is rejected.

Example Patterns

Configuration Description
validNumber="?*" Any number at least one character long.
validNumber="??????" Any number six characters long.
validNumber="/^\d{7,}$/" A number that consists of only numeric digits, with at least seven digits.
validNumber="/^[-A-Z0-9]+$/" A number that consists of only letters, numeric digits, or dashes.
invalidNumber="ABC123|Q*" Reject "ABC123" and any numbers that start with "Q".