PCModelingLibrary::isAttributeNameValid Method [AX 2012]
Checks whether the given name is a valid name for an attribute.
client server public static boolean isAttributeNameValid(
PCClass _component,
EcoResAttribute _attribute,
[boolean _displayError])
Run On
CalledParameters
- _component
- Type: PCClass Table
- _attribute
- Type: EcoResAttribute Table
The attribute record that contains the name to validate.
- _displayError
- Type: boolean
A Boolean value that indicates whether an error should be displayed in case the name is not valid.
Show: