PCModelingLibrary::isSolverNameValid Method [AX 2012]

Checks whether the given solver name is valid for an attribute in the that contains component.

client server public static boolean isSolverNameValid(
    PCClass _component, 
    PCSolverVariable _solverVariable, 
   [boolean _displayError])

Run On

Called

Parameters

_component
Type: PCClass Table
The component that contains the attribute.
_solverVariable
Type: PCSolverVariable Table
An attribute record of the solver variable that contains the solver name to validate.
_displayError
Type: boolean
A Boolean value that indicates whether an error must be displayed in case the name is not valid.

Return Value

Type: boolean
true if the name is valid; otherwise, false.
Show: