DBA Data[Home] [Help]

APPS.GR_ITEM_CONCENTRATIONS_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_item_code IN VARCHAR2,
				  p_ingredient_item_code IN VARCHAR2,
				  p_level_hierarchy_code IN NUMBER,
				  p_concentration_percentage IN NUMBER,
				  p_last_update_date IN DATE,
				  p_last_updated_by IN NUMBER,
				  p_last_update_login IN NUMBER,
				  p_creation_date IN DATE,
				  p_created_by 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: 44

   SAVEPOINT Insert_Row;
Line: 77

   INSERT INTO gr_item_concentrations
   		  	     (item_code,
				  ingredient_item_code,
				  level_hierarchy_code,
				  concentration_percentage,
				  last_update_date,
				  last_updated_by,
				  last_update_login,
				  creation_date,
				  created_by)
          VALUES
		         (p_item_code,
				  p_ingredient_item_code,
				  p_level_hierarchy_code,
				  p_concentration_percentage,
				  p_last_update_date,
				  p_last_updated_by,
				  p_last_update_login,
				  p_creation_date,
				  p_created_by);
Line: 98

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

   Check_Primary_Key
   	   	   		 (p_item_code,
				  p_ingredient_item_code,
				  'F',
				  l_rowid,
				  l_key_exists);
Line: 122

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 137

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 153

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 158

                           'GR_NO_RECORD_INSERTED');
Line: 169

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 185

END Insert_Row;
Line: 187

PROCEDURE Update_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_rowid IN VARCHAR2,
				  p_item_code IN VARCHAR2,
				  p_ingredient_item_code IN VARCHAR2,
				  p_level_hierarchy_code IN NUMBER,
				  p_concentration_percentage IN NUMBER,
				  p_last_update_date IN DATE,
				  p_last_updated_by IN NUMBER,
				  p_last_update_login IN NUMBER,
				  p_creation_date IN DATE,
				  p_created_by 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: 223

   SAVEPOINT Update_Row;
Line: 243

      UPDATE gr_item_concentrations
	  SET	 item_code		 	 	 		 = p_item_code,
			 ingredient_item_code			 = p_ingredient_item_code,
	  		 level_hierarchy_code			 = p_level_hierarchy_code,
			 concentration_percentage		 = p_concentration_percentage,
			 last_update_date	  			 = p_last_update_date,
			 last_updated_by	  			 = p_last_updated_by,
			 last_update_login	  			 = p_last_update_login,
			 creation_date	  				 = p_creation_date,
			 created_by	  					 = p_created_by
	  WHERE  rowid = p_rowid;
Line: 269

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 284

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 288

                           'GR_NO_RECORD_INSERTED');
Line: 299

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 314

END Update_Row;
Line: 324

				  p_last_update_date IN DATE,
				  p_last_updated_by IN NUMBER,
				  p_last_update_login IN NUMBER,
				  p_creation_date IN DATE,
				  p_created_by 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: 354

   SELECT	*
   FROM		gr_item_concentrations
   WHERE	rowid = p_rowid
   FOR UPDATE NOWAIT;
Line: 429

PROCEDURE Delete_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_rowid IN VARCHAR2,
				  p_item_code IN VARCHAR2,
				  p_ingredient_item_code IN VARCHAR2,
				  p_level_hierarchy_code IN NUMBER,
				  p_concentration_percentage IN NUMBER,
				  p_last_update_date IN DATE,
				  p_last_updated_by IN NUMBER,
				  p_last_update_login IN NUMBER,
				  p_creation_date IN DATE,
				  p_created_by 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: 468

   SAVEPOINT Delete_Row;
Line: 491

   DELETE FROM gr_item_concentrations
   WHERE  	   rowid = p_rowid;
Line: 503

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 513

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 528

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 544

END Delete_Row;
Line: 546

PROCEDURE Delete_Rows
	             (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
	              p_item_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: 571

   SAVEPOINT Delete_Rows;
Line: 577

   DELETE FROM gr_item_concentrations
   WHERE 	   item_code = p_item_code;
Line: 587

      ROLLBACK TO SAVEPOINT Delete_Rows;
Line: 602

END Delete_Rows;
Line: 737

   SELECT ic.rowid
   FROM	  gr_item_concentrations ic
   WHERE  ic.item_code = p_item_code
   AND	  ic.ingredient_item_code = p_ingredient_item_code;