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_xrc_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into ben_ext_rcd
( ext_rcd_id,
name,
xml_tag_name,
rcd_type_cd,
low_lvl_cd,
business_group_id,
legislation_code,
xrc_attribute_category,
xrc_attribute1,
xrc_attribute2,
xrc_attribute3,
xrc_attribute4,
xrc_attribute5,
xrc_attribute6,
xrc_attribute7,
xrc_attribute8,
xrc_attribute9,
xrc_attribute10,
xrc_attribute11,
xrc_attribute12,
xrc_attribute13,
xrc_attribute14,
xrc_attribute15,
xrc_attribute16,
xrc_attribute17,
xrc_attribute18,
xrc_attribute19,
xrc_attribute20,
xrc_attribute21,
xrc_attribute22,
xrc_attribute23,
xrc_attribute24,
xrc_attribute25,
xrc_attribute26,
xrc_attribute27,
xrc_attribute28,
xrc_attribute29,
xrc_attribute30,
last_update_date,
creation_date,
last_updated_by,
last_update_login,
created_by,
object_version_number
)
Values
( p_rec.ext_rcd_id,
p_rec.name,
p_rec.xml_tag_name,
p_rec.rcd_type_cd,
p_rec.low_lvl_cd,
p_rec.business_group_id,
p_rec.legislation_code,
p_rec.xrc_attribute_category,
p_rec.xrc_attribute1,
p_rec.xrc_attribute2,
p_rec.xrc_attribute3,
p_rec.xrc_attribute4,
p_rec.xrc_attribute5,
p_rec.xrc_attribute6,
p_rec.xrc_attribute7,
p_rec.xrc_attribute8,
p_rec.xrc_attribute9,
p_rec.xrc_attribute10,
p_rec.xrc_attribute11,
p_rec.xrc_attribute12,
p_rec.xrc_attribute13,
p_rec.xrc_attribute14,
p_rec.xrc_attribute15,
p_rec.xrc_attribute16,
p_rec.xrc_attribute17,
p_rec.xrc_attribute18,
p_rec.xrc_attribute19,
p_rec.xrc_attribute20,
p_rec.xrc_attribute21,
p_rec.xrc_attribute22,
p_rec.xrc_attribute23,
p_rec.xrc_attribute24,
p_rec.xrc_attribute25,
p_rec.xrc_attribute26,
p_rec.xrc_attribute27,
p_rec.xrc_attribute28,
p_rec.xrc_attribute29,
p_rec.xrc_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
);
End insert_dml;
Procedure pre_insert(p_rec in out nocopy ben_xrc_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_insert';
Cursor C_Sel1 is select ben_ext_rcd_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert(
p_effective_date in date,p_rec in ben_xrc_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_insert';
ben_xrc_rki.after_insert
(
p_ext_rcd_id =>p_rec.ext_rcd_id
,p_name =>p_rec.name
,p_xml_tag_name =>p_rec.xml_tag_name
,p_rcd_type_cd =>p_rec.rcd_type_cd
,p_low_lvl_cd =>p_rec.low_lvl_cd
,p_business_group_id =>p_rec.business_group_id
,p_legislation_code =>p_rec.legislation_code
,p_xrc_attribute_category =>p_rec.xrc_attribute_category
,p_xrc_attribute1 =>p_rec.xrc_attribute1
,p_xrc_attribute2 =>p_rec.xrc_attribute2
,p_xrc_attribute3 =>p_rec.xrc_attribute3
,p_xrc_attribute4 =>p_rec.xrc_attribute4
,p_xrc_attribute5 =>p_rec.xrc_attribute5
,p_xrc_attribute6 =>p_rec.xrc_attribute6
,p_xrc_attribute7 =>p_rec.xrc_attribute7
,p_xrc_attribute8 =>p_rec.xrc_attribute8
,p_xrc_attribute9 =>p_rec.xrc_attribute9
,p_xrc_attribute10 =>p_rec.xrc_attribute10
,p_xrc_attribute11 =>p_rec.xrc_attribute11
,p_xrc_attribute12 =>p_rec.xrc_attribute12
,p_xrc_attribute13 =>p_rec.xrc_attribute13
,p_xrc_attribute14 =>p_rec.xrc_attribute14
,p_xrc_attribute15 =>p_rec.xrc_attribute15
,p_xrc_attribute16 =>p_rec.xrc_attribute16
,p_xrc_attribute17 =>p_rec.xrc_attribute17
,p_xrc_attribute18 =>p_rec.xrc_attribute18
,p_xrc_attribute19 =>p_rec.xrc_attribute19
,p_xrc_attribute20 =>p_rec.xrc_attribute20
,p_xrc_attribute21 =>p_rec.xrc_attribute21
,p_xrc_attribute22 =>p_rec.xrc_attribute22
,p_xrc_attribute23 =>p_rec.xrc_attribute23
,p_xrc_attribute24 =>p_rec.xrc_attribute24
,p_xrc_attribute25 =>p_rec.xrc_attribute25
,p_xrc_attribute26 =>p_rec.xrc_attribute26
,p_xrc_attribute27 =>p_rec.xrc_attribute27
,p_xrc_attribute28 =>p_rec.xrc_attribute28
,p_xrc_attribute29 =>p_rec.xrc_attribute29
,p_xrc_attribute30 =>p_rec.xrc_attribute30
,p_object_version_number =>p_rec.object_version_number
,p_effective_date =>p_effective_date
);
End post_insert;
ben_xrc_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
) is
--
l_rec ben_xrc_shd.g_rec_type;
p_last_update_date,
p_creation_date ,
p_last_updated_by ,
p_last_update_login,
p_created_by ,
null
);