The following lines contain the word 'select', 'insert', 'update' or 'delete':
PROCEDURE Insert_Row(X_Rowid IN OUT NOCOPY VARCHAR2,
X_Pool_Party_Id NUMBER,
X_Funding_Pool_Id NUMBER,
X_Party_Id NUMBER,
X_Currency_Code VARCHAR2,
X_Conversion_Type VARCHAR2,
X_Conversion_Date DATE,
X_Conversion_Rate NUMBER,
X_Initial_Amount NUMBER,
X_Amount NUMBER,
X_Available_Amount NUMBER,
X_Start_Date_Active DATE,
X_End_Date_Active DATE,
X_Last_Update_Date DATE,
X_Last_Updated_By NUMBER,
X_Creation_Date DATE,
X_Created_By NUMBER,
X_Last_Update_Login NUMBER,
X_Attribute_Category VARCHAR2,
X_Attribute1 VARCHAR2,
X_Attribute2 VARCHAR2,
X_Attribute3 VARCHAR2,
X_Attribute4 VARCHAR2,
X_Attribute5 VARCHAR2,
X_Attribute6 VARCHAR2,
X_Attribute7 VARCHAR2,
X_Attribute8 VARCHAR2,
X_Attribute9 VARCHAR2,
X_Attribute10 VARCHAR2,
X_Attribute11 VARCHAR2,
X_Attribute12 VARCHAR2,
X_Attribute13 VARCHAR2,
X_Attribute14 VARCHAR2,
X_Attribute15 VARCHAR2
) is
cursor C is
select rowid
from OKE_POOL_PARTIES
where pool_party_id = X_Pool_Party_Id;
insert into OKE_POOL_PARTIES(
pool_party_id,
funding_pool_id,
party_id,
currency_code,
conversion_type,
conversion_date,
conversion_rate,
initial_amount,
amount,
available_amount,
start_date_active,
end_date_active,
last_update_date,
last_updated_by,
creation_date,
created_by,
last_update_login,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15
) VALUES (
X_Pool_Party_Id,
X_Funding_Pool_Id,
X_Party_Id,
X_Currency_Code,
X_Conversion_Type,
X_Conversion_Date,
X_Conversion_Rate,
X_Initial_Amount,
X_Amount,
X_Available_Amount,
X_Start_Date_Active,
X_End_Date_Active,
X_Last_Update_Date,
X_Last_Updated_By,
X_Creation_Date,
X_Created_By,
X_Last_Update_Login,
X_Attribute_Category,
X_Attribute1,
X_Attribute2,
X_Attribute3,
X_Attribute4,
X_Attribute5,
X_Attribute6,
X_Attribute7,
X_Attribute8,
X_Attribute9,
X_Attribute10,
X_Attribute11,
X_Attribute12,
X_Attribute13,
X_Attribute14,
X_Attribute15
);
end Insert_Row;
select pool_party_id,
funding_pool_id,
party_id,
currency_code,
conversion_type,
conversion_date,
conversion_rate,
initial_amount,
amount,
available_amount,
start_date_active,
end_date_active,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15
from OKE_POOL_PARTIES
where pool_party_id = X_Pool_Party_Id
for update of pool_party_id nowait;
fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
PROCEDURE Update_Row(X_Pool_Party_Id NUMBER,
X_Party_Id NUMBER,
X_Currency_Code VARCHAR2,
X_Conversion_Type VARCHAR2,
X_Conversion_Date DATE,
X_Conversion_Rate NUMBER,
X_Amount NUMBER,
X_Available_Amount NUMBER,
X_Start_Date_Active DATE,
X_End_Date_Active DATE,
X_Last_Update_Date DATE,
X_Last_Updated_By NUMBER,
X_Last_Update_Login NUMBER,
X_Attribute_Category VARCHAR2,
X_Attribute1 VARCHAR2,
X_Attribute2 VARCHAR2,
X_Attribute3 VARCHAR2,
X_Attribute4 VARCHAR2,
X_Attribute5 VARCHAR2,
X_Attribute6 VARCHAR2,
X_Attribute7 VARCHAR2,
X_Attribute8 VARCHAR2,
X_Attribute9 VARCHAR2,
X_Attribute10 VARCHAR2,
X_Attribute11 VARCHAR2,
X_Attribute12 VARCHAR2,
X_Attribute13 VARCHAR2,
X_Attribute14 VARCHAR2,
X_Attribute15 VARCHAR2
) is
begin
update OKE_POOL_PARTIES
set
party_id = X_Party_Id,
currency_code = X_Currency_Code,
conversion_type = X_Conversion_Type,
conversion_date = X_Conversion_Date,
conversion_rate = X_Conversion_Rate,
amount = X_Amount,
available_amount = X_Available_Amount,
start_date_active = X_Start_Date_Active,
end_date_active = X_End_Date_Active,
last_update_date = X_Last_Update_Date,
last_updated_by = X_Last_Updated_By,
last_update_login = X_Last_Update_Login,
attribute_Category = X_Attribute_Category,
attribute1 = X_Attribute1,
attribute2 = X_Attribute2,
attribute3 = X_Attribute3,
attribute4 = X_Attribute4,
attribute5 = X_Attribute5,
attribute6 = X_Attribute6,
attribute7 = X_Attribute7,
attribute8 = X_Attribute8,
attribute9 = X_Attribute9,
attribute10 = X_Attribute10,
attribute11 = X_Attribute11,
attribute12 = X_Attribute12,
attribute13 = X_Attribute13,
attribute14 = X_Attribute14,
attribute15 = X_Attribute15
where pool_party_id = X_Pool_Party_Id;
end Update_Row;
PROCEDURE Delete_Row(X_Rowid VARCHAR2) IS
BEGIN
DELETE FROM OKE_POOL_PARTIES
WHERE rowid = X_Rowid;
END Delete_Row;