CARIS HPD : HPD® Server API : Paper Product Data : P_PPRAPI : ADD_PANEL_SOURCE_USAGE
 

ADD_PANEL_SOURCE_USAGE

Add a new source usage to the panel. Once a usage is added to a panel, updates from that usage will be available.

Input

Parameter

Type

Description

p_panelver_id

NUMBER

Primary key of the panel_version.

p_usage_name

VARCHAR2

Name of the usage to be added to the panel.

Example

DECLARE

  v_usage_name   constant VARCHAR2(50 char) := 'Harbour(2500-4999)';

  v_panelver_id   constant NUMBER           := 99;

BEGIN

  p_pprapi.add_panel_source_usage (v_panelver_id, v_usage_name);

END;

/

Exceptions

Panel version identifier '<p_panelver_id>' is invalid or does not currently exist.

Unable to find chart associated with the panel.

The panel must already be populated with data to add a source usage.

Cannot find usage '<usage_name>'.

This usage has already been added to the panel.