DBA Data[Home] [Help]

APPS.OKE_APPLY_REMOVE_HOLDS_PKG SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 31

    select hold_id,
    	   k_header_id,
           k_line_id,
           remove_date,
	   remove_reason_code,
	   remove_comment,
           attribute_category,
           attribute1,
           attribute2,
           attribute3,
           attribute4,
           attribute5,
           attribute6,
           attribute7,
           attribute8,
           attribute9,
           attribute10,
           attribute11,
           attribute12,
           attribute13,
           attribute14,
           attribute15
    from   OKE_K_HOLDS
    where  hold_id = X_hold_id
    for update of hold_id nowait;
Line: 65

       fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
Line: 119

PROCEDURE Update_Row(X_hold_id		                NUMBER,
  	  	     X_k_header_id	        	NUMBER,
                     X_k_line_id		        NUMBER,
                     X_remove_date		        DATE,
                     X_remove_reason_code		VARCHAR2,
                     X_remove_comment			VARCHAR2,
                     X_hold_status_code                 VARCHAR2,
                     X_wf_item_type                     VARCHAR2,
                     X_wf_process                       VARCHAR2,
                     X_Last_Update_Date                 DATE,
                     X_Last_Updated_By                  NUMBER,
                     X_Creation_Date                    DATE,
                     X_Created_By                       NUMBER,
                     X_Last_Update_Login                NUMBER,
                     X_Attribute_Category               VARCHAR2,
                     X_Attribute1                       VARCHAR2,
                     X_Attribute2                       VARCHAR2,
                     X_Attribute3                       VARCHAR2,
                     X_Attribute4                       VARCHAR2,
                     X_Attribute5                       VARCHAR2,
                     X_Attribute6                       VARCHAR2,
                     X_Attribute7                       VARCHAR2,
                     X_Attribute8                       VARCHAR2,
                     X_Attribute9                       VARCHAR2,
                     X_Attribute10                      VARCHAR2,
                     X_Attribute11                      VARCHAR2,
                     X_Attribute12                      VARCHAR2,
                     X_Attribute13                      VARCHAR2,
                     X_Attribute14                      VARCHAR2,
                     X_Attribute15                      VARCHAR2

  ) is

  x_prev_hold_status_code OKE_K_HOLDS.hold_status_code%TYPE;
Line: 158

    select hold_status_code
          ,Deliverable_ID
          ,hold_type_code
          ,hold_reason_code
    from   OKE_K_HOLDS
    where hold_id = X_hold_id;
Line: 174

    update OKE_K_HOLDS
    set
       remove_date		       =     X_remove_date,
       remove_reason_code	       =     X_remove_reason_code,
       remove_comment		       =     X_remove_comment,
       hold_status_code                =     X_hold_status_code,
       wf_item_type                    =     X_wf_item_type,
       wf_process                      =     X_wf_process,
       Last_Update_Date                =     X_Last_Update_Date,
       Last_Updated_By                 =     X_Last_Updated_By,
       Creation_Date                   =     X_Creation_Date,
       Created_By                      =     X_Created_By,
       Last_Update_Login               =     X_Last_Update_Login,
       attribute_Category              =     X_Attribute_Category,
       attribute1                      =     X_Attribute1,
       attribute2                      =     X_Attribute2,
       attribute3                      =     X_Attribute3,
       attribute4                      =     X_Attribute4,
       attribute5                      =     X_Attribute5,
       attribute6                      =     X_Attribute6,
       attribute7                      =     X_Attribute7,
       attribute8                      =     X_Attribute8,
       attribute9                      =     X_Attribute9,
       attribute10                     =     X_Attribute10,
       attribute11                     =     X_Attribute11,
       attribute12                     =     X_Attribute12,
       attribute13                     =     X_Attribute13,
       attribute14                     =     X_Attribute14,
       attribute15                     =     X_Attribute15
    where hold_id = X_hold_id;
Line: 218

    , X_Last_Updated_By
    , X_Last_Update_Date
    , X_Last_Update_Login
    );
Line: 229

end Update_Row;
Line: 232

PROCEDURE Insert_Row(X_Rowid			 IN OUT NOCOPY VARCHAR2,
	 	     X_hold_id		        	NUMBER,
  	  	     X_k_header_id			NUMBER,
                     X_k_line_id			NUMBER,
                     X_k_deliverable_id			NUMBER,
                     X_apply_date			DATE,
                     X_schedule_remove_date		DATE,
		     X_hold_type_code			VARCHAR2,
		     X_hold_reason_code			VARCHAR2,
		     X_hold_status_code			VARCHAR2,
		     X_hold_comment			VARCHAR2,
		     X_wf_item_type			VARCHAR2,
		     X_wf_process			VARCHAR2,
                     X_Last_Update_Date               	DATE,
                     X_Last_Updated_By                	NUMBER,
                     X_Creation_Date                  	DATE,
                     X_Created_By                     	NUMBER,
                     X_Last_Update_Login              	NUMBER
  ) is

    cursor C is
    select rowid
    from   OKE_K_HOLDS
    where  hold_id = X_hold_id;
Line: 259

       insert into OKE_K_HOLDS(
	      hold_id,
  	      k_header_id,
              k_line_id,
              deliverable_id,
              apply_date,
              schedule_remove_date,
	      hold_type_code,
	      hold_reason_code,
	      hold_status_code,
	      hold_comment,
	      wf_item_type,
	      wf_process,
              last_update_date,
              last_updated_by,
              creation_date,
              created_by,
              last_update_login
             ) VALUES (
	 	     X_hold_id,
  	  	     X_k_header_id,
                     X_k_line_id,
                     X_k_deliverable_id,
                     X_apply_date,
                     X_schedule_remove_date,
		     X_hold_type_code,
		     X_hold_reason_code,
		     X_hold_status_code,
		     X_hold_comment,
		     X_wf_item_type,
		     X_wf_process,
                     X_Last_Update_Date,
                     X_Last_Updated_By,
                     X_Creation_Date,
                     X_Created_By,
                     X_Last_Update_Login
             );
Line: 307

    , X_Last_Updated_By
    , X_Last_Update_Date
    , X_Last_Update_Login
    );
Line: 320

end Insert_Row;