Blame | Last modification | View Log | RSS feed
CREATE PROCEDURE "RELEASE_MANAGER"."SET_TO_AUTOBUILDABLE" (nrtagid IN NUMBER,spvidlist IN VARCHAR2)IS/******************************************************************************NAME: SET_TO_AUTOBUILDABLEPURPOSE:REVISIONS:Ver Date Author Description--------- ---------- --------------- ------------------------------------1.0 15/12/2006 Rupesh Solanki 1. Created this procedure.NOTES:Automatically available Auto Replace Keywords:Object Name: SET_TO_AUTOBUILDABLESysdate: 15/12/2006Date and Time: 15/12/2006, 11:42:29 AM, and 15/12/2006 11:42:29 AMUsername: (set in TOAD Options, Procedure Editor)Table Name: (set in the "New PL/SQL Object" dialog)******************************************************************************/npvidcollector relmgr_number_tab_t := relmgr_number_tab_t ();PvId NUMBER;BEGINnpvidcollector := in_list_number2 (spvidlist);UPDATE package_versionsSET is_autobuildable = 'N'WHERE pv_id IN (SELECT pv_idFROM release_contentWHERE rtag_id = nrtagid);FOR i IN 1..npvidcollector.COUNTLOOPPvId := npvidcollector(i);UPDATE package_versionsset is_autobuildable = 'Y'where pv_id = PvId;END LOOP;END set_to_autobuildable;/