The following lines contain the word 'select', 'insert', 'update' or 'delete':
PROCEDURE Insert_Row( X_Rowid IN OUT NOCOPY VARCHAR2,
X_Asset_policy_id NUMBER,
X_Vendor_id NUMBER,
X_Policy_number VARCHAR2,
X_Asset_id NUMBER,
X_policy_line NUMBER,
X_insurance_category VARCHAR2,
X_hazard_class VARCHAR2,
X_comments VARCHAR2,
X_Last_update_date DATE,
X_Last_updated_by VARCHAR2,
X_Last_update_login VARCHAR2,
X_Creation_date DATE,
X_Created_by VARCHAR2,
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,
X_Attribute16 VARCHAR2,
X_Attribute17 VARCHAR2,
X_Attribute18 VARCHAR2,
X_Attribute19 VARCHAR2,
X_Attribute20 VARCHAR2,
p_log_level_rec IN FA_API_TYPES.log_level_rec_type default null) IS
CURSOR C IS SELECT rowid FROM fa_ins_lines
WHERE asset_policy_id = X_Asset_policy_id;
INSERT INTO fa_ins_lines
(
asset_policy_id,
vendor_id,
policy_number,
asset_id,
policy_line,
insurance_category,
hazard_class,
comments,
last_update_date,
last_updated_by,
last_update_login,
creation_date,
created_by,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20
)
VALUES
(
X_Asset_policy_id,
X_Vendor_id,
X_Policy_number,
X_Asset_id,
X_Policy_line,
X_Insurance_category,
X_Hazard_class,
X_Comments,
X_Last_update_date,
X_Last_updated_by,
X_Last_update_login,
X_Creation_date,
X_Created_by,
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,
X_Attribute16,
X_Attribute17,
X_Attribute18,
X_Attribute19,
X_Attribute20
);
END Insert_Row;
X_Last_update_date DATE,
X_Last_updated_by VARCHAR2,
X_Last_update_login VARCHAR2,
X_Creation_date DATE,
X_Created_by VARCHAR2,
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,
X_Attribute16 VARCHAR2,
X_Attribute17 VARCHAR2,
X_Attribute18 VARCHAR2,
X_Attribute19 VARCHAR2,
X_Attribute20 VARCHAR2,
p_log_level_rec IN FA_API_TYPES.log_level_rec_type default null) IS
CURSOR C IS
SELECT *
FROM fa_ins_lines
WHERE rowid = X_Rowid
FOR UPDATE OF vendor_id NOWAIT;
FND_MESSAGE.Set_Name('FND','FORM_RECORD_DELETED');
PROCEDURE Update_Row( X_Rowid VARCHAR2,
X_Asset_policy_id NUMBER,
X_Vendor_id NUMBER,
X_Policy_number VARCHAR2,
X_Asset_id NUMBER,
X_policy_line NUMBER,
X_insurance_category VARCHAR2,
X_hazard_class VARCHAR2,
X_comments VARCHAR2,
X_Last_update_date DATE,
X_Last_updated_by VARCHAR2,
X_Last_update_login VARCHAR2,
X_Creation_date DATE,
X_Created_by VARCHAR2,
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,
X_Attribute16 VARCHAR2,
X_Attribute17 VARCHAR2,
X_Attribute18 VARCHAR2,
X_Attribute19 VARCHAR2,
X_Attribute20 VARCHAR2,
p_log_level_rec IN FA_API_TYPES.log_level_rec_type default null) IS
BEGIN
UPDATE fa_ins_lines
SET
asset_policy_id = X_Asset_policy_id,
vendor_id = X_vendor_id,
policy_number = X_policy_number,
asset_id = X_asset_id,
policy_line = X_policy_line,
insurance_category = X_insurance_category,
hazard_class = X_hazard_class,
comments = X_comments,
last_update_date = X_Last_update_date,
last_updated_by = X_Last_updated_by,
last_update_login = X_Last_update_login,
creation_date = X_Creation_date,
created_by = X_Created_by,
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,
attribute16 = X_Attribute16,
attribute17 = X_Attribute17,
attribute18 = X_Attribute18,
attribute19 = X_Attribute19,
attribute20 = X_Attribute20
WHERE rowid = X_Rowid;
END Update_Row;
PROCEDURE Delete_Row( X_Rowid VARCHAR2,
p_log_level_rec IN FA_API_TYPES.log_level_rec_type default null) IS
BEGIN
DELETE FROM fa_ins_lines
WHERE rowid = X_Rowid;
END Delete_Row;