Share via


PdsCWValidation.validateField Method [AX 2012]

Validates the relation of the quantities for a specific field pair.

Syntax

public boolean validateField(FieldId _fieldId, 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