DBA Data[Home] [Help]

APPS.GR_ITEM_EXPLOSION_PROP_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_ingredient_flag IN VARCHAR2,
				  p_explode_ingredient_flag IN VARCHAR2,
				  p_organization_id IN NUMBER,
				  p_inventory_item_id IN NUMBER,
				  p_actual_hazard 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: 78

   INSERT INTO gr_item_explosion_properties
   		  	     (organization_id,
				  inventory_item_id,
				  ingredient_flag,
				  explode_ingredient_flag,
				  actual_hazard,
				  created_by,
				  creation_date,
				  last_updated_by,
				  last_update_date,
				  last_update_login)
          VALUES
		         (p_organization_id,
				  p_inventory_item_id,
				  p_ingredient_flag,
				  p_explode_ingredient_flag,
				  p_actual_hazard,
				  p_created_by,
				  p_creation_date,
				  p_last_updated_by,
				  p_last_update_date,
				  p_last_update_login);
Line: 101

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

   Check_Primary_Key
   	   	   		 (p_organization_id,
				  p_inventory_item_id,
				  'F',
				  l_rowid,
				  l_key_exists);
Line: 125

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 140

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 155

      ROLLBACK TO SAVEPOINT Insert_Row;
Line: 159

                           'GR_NO_RECORD_INSERTED');
Line: 170

      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_ingredient_flag IN VARCHAR2,
				  p_explode_ingredient_flag IN VARCHAR2,
				  p_organization_id IN NUMBER,
				  p_inventory_item_id IN NUMBER,
				  p_actual_hazard 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: 223

   SAVEPOINT Update_Row;
Line: 243

      UPDATE gr_item_explosion_properties
	  SET	 organization_id                 = p_organization_id,
	         inventory_item_id 	 	 = p_inventory_item_id,
		 ingredient_flag		 = p_ingredient_flag,
		 explode_ingredient_flag	 = p_explode_ingredient_flag,
		 actual_hazard			 = p_actual_hazard,
		 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: 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: 327

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

   SELECT	*
   FROM		gr_item_explosion_properties
   WHERE	rowid = p_rowid
   FOR UPDATE NOWAIT;
Line: 428

PROCEDURE Delete_Row
	   			 (p_commit IN VARCHAR2,
				  p_called_by_form IN VARCHAR2,
				  p_rowid IN VARCHAR2,
				  p_ingredient_flag IN VARCHAR2,
				  p_explode_ingredient_flag IN VARCHAR2,
				  p_organization_id IN NUMBER,
				  p_inventory_item_id IN NUMBER,
				  p_actual_hazard 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: 467

   SAVEPOINT Delete_Row;
Line: 490

   DELETE FROM gr_item_general
   WHERE  	   rowid = p_rowid;
Line: 502

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 512

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 527

      ROLLBACK TO SAVEPOINT Delete_Row;
Line: 543

END Delete_Row;
Line: 624

   SELECT COUNT(*)
   FROM	  gr_inv_item_properties ip
   WHERE  ip.organization_id   = p_organization_id
   AND    ip.inventory_item_id = p_inventory_item_id;
Line: 714

   SELECT ig.rowid
   FROM	  gr_item_explosion_properties ig
   WHERE  ig.organization_id   = p_organization_id
   AND    ig.inventory_item_id = p_inventory_item_id;