PBATableGenerateItemId.isValidFormat Method
Validates a format field.
Syntax
private boolean isValidFormat(PBAItemIdConfigId _itemIdConfigId, str _format)
Run On
Called
Parameters
- _itemIdConfigId
Type: PBAItemIdConfigId Enumeration
The type of format to validate.
- _format
Type: str
The string that contains the format.
Return Value
Type: boolean
A Boolean value that indicates whether the format is valid.
Remarks
Uses .NET regular expression match methods. It originates error messages, such as checkfailed, in case of the format is not valid. An invalid format is originated if the format uses an undeclared variables alias for the product or no variable alias is used in the format.