Compartir a través de


ProjTable.validateWrite Method

Determines whether the current record is valid and ready to be written to the database.

Syntax

public boolean validateWrite([boolean _calledFromStatus])

Run On

Called

Parameters

  • _calledFromStatus
    Type: boolean
    A Boolean value that indicates whether the method will also validate based on project status and type; optional.

Return Value

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

Remarks

If the current project is a subproject, this method makes sure that a valid value is in the format field for the parent project. It also makes sure that the project end date is not earlier than the project start date. It also performs some other validations based on the status and type of the current project.

See Also

Reference

ProjTable Table