The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT product_short_name
FROM hr_owner_definitions
WHERE session_id = p_session_id;
INSERT INTO hr_application_ownerships
(key_name
,key_value
,product_name
)
VALUES
(p_pk_column
,fnd_number.number_to_canonical(p_pk_value)
,c1.product_short_name
);
Procedure insert_dml(p_rec in out nocopy ben_xdf_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into ben_ext_dfn
( ext_dfn_id,
name,
xml_tag_name,
xdo_template_id,
data_typ_cd,
ext_typ_cd,
output_name,
output_type,
apnd_rqst_id_flag,
prmy_sort_cd,
scnd_sort_cd,
strt_dt,
end_dt,
ext_crit_prfl_id,
ext_file_id,
business_group_id,
legislation_code,
xdf_attribute_category,
xdf_attribute1,
xdf_attribute2,
xdf_attribute3,
xdf_attribute4,
xdf_attribute5,
xdf_attribute6,
xdf_attribute7,
xdf_attribute8,
xdf_attribute9,
xdf_attribute10,
xdf_attribute11,
xdf_attribute12,
xdf_attribute13,
xdf_attribute14,
xdf_attribute15,
xdf_attribute16,
xdf_attribute17,
xdf_attribute18,
xdf_attribute19,
xdf_attribute20,
xdf_attribute21,
xdf_attribute22,
xdf_attribute23,
xdf_attribute24,
xdf_attribute25,
xdf_attribute26,
xdf_attribute27,
xdf_attribute28,
xdf_attribute29,
xdf_attribute30,
last_update_date,
creation_date,
last_updated_by,
last_update_login,
created_by,
object_version_number,
drctry_name,
kickoff_wrt_prc_flag,
upd_cm_sent_dt_flag,
spcl_hndl_flag,
ext_global_flag,
cm_display_flag,
use_eff_dt_for_chgs_flag,
ext_post_prcs_rl
)
Values
( p_rec.ext_dfn_id,
p_rec.name,
p_rec.xml_tag_name,
p_rec.xdo_template_id,
p_rec.data_typ_cd,
p_rec.ext_typ_cd,
p_rec.output_name,
p_rec.output_type,
p_rec.apnd_rqst_id_flag,
p_rec.prmy_sort_cd,
p_rec.scnd_sort_cd,
p_rec.strt_dt,
p_rec.end_dt,
p_rec.ext_crit_prfl_id,
p_rec.ext_file_id,
p_rec.business_group_id,
p_rec.legislation_code,
p_rec.xdf_attribute_category,
p_rec.xdf_attribute1,
p_rec.xdf_attribute2,
p_rec.xdf_attribute3,
p_rec.xdf_attribute4,
p_rec.xdf_attribute5,
p_rec.xdf_attribute6,
p_rec.xdf_attribute7,
p_rec.xdf_attribute8,
p_rec.xdf_attribute9,
p_rec.xdf_attribute10,
p_rec.xdf_attribute11,
p_rec.xdf_attribute12,
p_rec.xdf_attribute13,
p_rec.xdf_attribute14,
p_rec.xdf_attribute15,
p_rec.xdf_attribute16,
p_rec.xdf_attribute17,
p_rec.xdf_attribute18,
p_rec.xdf_attribute19,
p_rec.xdf_attribute20,
p_rec.xdf_attribute21,
p_rec.xdf_attribute22,
p_rec.xdf_attribute23,
p_rec.xdf_attribute24,
p_rec.xdf_attribute25,
p_rec.xdf_attribute26,
p_rec.xdf_attribute27,
p_rec.xdf_attribute28,
p_rec.xdf_attribute29,
p_rec.xdf_attribute30,
p_rec.last_update_date,
p_rec.creation_date,
p_rec.last_updated_by,
p_rec.last_update_login,
p_rec.created_by,
p_rec.object_version_number,
p_rec.drctry_name,
p_rec.kickoff_wrt_prc_flag,
p_rec.upd_cm_sent_dt_flag,
p_rec.spcl_hndl_flag,
p_rec.ext_global_flag,
p_rec.cm_display_flag,
p_rec.use_eff_dt_for_chgs_flag,
p_rec.ext_post_prcs_rl
);
End insert_dml;
Procedure pre_insert(p_rec in out nocopy ben_xdf_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_insert';
Cursor C_Sel1 is select ben_ext_dfn_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert(
p_effective_date in date,p_rec in ben_xdf_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_insert';
ben_xdf_rki.after_insert
(
p_ext_dfn_id =>p_rec.ext_dfn_id
,p_name =>p_rec.name
,p_xml_tag_name =>p_rec.xml_tag_name
,p_xdo_template_id =>p_rec.xdo_template_id
,p_data_typ_cd =>p_rec.data_typ_cd
,p_ext_typ_cd =>p_rec.ext_typ_cd
,p_output_name =>p_rec.output_name
,p_output_type =>p_rec.output_type
,p_apnd_rqst_id_flag =>p_rec.apnd_rqst_id_flag
,p_prmy_sort_cd =>p_rec.prmy_sort_cd
,p_scnd_sort_cd =>p_rec.scnd_sort_cd
,p_strt_dt =>p_rec.strt_dt
,p_end_dt =>p_rec.end_dt
,p_ext_crit_prfl_id =>p_rec.ext_crit_prfl_id
,p_ext_file_id =>p_rec.ext_file_id
,p_business_group_id =>p_rec.business_group_id
,p_legislation_code =>p_rec.legislation_code
,p_xdf_attribute_category =>p_rec.xdf_attribute_category
,p_xdf_attribute1 =>p_rec.xdf_attribute1
,p_xdf_attribute2 =>p_rec.xdf_attribute2
,p_xdf_attribute3 =>p_rec.xdf_attribute3
,p_xdf_attribute4 =>p_rec.xdf_attribute4
,p_xdf_attribute5 =>p_rec.xdf_attribute5
,p_xdf_attribute6 =>p_rec.xdf_attribute6
,p_xdf_attribute7 =>p_rec.xdf_attribute7
,p_xdf_attribute8 =>p_rec.xdf_attribute8
,p_xdf_attribute9 =>p_rec.xdf_attribute9
,p_xdf_attribute10 =>p_rec.xdf_attribute10
,p_xdf_attribute11 =>p_rec.xdf_attribute11
,p_xdf_attribute12 =>p_rec.xdf_attribute12
,p_xdf_attribute13 =>p_rec.xdf_attribute13
,p_xdf_attribute14 =>p_rec.xdf_attribute14
,p_xdf_attribute15 =>p_rec.xdf_attribute15
,p_xdf_attribute16 =>p_rec.xdf_attribute16
,p_xdf_attribute17 =>p_rec.xdf_attribute17
,p_xdf_attribute18 =>p_rec.xdf_attribute18
,p_xdf_attribute19 =>p_rec.xdf_attribute19
,p_xdf_attribute20 =>p_rec.xdf_attribute20
,p_xdf_attribute21 =>p_rec.xdf_attribute21
,p_xdf_attribute22 =>p_rec.xdf_attribute22
,p_xdf_attribute23 =>p_rec.xdf_attribute23
,p_xdf_attribute24 =>p_rec.xdf_attribute24
,p_xdf_attribute25 =>p_rec.xdf_attribute25
,p_xdf_attribute26 =>p_rec.xdf_attribute26
,p_xdf_attribute27 =>p_rec.xdf_attribute27
,p_xdf_attribute28 =>p_rec.xdf_attribute28
,p_xdf_attribute29 =>p_rec.xdf_attribute29
,p_xdf_attribute30 =>p_rec.xdf_attribute30
,p_object_version_number =>p_rec.object_version_number
,p_drctry_name =>p_rec.drctry_name
,p_kickoff_wrt_prc_flag =>p_rec.kickoff_wrt_prc_flag
,p_upd_cm_sent_dt_flag =>p_rec.upd_cm_sent_dt_flag
,p_spcl_hndl_flag =>p_rec.spcl_hndl_flag
,p_ext_global_flag =>p_rec.ext_global_flag
,p_cm_display_flag =>p_rec.cm_display_flag
,p_use_eff_dt_for_chgs_flag =>p_rec.use_eff_dt_for_chgs_flag
,p_ext_post_prcs_rl =>p_rec.ext_post_prcs_rl
,p_effective_date =>p_effective_date
);
End post_insert;
ben_xdf_bus.insert_validate(p_rec
,p_effective_date);
pre_insert(p_rec);
insert_dml(p_rec);
post_insert(
p_effective_date,p_rec);
p_last_update_date in date default null,
p_creation_date in date default null,
p_last_updated_by in number default null,
p_last_update_login in number default null,
p_created_by in number default null,
p_object_version_number out nocopy number,
p_drctry_name in varchar2 default null,
p_kickoff_wrt_prc_flag in varchar2,
p_upd_cm_sent_dt_flag in varchar2 default null,
p_spcl_hndl_flag in varchar2 default null,
p_ext_global_flag in varchar2 default null,
p_cm_display_flag in varchar2 default null,
p_use_eff_dt_for_chgs_flag in varchar2 default null,
p_ext_post_prcs_rl in number default null
) is
--
l_rec ben_xdf_shd.g_rec_type;
p_last_update_date,
p_creation_date ,
p_last_updated_by ,
p_last_update_login,
p_created_by ,
null,
p_drctry_name,
p_kickoff_wrt_prc_flag,
p_upd_cm_sent_dt_flag,
p_spcl_hndl_flag,
p_ext_global_flag,
p_cm_display_flag,
p_use_eff_dt_for_chgs_flag,
p_ext_post_prcs_rl
);