Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates the relation of the quantities for a specific field pair.
Syntax
public boolean validateField(FieldId _fieldId, boolean _error)
Run On
Called
Parameters
- _fieldId
Type: FieldId Extended Data Type
The fieldId value of the catch weight field marking the field pair.
- _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.