PdsCWValidation.validateField Method [AX 2012]

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

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 .

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

Community Additions

ADD
Show: