DBA Data[Home] [Help]

APPS.GR_SAFETY_COMBINATIONS_PKG SQL Statements

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

Line: 3

PROCEDURE Insert_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_combination_sequence IN NUMBER,
				  p_safety_phrase_code IN VARCHAR2,
				  p_combination_group_number IN NUMBER,
				  p_safety_phrase_code_combo IN VARCHAR2,
				  p_display_order IN NUMBER,
				  p_created_by IN NUMBER,
				  p_creation_date IN DATE,
				  p_last_updated_by IN NUMBER,
				  p_last_update_date IN DATE,
				  p_last_update_login IN NUMBER,
				  x_rowid OUT NOCOPY VARCHAR2,
				  x_return_status OUT NOCOPY VARCHAR2,
				  x_oracle_error OUT NOCOPY NUMBER,
				  x_msg_data OUT NOCOPY VARCHAR2)
	IS
/*   Alpha Variables */

L_RETURN_STATUS VARCHAR2(1) := 'S';
Line: 45

   SAVEPOINT Insert_Row;
Line: 77

   INSERT INTO gr_safety_combinations
   		  	     (combination_sequence_number,
   		  	      safety_phrase_code,
				  combination_group_number,
				  safety_phrase_code_combo,
				  display_order,
				  created_by,
				  creation_date,
				  last_updated_by,
				  last_update_date,
				  last_update_login)
          VALUES
		         (gr_safety_combinations_s.nextval,
		          p_safety_phrase_code,
				  p_combination_group_number,
				  p_safety_phrase_code_combo,
				  p_display_order,
				  p_created_by,
				  p_creation_date,
				  p_last_updated_by,
				  p_last_update_date,
				  p_last_update_login);
Line: 102

   SELECT gr_safety_combinations_s.currval
   INTO   l_current_seq
   FROM	  dual;
Line: 106

/*   Now get the row id of the inserted record */

   Check_Primary_Key
   	   	   		 (l_current_seq,
				  'F',
				  l_rowid,
				  l_key_exists);
Line: 129

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 144

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 159

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 163

                           'GR_NO_RECORD_INSERTED');
Line: 174

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 189

END Insert_Row;
Line: 191

PROCEDURE Update_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_rowid IN VARCHAR2,
				  p_combination_sequence IN NUMBER,
				  p_safety_phrase_code IN VARCHAR2,
				  p_combination_group_number IN NUMBER,
				  p_safety_phrase_code_combo IN VARCHAR2,
				  p_display_order IN NUMBER,
				  p_created_by IN NUMBER,
				  p_creation_date IN DATE,
				  p_last_updated_by IN NUMBER,
				  p_last_update_date IN DATE,
				  p_last_update_login IN NUMBER,
				  x_return_status OUT NOCOPY VARCHAR2,
				  x_oracle_error OUT NOCOPY NUMBER,
				  x_msg_data OUT NOCOPY VARCHAR2)
   IS

/*   Alpha Variables */

L_RETURN_STATUS	  VARCHAR2(1) := 'S';
Line: 228

   SAVEPOINT Update_Row;
Line: 248

      UPDATE gr_safety_combinations
	  SET	 combination_sequence_number	 = p_combination_sequence,
	         safety_phrase_code 	 	 	 = p_safety_phrase_code,
	  		 combination_group_number		 = p_combination_group_number,
			 safety_phrase_code_combo		 = p_safety_phrase_code_combo,
			 display_order					 = p_display_order,
			 created_by						 = p_created_by,
			 creation_date					 = p_creation_date,
			 last_updated_by				 = p_last_updated_by,
			 last_update_date				 = p_last_update_date,
			 last_update_login				 = p_last_update_login
	  WHERE  rowid = p_rowid;
Line: 274

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 289

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 293

                           'GR_NO_RECORD_INSERTED');
Line: 304

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 319

END Update_Row;
Line: 332

				  p_last_updated_by IN NUMBER,
				  p_last_update_date IN DATE,
				  p_last_update_login IN NUMBER,
				  x_return_status OUT NOCOPY VARCHAR2,
				  x_oracle_error OUT NOCOPY NUMBER,
				  x_msg_data OUT NOCOPY VARCHAR2)
   IS

/*  Alpha Variables */

L_RETURN_STATUS	  VARCHAR2(1) := 'S';
Line: 359

   SELECT	*
   FROM		gr_safety_combinations
   WHERE	rowid = p_rowid
   FOR UPDATE NOWAIT;
Line: 434

PROCEDURE Delete_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_rowid IN VARCHAR2,
				  p_combination_sequence IN NUMBER,
				  p_safety_phrase_code IN VARCHAR2,
				  p_combination_group_number IN NUMBER,
				  p_safety_phrase_code_combo IN VARCHAR2,
				  p_display_order IN NUMBER,
				  p_created_by IN NUMBER,
				  p_creation_date IN DATE,
				  p_last_updated_by IN NUMBER,
				  p_last_update_date IN DATE,
				  p_last_update_login IN NUMBER,
				  x_return_status OUT NOCOPY VARCHAR2,
				  x_oracle_error OUT NOCOPY NUMBER,
				  x_msg_data OUT NOCOPY VARCHAR2)
   IS

/*   Alpha Variables */

L_RETURN_STATUS	  VARCHAR2(1) := 'S';
Line: 473

   SAVEPOINT Delete_Row;
Line: 496

   DELETE FROM gr_safety_combinations
   WHERE  	   rowid = p_rowid;
Line: 508

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 518

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 533

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 549

END Delete_Row;
Line: 551

PROCEDURE Delete_Rows
	             (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
	              p_safety_phrase_code IN VARCHAR2,
				  x_return_status OUT NOCOPY VARCHAR2,
				  x_oracle_error OUT NOCOPY NUMBER,
				  x_msg_data OUT NOCOPY VARCHAR2)
  IS

/*   Alpha Variables */

L_RETURN_STATUS	  VARCHAR2(1) := 'S';
Line: 576

   SAVEPOINT Delete_Rows;
Line: 582

   DELETE FROM gr_safety_combinations
   WHERE 	   safety_phrase_code = p_safety_phrase_code;
Line: 592

      ROLLBACK TO SAVEPOINT Delete_Rows;
Line: 607

END Delete_Rows;
Line: 788

   SELECT sc.rowid
   FROM	  gr_safety_combinations sc
   WHERE  sc.combination_sequence_number = p_combination_sequence;