The following lines contain the word 'select', 'insert', 'update' or 'delete':
PROCEDURE delete_app_ownerships(p_pk_column IN varchar2
,p_pk_value IN varchar2) IS
--
BEGIN
--
IF (hr_startup_data_api_support.return_startup_mode
IN ('STARTUP','GENERIC')) THEN
--
DELETE FROM hr_application_ownerships
WHERE key_name = p_pk_column
AND key_value = p_pk_value;
END delete_app_ownerships;
PROCEDURE delete_app_ownerships(p_pk_column IN varchar2
,p_pk_value IN number) IS
--
BEGIN
delete_app_ownerships(p_pk_column, to_char(p_pk_value));
END delete_app_ownerships;
Procedure delete_dml
(p_rec in pqh_crd_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_dml';
delete from pqh_criteria_rate_defn
where criteria_rate_defn_id = p_rec.criteria_rate_defn_id;
End delete_dml;
Procedure pre_delete(p_rec in pqh_crd_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_delete';
End pre_delete;
Procedure post_delete(p_rec in pqh_crd_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_delete';
delete_app_ownerships
('CRITERIA_RATE_DEFN_ID', p_rec.criteria_rate_defn_id
);
pqh_crd_rkd.after_delete
(p_criteria_rate_defn_id
=> p_rec.criteria_rate_defn_id
,p_short_name_o
=> pqh_crd_shd.g_old_rec.short_name
,p_uom_o
=> pqh_crd_shd.g_old_rec.uom
,p_currency_code_o
=> pqh_crd_shd.g_old_rec.currency_code
,p_reference_period_cd_o
=> pqh_crd_shd.g_old_rec.reference_period_cd
,p_define_max_rate_flag_o
=> pqh_crd_shd.g_old_rec.define_max_rate_flag
,p_define_min_rate_flag_o
=> pqh_crd_shd.g_old_rec.define_min_rate_flag
,p_define_mid_rate_flag_o
=> pqh_crd_shd.g_old_rec.define_mid_rate_flag
,p_define_std_rate_flag_o
=> pqh_crd_shd.g_old_rec.define_std_rate_flag
,p_rate_calc_cd_o
=> pqh_crd_shd.g_old_rec.rate_calc_cd
,p_rate_calc_rule_o
=> pqh_crd_shd.g_old_rec.rate_calc_rule
,p_preferential_rate_cd_o
=> pqh_crd_shd.g_old_rec.preferential_rate_cd
,p_preferential_rate_rule_o
=> pqh_crd_shd.g_old_rec.preferential_rate_rule
,p_rounding_cd_o
=> pqh_crd_shd.g_old_rec.rounding_cd
,p_rounding_rule_o
=> pqh_crd_shd.g_old_rec.rounding_rule
,p_business_group_id_o
=> pqh_crd_shd.g_old_rec.business_group_id
,p_legislation_code_o
=> pqh_crd_shd.g_old_rec.legislation_code
,p_attribute_category_o
=> pqh_crd_shd.g_old_rec.attribute_category
,p_attribute1_o
=> pqh_crd_shd.g_old_rec.attribute1
,p_attribute2_o
=> pqh_crd_shd.g_old_rec.attribute2
,p_attribute3_o
=> pqh_crd_shd.g_old_rec.attribute3
,p_attribute4_o
=> pqh_crd_shd.g_old_rec.attribute4
,p_attribute5_o
=> pqh_crd_shd.g_old_rec.attribute5
,p_attribute6_o
=> pqh_crd_shd.g_old_rec.attribute6
,p_attribute7_o
=> pqh_crd_shd.g_old_rec.attribute7
,p_attribute8_o
=> pqh_crd_shd.g_old_rec.attribute8
,p_attribute9_o
=> pqh_crd_shd.g_old_rec.attribute9
,p_attribute10_o
=> pqh_crd_shd.g_old_rec.attribute10
,p_attribute11_o
=> pqh_crd_shd.g_old_rec.attribute11
,p_attribute12_o
=> pqh_crd_shd.g_old_rec.attribute12
,p_attribute13_o
=> pqh_crd_shd.g_old_rec.attribute13
,p_attribute14_o
=> pqh_crd_shd.g_old_rec.attribute14
,p_attribute15_o
=> pqh_crd_shd.g_old_rec.attribute15
,p_attribute16_o
=> pqh_crd_shd.g_old_rec.attribute16
,p_attribute17_o
=> pqh_crd_shd.g_old_rec.attribute17
,p_attribute18_o
=> pqh_crd_shd.g_old_rec.attribute18
,p_attribute19_o
=> pqh_crd_shd.g_old_rec.attribute19
,p_attribute20_o
=> pqh_crd_shd.g_old_rec.attribute20
,p_attribute21_o
=> pqh_crd_shd.g_old_rec.attribute21
,p_attribute22_o
=> pqh_crd_shd.g_old_rec.attribute22
,p_attribute23_o
=> pqh_crd_shd.g_old_rec.attribute23
,p_attribute24_o
=> pqh_crd_shd.g_old_rec.attribute24
,p_attribute25_o
=> pqh_crd_shd.g_old_rec.attribute25
,p_attribute26_o
=> pqh_crd_shd.g_old_rec.attribute26
,p_attribute27_o
=> pqh_crd_shd.g_old_rec.attribute27
,p_attribute28_o
=> pqh_crd_shd.g_old_rec.attribute28
,p_attribute29_o
=> pqh_crd_shd.g_old_rec.attribute29
,p_attribute30_o
=> pqh_crd_shd.g_old_rec.attribute30
,p_object_version_number_o
=> pqh_crd_shd.g_old_rec.object_version_number
);
End post_delete;
pqh_crd_bus.delete_validate(p_rec);
pqh_crd_del.pre_delete(p_rec);
pqh_crd_del.delete_dml(p_rec);
pqh_crd_del.post_delete(p_rec);