23 Version Labels
This is a public interface which hosts the Naming API for updating the Version label.
This chapter contains the following section:
Parent topic: Common APIs
Modify Version Labels
This section contains one API for updating a version label. See the following topic for details:
Parent topic: Version Labels
Update a Version Label
Use this API to create or modify an object version label. If the same label exists for another version of the object, the API returns that version number.
Name
CDR_PUB_DF_NAMING.UpdateVersionLabel
Signature
PROCEDURE UPDATEVERSIONLABEL( P_API_VERSION IN NUMBER, P_INIT_MSG_LIST IN VARCHAR2 := CDR_PUB_DEF_CONSTANTS.G_FALSE, P_COMMIT IN VARCHAR2 := CDR_PUB_DEF_CONSTANTS.G_FALSE, P_VALIDATION_LEVEL IN NUMBER := CDR_PUB_DEF_CONSTANTS.G_VALID_LEVEL_FULL, X_RETURN_STATUS OUT VARCHAR2, X_MSG_COUNT OUT NUMBER, X_MSG_DATA OUT VARCHAR2, PIO_NAMING IN OUT CDR_NAMING_VERSION_OBJ_TYPE );
Parameters
This API has standard parameters (see Standard Parameters) and the following parameters:
- P_API_VERSION (Mandatory) Enter the current version of the API you are calling. The API compares the version numbers of incoming calls to its current version number and returns an error if they are incompatible.
- PIO_NAMING (Mandatory) This is a parameter of table type
CDR_NAMING_VERSION_OBJ_TYPE. Enter values to identify the object version that you want to
label.
The following attributes are required: COMPANY_ID,OBJ_ID,OBJ_VER,VERSION_LABEL. For VERSION_LABEL enter the text of the label you want to apply to this object version.
Parent topic: Modify Version Labels