The following lines contain the word 'select', 'insert', 'update' or 'delete':
PROCEDURE update_dml
(p_rec IN OUT NOCOPY pay_pyr_shd.g_rec_type
) IS
--
l_proc VARCHAR2(72) := g_package||'update_dml';
update pay_rates
set
rate_id = p_rec.rate_id
,parent_spine_id = p_rec.parent_spine_id
,name = p_rec.name
,rate_uom = p_rec.rate_uom
,comments = p_rec.comments
,request_id = p_rec.request_id
,program_application_id = p_rec.program_application_id
,program_id = p_rec.program_id
,program_update_date = p_rec.program_update_date
,attribute_category = p_rec.attribute_category
,attribute1 = p_rec.attribute1
,attribute2 = p_rec.attribute2
,attribute3 = p_rec.attribute3
,attribute4 = p_rec.attribute4
,attribute5 = p_rec.attribute5
,attribute6 = p_rec.attribute6
,attribute7 = p_rec.attribute7
,attribute8 = p_rec.attribute8
,attribute9 = p_rec.attribute9
,attribute10 = p_rec.attribute10
,attribute11 = p_rec.attribute11
,attribute12 = p_rec.attribute12
,attribute13 = p_rec.attribute13
,attribute14 = p_rec.attribute14
,attribute15 = p_rec.attribute15
,attribute16 = p_rec.attribute16
,attribute17 = p_rec.attribute17
,attribute18 = p_rec.attribute18
,attribute19 = p_rec.attribute19
,attribute20 = p_rec.attribute20
,rate_basis = p_rec.rate_basis
,asg_rate_type = p_rec.asg_rate_type
,object_version_number = p_rec.object_version_number
WHERE rate_id = p_rec.rate_id;
END update_dml;
PROCEDURE pre_update
(p_rec IN pay_pyr_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 pay_pyr_shd.g_rec_type
) IS
--
l_proc VARCHAR2(72) := g_package||'post_update';
pay_pyr_rku.after_update
(p_effective_date => p_effective_date
,p_rate_id
=> p_rec.rate_id
,p_business_group_id
=> p_rec.business_group_id
,p_parent_spine_id
=> p_rec.parent_spine_id
,p_name
=> p_rec.name
,p_rate_type
=> p_rec.rate_type
,p_rate_uom
=> p_rec.rate_uom
,p_comments
=> p_rec.comments
,p_request_id
=> p_rec.request_id
,p_program_application_id
=> p_rec.program_application_id
,p_program_id
=> p_rec.program_id
,p_program_update_date
=> p_rec.program_update_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
,p_rate_basis
=> p_rec.rate_basis
,p_asg_rate_type
=> p_rec.asg_rate_type
,p_object_version_number
=> p_rec.object_version_number
,p_business_group_id_o
=> pay_pyr_shd.g_old_rec.business_group_id
,p_parent_spine_id_o
=> pay_pyr_shd.g_old_rec.parent_spine_id
,p_name_o
=> pay_pyr_shd.g_old_rec.name
,p_rate_type_o
=> pay_pyr_shd.g_old_rec.rate_type
,p_rate_uom_o
=> pay_pyr_shd.g_old_rec.rate_uom
,p_comments_o
=> pay_pyr_shd.g_old_rec.comments
,p_request_id_o
=> pay_pyr_shd.g_old_rec.request_id
,p_program_application_id_o
=> pay_pyr_shd.g_old_rec.program_application_id
,p_program_id_o
=> pay_pyr_shd.g_old_rec.program_id
,p_program_update_date_o
=> pay_pyr_shd.g_old_rec.program_update_date
,p_attribute_category_o
=> pay_pyr_shd.g_old_rec.attribute_category
,p_attribute1_o
=> pay_pyr_shd.g_old_rec.attribute1
,p_attribute2_o
=> pay_pyr_shd.g_old_rec.attribute2
,p_attribute3_o
=> pay_pyr_shd.g_old_rec.attribute3
,p_attribute4_o
=> pay_pyr_shd.g_old_rec.attribute4
,p_attribute5_o
=> pay_pyr_shd.g_old_rec.attribute5
,p_attribute6_o
=> pay_pyr_shd.g_old_rec.attribute6
,p_attribute7_o
=> pay_pyr_shd.g_old_rec.attribute7
,p_attribute8_o
=> pay_pyr_shd.g_old_rec.attribute8
,p_attribute9_o
=> pay_pyr_shd.g_old_rec.attribute9
,p_attribute10_o
=> pay_pyr_shd.g_old_rec.attribute10
,p_attribute11_o
=> pay_pyr_shd.g_old_rec.attribute11
,p_attribute12_o
=> pay_pyr_shd.g_old_rec.attribute12
,p_attribute13_o
=> pay_pyr_shd.g_old_rec.attribute13
,p_attribute14_o
=> pay_pyr_shd.g_old_rec.attribute14
,p_attribute15_o
=> pay_pyr_shd.g_old_rec.attribute15
,p_attribute16_o
=> pay_pyr_shd.g_old_rec.attribute16
,p_attribute17_o
=> pay_pyr_shd.g_old_rec.attribute17
,p_attribute18_o
=> pay_pyr_shd.g_old_rec.attribute18
,p_attribute19_o
=> pay_pyr_shd.g_old_rec.attribute19
,p_attribute20_o
=> pay_pyr_shd.g_old_rec.attribute20
,p_rate_basis_o
=> pay_pyr_shd.g_old_rec.rate_basis
,p_asg_rate_type_o
=> pay_pyr_shd.g_old_rec.asg_rate_type
,p_object_version_number_o
=> pay_pyr_shd.g_old_rec.object_version_number
);
END post_update;
IF (p_rec.program_update_date = hr_api.g_date) THEN
p_rec.program_update_date :=
pay_pyr_shd.g_old_rec.program_update_date;
pay_pyr_bus.update_validate
(p_effective_date
,p_rec
);
pay_pyr_upd.pre_update(p_rec);
pay_pyr_upd.update_dml(p_rec);
pay_pyr_upd.post_update
(p_effective_date
,p_rec
);