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

REMOVECHILDREGISTRY

Remove a source from a project.

Input

Parameter

Type

Description

v_parent_project_id

NUMBER

The primary key value of the project.

v_src_registry_id

NUMBER

The primary key value of a source entry.

Example

declare

  v_parent_project_id CONSTANT PROJECT.PJ_ID%TYPE:= 3;

  v_SRC_REGISTRY_ID   CONSTANT REGISTRY.REGISTRY_ID%TYPE :=2;

begin

  P_PROJECT_MANAGER.REMOVECHILDREGISTRY(

     v_parent_project_id, v_SRC_REGISTRY_ID);

end;

/

Exceptions

Input parent project ID does not exist.

Input child registry is not a child of input parent project.

Error in REMOVECHILDREGISTRY: (SQL code).