The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml(p_rec in out nocopy per_dpf_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into per_deployment_factors
( deployment_factor_id,
position_id,
person_id,
job_id,
business_group_id,
work_any_country,
work_any_location,
relocate_domestically,
relocate_internationally,
travel_required,
country1,
country2,
country3,
work_duration,
work_schedule,
work_hours,
fte_capacity,
visit_internationally,
only_current_location,
no_country1,
no_country2,
no_country3,
comments,
earliest_available_date,
available_for_transfer,
relocation_preference,
relocation_required,
passport_required,
location1,
location2,
location3,
other_requirements,
service_minimum,
object_version_number,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20
)
Values
( p_rec.deployment_factor_id,
p_rec.position_id,
p_rec.person_id,
p_rec.job_id,
p_rec.business_group_id,
p_rec.work_any_country,
p_rec.work_any_location,
p_rec.relocate_domestically,
p_rec.relocate_internationally,
p_rec.travel_required,
p_rec.country1,
p_rec.country2,
p_rec.country3,
p_rec.work_duration,
p_rec.work_schedule,
p_rec.work_hours,
p_rec.fte_capacity,
p_rec.visit_internationally,
p_rec.only_current_location,
p_rec.no_country1,
p_rec.no_country2,
p_rec.no_country3,
p_rec.comments,
p_rec.earliest_available_date,
p_rec.available_for_transfer,
p_rec.relocation_preference,
p_rec.relocation_required,
p_rec.passport_required,
p_rec.location1,
p_rec.location2,
p_rec.location3,
p_rec.other_requirements,
p_rec.service_minimum,
p_rec.object_version_number,
p_rec.attribute_category,
p_rec.attribute1,
p_rec.attribute2,
p_rec.attribute3,
p_rec.attribute4,
p_rec.attribute5,
p_rec.attribute6,
p_rec.attribute7,
p_rec.attribute8,
p_rec.attribute9,
p_rec.attribute10,
p_rec.attribute11,
p_rec.attribute12,
p_rec.attribute13,
p_rec.attribute14,
p_rec.attribute15,
p_rec.attribute16,
p_rec.attribute17,
p_rec.attribute18,
p_rec.attribute19,
p_rec.attribute20
);
End insert_dml;
Procedure pre_insert(p_rec in out nocopy per_dpf_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_insert';
Cursor C_Sel1 is select per_deployment_factors_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert(p_rec in per_dpf_shd.g_rec_type, p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'post_insert';
per_dpf_rki.after_insert
(
p_deployment_factor_id =>p_rec.deployment_factor_id,
p_job_id =>p_rec.job_id,
p_position_id =>p_rec.position_id,
p_person_id =>p_rec.person_id,
p_business_group_id =>p_rec.business_group_id,
p_work_any_country =>p_rec.work_any_country,
p_work_any_location =>p_rec.work_any_location,
p_relocate_domestically =>p_rec.relocate_domestically,
p_relocate_internationally =>p_rec.relocate_internationally,
p_travel_required =>p_rec.travel_required,
p_country1 =>p_rec.country1,
p_country2 =>p_rec.country2,
p_country3 =>p_rec.country3,
p_work_duration =>p_rec.work_duration,
p_work_schedule =>p_rec.work_schedule,
p_work_hours =>p_rec.work_hours,
p_fte_capacity =>p_rec.fte_capacity,
p_visit_internationally =>p_rec.visit_internationally,
p_only_current_location =>p_rec.only_current_location,
p_no_country1 =>p_rec.no_country1,
p_no_country2 =>p_rec.no_country2,
p_no_country3 =>p_rec.no_country3,
p_comments =>p_rec.comments,
p_earliest_available_date =>p_rec.earliest_available_date,
p_available_for_transfer =>p_rec.available_for_transfer,
p_relocation_preference =>p_rec.relocation_preference,
p_relocation_required =>p_rec.relocation_required,
p_passport_required =>p_rec.passport_required,
p_location1 =>p_rec.location1,
p_location2 =>p_rec.location2,
p_location3 =>p_rec.location3,
p_other_requirements =>p_rec.other_requirements,
p_service_minimum =>p_rec.service_minimum,
p_object_version_number =>p_rec.object_version_number,
p_effective_date =>p_effective_date,
p_attribute_category =>p_rec.attribute_category,
p_attribute1 =>p_rec.attribute1,
p_attribute2 =>p_rec.attribute2,
p_attribute3 =>p_rec.attribute3,
p_attribute4 =>p_rec.attribute4,
p_attribute5 =>p_rec.attribute5,
p_attribute6 =>p_rec.attribute6,
p_attribute7 =>p_rec.attribute7,
p_attribute8 =>p_rec.attribute8,
p_attribute9 =>p_rec.attribute9,
p_attribute10 =>p_rec.attribute10,
p_attribute11 =>p_rec.attribute11,
p_attribute12 =>p_rec.attribute12,
p_attribute13 =>p_rec.attribute13,
p_attribute14 =>p_rec.attribute14,
p_attribute15 =>p_rec.attribute15,
p_attribute16 =>p_rec.attribute16,
p_attribute17 =>p_rec.attribute17,
p_attribute18 =>p_rec.attribute18,
p_attribute19 =>p_rec.attribute19,
p_attribute20 =>p_rec.attribute20
);
End post_insert;
per_dpf_bus.insert_validate(p_rec,p_effective_date);
pre_insert(p_rec);
insert_dml(p_rec);
post_insert(p_rec, p_effective_date);