CatCartLine.validateWriteExtension Method
Validates the business validity of data before the record may be saved.
Syntax
public boolean validateWriteExtension(boolean _doCheckFailed)
Run On
Called
Parameters
- _doCheckFailed
Type: boolean
A Boolean value that indicates whether the checkFailed method will be called upon validation failures.
Return Value
Type: boolean
true if validation is successful; otherwise, false.
Remarks
This method differs from the CatCartLine.validateWrite method but should not replace it. The CatCartLine.validateWrite method will call super, whereas this method cannot and will not call super. Also, the CatCartLine.validateWrite method checks on mandatory fields, whereas this method does not.