DBA Data[Home] [Help]

APPS.GR_ITEM_CONC_DETAILS_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_source_item_code IN VARCHAR2,
				  p_level_hierarchy_code IN NUMBER,
				  p_work_concentration IN NUMBER,
				  p_uom IN VARCHAR2,
				  p_quantity 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: 42

   SAVEPOINT Insert_Row;
Line: 79

   INSERT INTO gr_item_conc_details
   		  	     (item_code,
				  ingredient_item_code,
				  source_item_code,
				  level_hierarchy_code,
				  work_concentration,
				  uom,
				  quantity)
          VALUES
		         (p_item_code,
				  p_ingredient_item_code,
				  p_source_item_code,
				  p_level_hierarchy_code,
				  p_work_concentration,
				  p_uom,
				  p_quantity);
Line: 96

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

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

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 136

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 152

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 157

                           'GR_NO_RECORD_INSERTED');
Line: 168

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 184

END Insert_Row;
Line: 186

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_source_item_code IN VARCHAR2,
				  p_level_hierarchy_code IN NUMBER,
				  p_work_concentration IN NUMBER,
				  p_uom IN VARCHAR2,
				  p_quantity 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: 221

   SAVEPOINT Update_Row;
Line: 244

      UPDATE gr_item_conc_details
	  SET	 item_code		 	 	 		 = p_item_code,
			 ingredient_item_code			 = p_ingredient_item_code,
			 source_item_code				 = p_source_item_code,
	  		 level_hierarchy_code			 = p_level_hierarchy_code,
			 work_concentration				 = p_work_concentration,
			 uom							 = p_uom,
			 quantity						 = p_quantity
	  WHERE  rowid = p_rowid;
Line: 267

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 282

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 286

                           'GR_NO_RECORD_INSERTED');
Line: 297

      ROLLBACK TO SAVEPOINT Update_Row;
Line: 312

END Update_Row;
Line: 350

   SELECT	*
   FROM		gr_item_conc_details
   WHERE	rowid = p_rowid
   FOR UPDATE NOWAIT;
Line: 425

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_source_item_code IN VARCHAR2,
				  p_level_hierarchy_code IN NUMBER,
				  p_work_concentration IN NUMBER,
				  p_uom IN VARCHAR2,
				  p_quantity 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: 461

   SAVEPOINT Delete_Row;
Line: 486

   DELETE FROM gr_item_conc_details
   WHERE  	   rowid = p_rowid;
Line: 498

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 508

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 523

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 539

END Delete_Row;
Line: 541

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

   SAVEPOINT Delete_Rows;
Line: 572

   DELETE FROM gr_item_conc_details
   WHERE 	   item_code = p_item_code;
Line: 582

      ROLLBACK TO SAVEPOINT Delete_Rows;
Line: 597

END Delete_Rows;
Line: 738

   SELECT icd.rowid
   FROM	  gr_item_conc_details icd
   WHERE  icd.item_code = p_item_code
   AND	  icd.ingredient_item_code = p_ingredient_item_code
   AND	  icd.source_item_code = p_source_item_code;