Share via


PdsCWValidation.validate Method [AX 2012]

Validates the relation between the quantities of the field pairs.

Syntax

public boolean validate(boolean _error)

Run On

Called

Parameters

  • _error
    Type: boolean
    A Boolean value that indicates whether an error should be thrown if the validation fails.

Return Value

Type: boolean
true if the quantities between the field pairs match the catch weight restrictions; otherwise, false .

Remarks

The actual validation for each pair is performed by the validateFieldInternal method.

See Also

Reference

PdsCWValidation Class