DBA Data[Home] [Help]

APPS.GR_EXPOSURE_TYPES_B_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_exposure_type_code IN VARCHAR2,
				  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: 41

   SAVEPOINT Insert_Row;
Line: 70

   INSERT INTO gr_exposure_types_b
  	     (exposure_type_code,
	      created_by,
	      creation_date,
	      last_updated_by,
	      last_update_date,
	      last_update_login)
          VALUES
	     (p_exposure_type_code,
		  p_created_by,
		  p_creation_date,
		  p_last_updated_by,
		  p_last_update_date,
		  p_last_update_login);
Line: 85

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

   Check_Primary_Key
   		 (p_exposure_type_code,
		  'F',
		  l_rowid,
		  l_key_exists);
Line: 108

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 123

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 138

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 142

                           'GR_NO_RECORD_INSERTED');
Line: 153

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 168

END Insert_Row;
Line: 170

PROCEDURE Update_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_rowid IN VARCHAR2,
				  p_exposure_type_code IN VARCHAR2,
				  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: 202

   SAVEPOINT Update_Row;
Line: 218

      UPDATE	gr_exposure_types_b
	  SET		exposure_type_code		= p_exposure_type_code,
				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: 241

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 256

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 260

                           'GR_NO_RECORD_INSERTED');
Line: 271

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 286

END Update_Row;
Line: 295

				  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: 321

   SELECT	last_update_date
   FROM		gr_exposure_types_b
   WHERE	rowid = p_rowid
   FOR UPDATE NOWAIT;
Line: 345

   IF LockExposureRcd.last_update_date <> p_last_update_date THEN
     RAISE RECORD_CHANGED_ERROR;
Line: 407

PROCEDURE Delete_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_rowid IN VARCHAR2,
				  p_exposure_type_code IN VARCHAR2,
				  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: 440

   SAVEPOINT Delete_Row;
Line: 458

   DELETE FROM gr_exposure_types_b
   WHERE  	   rowid = p_rowid;
Line: 470

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 480

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 495

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 511

END Delete_Row;
Line: 583

   SELECT	COUNT(*)
   FROM     gr_item_exposure
   WHERE	exposure_type_code = p_exposure_type_code;
Line: 661

   SELECT et.rowid
   FROM	  gr_exposure_types_b et
   WHERE  et.exposure_type_code = p_exposure_type_code;