Share via


ProjActivity.validateDelete Method

Validates that the activity can be deleted.

Syntax

public boolean validateDelete()

Run On

Called

Return Value

Type: boolean
true if the activity can be deleted; otherwise, false.

Remarks

This must be called before a record is deleted. It is automatically called from forms when the user tries to delete the record.

In addition to the related record validation performed by the parent method, it is also validated that an activity that has sub-activities associated with it cannot be deleted.

See Also

Reference

ProjActivity Table