Install a Program

Use this API to install a single Program and the Table instances to which it is mapped. You must install a Program and its source Table instances before you can work on it in an Integrated Development Environment (IDE).

Name

CDR_PUB_DF_WORKAREA.InstallIDEcomponents

Signature

PROCEDURE INSTALLIDECOMPONENTS( 
  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, 
  PI_NCOMPANYID  IN    NUMBER, 
  PI_NWAOBJID  IN    NUMBER, 
  PI_NWAOBJVER  IN    NUMBER, 
  PI_NPRREFID  IN    NUMBER, 
  PI_NPRREFVER  IN    NUMBER, 
  PO_VINSTLOGTYPE  OUT    VARCHAR2, 
  PO_VINSTLOG  OUT    VARCHAR2 
); 

Parameters

This API has standard parameters (see Standard Parameters) and the following parameters:

  • PI_NCOMPANYID (Mandatory) Enter your company ID. To get your company ID, use CDR_PUB_DEF_FACTORY_UTILS.GetCompanyId.
  • PI_NWAOBJID (Mandatory) Enter the object ID of the Work Area where the Program instance is located.
  • PI_NWAOBJVER (Mandatory) Enter the object version (OBJ_VER) of the Work Area.
  • PI_NPRREFID (Mandatory) Enter the object ID of the Program instance that you want to install.
  • PI_NPRREFVER PrrefVer of the Program Instance to be installed
  • PO_VINSTLOGTYPE This output parameter returns one of the following values to indicate whether the installation ended with a status of Warning (G_RET_IDE_INST_WARNING) or Success (G_RET_IDE_INST_INFO).
  • PO_VINSTLOG This output parameter returns the installation log file (maximum length 32000 characters).