Share via


ProjActivity.validateWrite Method

Validates the activity.

Syntax

public boolean validateWrite()

Run On

Called

Return Value

Type: boolean
true if the activity is valid; otherwise, false.

Remarks

This must be called before a record is written to the database. It is automatically called from forms when the user tries to save the record.

In addition to mandatory field validation performed by the parent method, it is validated that activities cannot be associated with summary projects. It is also validated that the percent complete is between 0 and 100.

See Also

Reference

ProjActivity Table