CARIS HPD : HPD® Server API : Projects : P_PROJECT_MANAGER : DELETEPROJECT
 

DELETEPROJECT

Deletes a project. A project can only be deleted if:

It has no child projects.

It is an isolated project that has not been checked into source.

The project was not used for editing.

Input

Parameter

Type

Description

v_project_id

NUMBER

The primary key value of the project.

v_task_id

NUMBER

The id of the task for the deletion.

Example

exec P_PROJECT_MANAGER.DELETEPROJECT(&project_id, &task_id);

Exceptions

Input project ID does not exist.

Project cannot be deleted. See conditions above.

Error in DELETEPROJECT: (SQL code).