Create a copy of the chart that will be used for the next edition of the chart. Any version of the previous edition can be used to create the new edition.
Input
Parameter | Type | Description |
|---|---|---|
v_chartver_id | NUMBER | ID of the version of the chart that is being copied to make a new edition. |
Output
Type | Description |
|---|---|
NUMBER | ID of the new version of the chart. |
Example
DECLARE v_project_id CONSTANT PROJECT.PJ_ID%TYPE := 1; -- the chart version being published v_chartver_id CONSTANT chart_version.chartver_id%TYPE := 64; v_new_id chart_version.chartver_id%TYPE; BEGIN -- Create a new 'save'. All edits are done under the specified project -- until a commit or rollback. P_SAVE_MANAGER.STARTNEWSAVE(v_project_id);
v_new_id := p_charts.newedition (v_chartver_id); END; / |
Exceptions
• Cannot create a new edition using the input chart version. It is inactive.
• This chart is locked by %s and cannot be edited.
• Input Chart version (%s) does not exist.