The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy per_pem_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update per_previous_employers
set
previous_employer_id = p_rec.previous_employer_id
,business_group_id = p_rec.business_group_id
,person_id = p_rec.person_id
,party_id = p_rec.party_id
,start_date = p_rec.start_date
,end_date = p_rec.end_date
,period_years = p_rec.period_years
,period_days = p_rec.period_days
,employer_name = p_rec.employer_name
,employer_country = p_rec.employer_country
,employer_address = p_rec.employer_address
,employer_type = p_rec.employer_type
,employer_subtype = p_rec.employer_subtype
,description = p_rec.description
,pem_attribute_category = p_rec.pem_attribute_category
,pem_attribute1 = p_rec.pem_attribute1
,pem_attribute2 = p_rec.pem_attribute2
,pem_attribute3 = p_rec.pem_attribute3
,pem_attribute4 = p_rec.pem_attribute4
,pem_attribute5 = p_rec.pem_attribute5
,pem_attribute6 = p_rec.pem_attribute6
,pem_attribute7 = p_rec.pem_attribute7
,pem_attribute8 = p_rec.pem_attribute8
,pem_attribute9 = p_rec.pem_attribute9
,pem_attribute10 = p_rec.pem_attribute10
,pem_attribute11 = p_rec.pem_attribute11
,pem_attribute12 = p_rec.pem_attribute12
,pem_attribute13 = p_rec.pem_attribute13
,pem_attribute14 = p_rec.pem_attribute14
,pem_attribute15 = p_rec.pem_attribute15
,pem_attribute16 = p_rec.pem_attribute16
,pem_attribute17 = p_rec.pem_attribute17
,pem_attribute18 = p_rec.pem_attribute18
,pem_attribute19 = p_rec.pem_attribute19
,pem_attribute20 = p_rec.pem_attribute20
,pem_attribute21 = p_rec.pem_attribute21
,pem_attribute22 = p_rec.pem_attribute22
,pem_attribute23 = p_rec.pem_attribute23
,pem_attribute24 = p_rec.pem_attribute24
,pem_attribute25 = p_rec.pem_attribute25
,pem_attribute26 = p_rec.pem_attribute26
,pem_attribute27 = p_rec.pem_attribute27
,pem_attribute28 = p_rec.pem_attribute28
,pem_attribute29 = p_rec.pem_attribute29
,pem_attribute30 = p_rec.pem_attribute30
,pem_information_category = p_rec.pem_information_category
,pem_information1 = p_rec.pem_information1
,pem_information2 = p_rec.pem_information2
,pem_information3 = p_rec.pem_information3
,pem_information4 = p_rec.pem_information4
,pem_information5 = p_rec.pem_information5
,pem_information6 = p_rec.pem_information6
,pem_information7 = p_rec.pem_information7
,pem_information8 = p_rec.pem_information8
,pem_information9 = p_rec.pem_information9
,pem_information10 = p_rec.pem_information10
,pem_information11 = p_rec.pem_information11
,pem_information12 = p_rec.pem_information12
,pem_information13 = p_rec.pem_information13
,pem_information14 = p_rec.pem_information14
,pem_information15 = p_rec.pem_information15
,pem_information16 = p_rec.pem_information16
,pem_information17 = p_rec.pem_information17
,pem_information18 = p_rec.pem_information18
,pem_information19 = p_rec.pem_information19
,pem_information20 = p_rec.pem_information20
,pem_information21 = p_rec.pem_information21
,pem_information22 = p_rec.pem_information22
,pem_information23 = p_rec.pem_information23
,pem_information24 = p_rec.pem_information24
,pem_information25 = p_rec.pem_information25
,pem_information26 = p_rec.pem_information26
,pem_information27 = p_rec.pem_information27
,pem_information28 = p_rec.pem_information28
,pem_information29 = p_rec.pem_information29
,pem_information30 = p_rec.pem_information30
,object_version_number = p_rec.object_version_number
,all_assignments = p_rec.all_assignments
,period_months = p_rec.period_months
where previous_employer_id = p_rec.previous_employer_id;
End update_dml;
Procedure pre_update
(p_rec in per_pem_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_effective_date in date
,p_rec in per_pem_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
per_pem_rku.after_update
(p_effective_date => p_effective_date
,p_previous_employer_id
=> p_rec.previous_employer_id
,p_business_group_id
=> p_rec.business_group_id
,p_person_id
=> p_rec.person_id
,p_party_id
=> p_rec.party_id
,p_start_date
=> p_rec.start_date
,p_end_date
=> p_rec.end_date
,p_period_years
=> p_rec.period_years
,p_period_days
=> p_rec.period_days
,p_employer_name
=> p_rec.employer_name
,p_employer_country
=> p_rec.employer_country
,p_employer_address
=> p_rec.employer_address
,p_employer_type
=> p_rec.employer_type
,p_employer_subtype
=> p_rec.employer_subtype
,p_description
=> p_rec.description
,p_pem_attribute_category
=> p_rec.pem_attribute_category
,p_pem_attribute1
=> p_rec.pem_attribute1
,p_pem_attribute2
=> p_rec.pem_attribute2
,p_pem_attribute3
=> p_rec.pem_attribute3
,p_pem_attribute4
=> p_rec.pem_attribute4
,p_pem_attribute5
=> p_rec.pem_attribute5
,p_pem_attribute6
=> p_rec.pem_attribute6
,p_pem_attribute7
=> p_rec.pem_attribute7
,p_pem_attribute8
=> p_rec.pem_attribute8
,p_pem_attribute9
=> p_rec.pem_attribute9
,p_pem_attribute10
=> p_rec.pem_attribute10
,p_pem_attribute11
=> p_rec.pem_attribute11
,p_pem_attribute12
=> p_rec.pem_attribute12
,p_pem_attribute13
=> p_rec.pem_attribute13
,p_pem_attribute14
=> p_rec.pem_attribute14
,p_pem_attribute15
=> p_rec.pem_attribute15
,p_pem_attribute16
=> p_rec.pem_attribute16
,p_pem_attribute17
=> p_rec.pem_attribute17
,p_pem_attribute18
=> p_rec.pem_attribute18
,p_pem_attribute19
=> p_rec.pem_attribute19
,p_pem_attribute20
=> p_rec.pem_attribute20
,p_pem_attribute21
=> p_rec.pem_attribute21
,p_pem_attribute22
=> p_rec.pem_attribute22
,p_pem_attribute23
=> p_rec.pem_attribute23
,p_pem_attribute24
=> p_rec.pem_attribute24
,p_pem_attribute25
=> p_rec.pem_attribute25
,p_pem_attribute26
=> p_rec.pem_attribute26
,p_pem_attribute27
=> p_rec.pem_attribute27
,p_pem_attribute28
=> p_rec.pem_attribute28
,p_pem_attribute29
=> p_rec.pem_attribute29
,p_pem_attribute30
=> p_rec.pem_attribute30
,p_pem_information_category
=> p_rec.pem_information_category
,p_pem_information1
=> p_rec.pem_information1
,p_pem_information2
=> p_rec.pem_information2
,p_pem_information3
=> p_rec.pem_information3
,p_pem_information4
=> p_rec.pem_information4
,p_pem_information5
=> p_rec.pem_information5
,p_pem_information6
=> p_rec.pem_information6
,p_pem_information7
=> p_rec.pem_information7
,p_pem_information8
=> p_rec.pem_information8
,p_pem_information9
=> p_rec.pem_information9
,p_pem_information10
=> p_rec.pem_information10
,p_pem_information11
=> p_rec.pem_information11
,p_pem_information12
=> p_rec.pem_information12
,p_pem_information13
=> p_rec.pem_information13
,p_pem_information14
=> p_rec.pem_information14
,p_pem_information15
=> p_rec.pem_information15
,p_pem_information16
=> p_rec.pem_information16
,p_pem_information17
=> p_rec.pem_information17
,p_pem_information18
=> p_rec.pem_information18
,p_pem_information19
=> p_rec.pem_information19
,p_pem_information20
=> p_rec.pem_information20
,p_pem_information21
=> p_rec.pem_information21
,p_pem_information22
=> p_rec.pem_information22
,p_pem_information23
=> p_rec.pem_information23
,p_pem_information24
=> p_rec.pem_information24
,p_pem_information25
=> p_rec.pem_information25
,p_pem_information26
=> p_rec.pem_information26
,p_pem_information27
=> p_rec.pem_information27
,p_pem_information28
=> p_rec.pem_information28
,p_pem_information29
=> p_rec.pem_information29
,p_pem_information30
=> p_rec.pem_information30
,p_object_version_number
=> p_rec.object_version_number
,p_all_assignments
=> p_rec.all_assignments
,p_period_months
=> p_rec.period_months
,p_business_group_id_o
=> per_pem_shd.g_old_rec.business_group_id
,p_person_id_o
=> per_pem_shd.g_old_rec.person_id
,p_party_id_o
=> per_pem_shd.g_old_rec.party_id
,p_start_date_o
=> per_pem_shd.g_old_rec.start_date
,p_end_date_o
=> per_pem_shd.g_old_rec.end_date
,p_period_years_o
=> per_pem_shd.g_old_rec.period_years
,p_period_days_o
=> per_pem_shd.g_old_rec.period_days
,p_employer_name_o
=> per_pem_shd.g_old_rec.employer_name
,p_employer_country_o
=> per_pem_shd.g_old_rec.employer_country
,p_employer_address_o
=> per_pem_shd.g_old_rec.employer_address
,p_employer_type_o
=> per_pem_shd.g_old_rec.employer_type
,p_employer_subtype_o
=> per_pem_shd.g_old_rec.employer_subtype
,p_description_o
=> per_pem_shd.g_old_rec.description
,p_pem_attribute_category_o
=> per_pem_shd.g_old_rec.pem_attribute_category
,p_pem_attribute1_o
=> per_pem_shd.g_old_rec.pem_attribute1
,p_pem_attribute2_o
=> per_pem_shd.g_old_rec.pem_attribute2
,p_pem_attribute3_o
=> per_pem_shd.g_old_rec.pem_attribute3
,p_pem_attribute4_o
=> per_pem_shd.g_old_rec.pem_attribute4
,p_pem_attribute5_o
=> per_pem_shd.g_old_rec.pem_attribute5
,p_pem_attribute6_o
=> per_pem_shd.g_old_rec.pem_attribute6
,p_pem_attribute7_o
=> per_pem_shd.g_old_rec.pem_attribute7
,p_pem_attribute8_o
=> per_pem_shd.g_old_rec.pem_attribute8
,p_pem_attribute9_o
=> per_pem_shd.g_old_rec.pem_attribute9
,p_pem_attribute10_o
=> per_pem_shd.g_old_rec.pem_attribute10
,p_pem_attribute11_o
=> per_pem_shd.g_old_rec.pem_attribute11
,p_pem_attribute12_o
=> per_pem_shd.g_old_rec.pem_attribute12
,p_pem_attribute13_o
=> per_pem_shd.g_old_rec.pem_attribute13
,p_pem_attribute14_o
=> per_pem_shd.g_old_rec.pem_attribute14
,p_pem_attribute15_o
=> per_pem_shd.g_old_rec.pem_attribute15
,p_pem_attribute16_o
=> per_pem_shd.g_old_rec.pem_attribute16
,p_pem_attribute17_o
=> per_pem_shd.g_old_rec.pem_attribute17
,p_pem_attribute18_o
=> per_pem_shd.g_old_rec.pem_attribute18
,p_pem_attribute19_o
=> per_pem_shd.g_old_rec.pem_attribute19
,p_pem_attribute20_o
=> per_pem_shd.g_old_rec.pem_attribute20
,p_pem_attribute21_o
=> per_pem_shd.g_old_rec.pem_attribute21
,p_pem_attribute22_o
=> per_pem_shd.g_old_rec.pem_attribute22
,p_pem_attribute23_o
=> per_pem_shd.g_old_rec.pem_attribute23
,p_pem_attribute24_o
=> per_pem_shd.g_old_rec.pem_attribute24
,p_pem_attribute25_o
=> per_pem_shd.g_old_rec.pem_attribute25
,p_pem_attribute26_o
=> per_pem_shd.g_old_rec.pem_attribute26
,p_pem_attribute27_o
=> per_pem_shd.g_old_rec.pem_attribute27
,p_pem_attribute28_o
=> per_pem_shd.g_old_rec.pem_attribute28
,p_pem_attribute29_o
=> per_pem_shd.g_old_rec.pem_attribute29
,p_pem_attribute30_o
=> per_pem_shd.g_old_rec.pem_attribute30
,p_pem_information_category_o
=> per_pem_shd.g_old_rec.pem_information_category
,p_pem_information1_o
=> per_pem_shd.g_old_rec.pem_information1
,p_pem_information2_o
=> per_pem_shd.g_old_rec.pem_information2
,p_pem_information3_o
=> per_pem_shd.g_old_rec.pem_information3
,p_pem_information4_o
=> per_pem_shd.g_old_rec.pem_information4
,p_pem_information5_o
=> per_pem_shd.g_old_rec.pem_information5
,p_pem_information6_o
=> per_pem_shd.g_old_rec.pem_information6
,p_pem_information7_o
=> per_pem_shd.g_old_rec.pem_information7
,p_pem_information8_o
=> per_pem_shd.g_old_rec.pem_information8
,p_pem_information9_o
=> per_pem_shd.g_old_rec.pem_information9
,p_pem_information10_o
=> per_pem_shd.g_old_rec.pem_information10
,p_pem_information11_o
=> per_pem_shd.g_old_rec.pem_information11
,p_pem_information12_o
=> per_pem_shd.g_old_rec.pem_information12
,p_pem_information13_o
=> per_pem_shd.g_old_rec.pem_information13
,p_pem_information14_o
=> per_pem_shd.g_old_rec.pem_information14
,p_pem_information15_o
=> per_pem_shd.g_old_rec.pem_information15
,p_pem_information16_o
=> per_pem_shd.g_old_rec.pem_information16
,p_pem_information17_o
=> per_pem_shd.g_old_rec.pem_information17
,p_pem_information18_o
=> per_pem_shd.g_old_rec.pem_information18
,p_pem_information19_o
=> per_pem_shd.g_old_rec.pem_information19
,p_pem_information20_o
=> per_pem_shd.g_old_rec.pem_information20
,p_pem_information21_o
=> per_pem_shd.g_old_rec.pem_information21
,p_pem_information22_o
=> per_pem_shd.g_old_rec.pem_information22
,p_pem_information23_o
=> per_pem_shd.g_old_rec.pem_information23
,p_pem_information24_o
=> per_pem_shd.g_old_rec.pem_information24
,p_pem_information25_o
=> per_pem_shd.g_old_rec.pem_information25
,p_pem_information26_o
=> per_pem_shd.g_old_rec.pem_information26
,p_pem_information27_o
=> per_pem_shd.g_old_rec.pem_information27
,p_pem_information28_o
=> per_pem_shd.g_old_rec.pem_information28
,p_pem_information29_o
=> per_pem_shd.g_old_rec.pem_information29
,p_pem_information30_o
=> per_pem_shd.g_old_rec.pem_information30
,p_object_version_number_o
=> per_pem_shd.g_old_rec.object_version_number
,p_all_assignments_o
=> per_pem_shd.g_old_rec.all_assignments
,p_period_months_o
=> per_pem_shd.g_old_rec.period_months
);
End post_update;
per_pem_bus.update_validate
(p_effective_date
,p_rec
);
per_pem_upd.pre_update(p_rec);
per_pem_upd.update_dml(p_rec);
per_pem_upd.post_update
(p_effective_date
,p_rec
);