PCModelingLibrary::validateIntegerAttributeTypeValue Method [AX 2012]

Validates that the specified integer value is compatible with the specified domain.

client server public static boolean validateIntegerAttributeTypeValue(
    EcoResAttributeType _domain, 
    str _valueStr, 
   [boolean _showBoundError])

Run On

Called

Parameters

_domain
Type: EcoResAttributeType Table
The domain that is used for validation.
_valueStr
Type: str
The value to test for compatibility.
_showBoundError
Type: boolean
A Boolean value that indicates whether a boundary error must be shown in the information log.

Return Value

Type: boolean
true if the value is a valid integer and is in the bounds of the domain; otherwise, false.
Show: