51: --
52: -- {End Of Comments}
53: -- ----------------------------------------------------------------------------
54: Procedure update_dml
55: (p_rec in out nocopy per_pmp_shd.g_rec_type
56: ) is
57: --
58: l_proc varchar2(72) := g_package||'update_dml';
59: --
139: Exception
140: When hr_api.check_integrity_violated Then
141: -- A check constraint has been violated
142: --
143: per_pmp_shd.constraint_error
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.parent_integrity_violated Then
146: -- Parent integrity has been violated
147: --
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.parent_integrity_violated Then
146: -- Parent integrity has been violated
147: --
148: per_pmp_shd.constraint_error
149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When hr_api.unique_integrity_violated Then
151: -- Unique integrity has been violated
152: --
149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When hr_api.unique_integrity_violated Then
151: -- Unique integrity has been violated
152: --
153: per_pmp_shd.constraint_error
154: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
155: When Others Then
156: --
157: Raise;
189: --
190: -- {End Of Comments}
191: -- ----------------------------------------------------------------------------
192: Procedure pre_update
193: (p_rec in per_pmp_shd.g_rec_type
194: ) is
195: --
196: l_proc varchar2(72) := g_package||'pre_update';
197: --
234: -- {End Of Comments}
235: -- ----------------------------------------------------------------------------
236: Procedure post_update
237: (p_effective_date in date
238: ,p_rec in per_pmp_shd.g_rec_type
239: ,p_duplicate_name_warning in boolean
240: ,p_no_life_events_warning in boolean
241: ) is
242: --
374: => p_rec.attribute29
375: ,p_attribute30
376: => p_rec.attribute30
377: ,p_object_version_number_o
378: => per_pmp_shd.g_old_rec.object_version_number
379: ,p_plan_name_o
380: => per_pmp_shd.g_old_rec.plan_name
381: ,p_administrator_person_id_o
382: => per_pmp_shd.g_old_rec.administrator_person_id
376: => p_rec.attribute30
377: ,p_object_version_number_o
378: => per_pmp_shd.g_old_rec.object_version_number
379: ,p_plan_name_o
380: => per_pmp_shd.g_old_rec.plan_name
381: ,p_administrator_person_id_o
382: => per_pmp_shd.g_old_rec.administrator_person_id
383: ,p_previous_plan_id_o
384: => per_pmp_shd.g_old_rec.previous_plan_id
378: => per_pmp_shd.g_old_rec.object_version_number
379: ,p_plan_name_o
380: => per_pmp_shd.g_old_rec.plan_name
381: ,p_administrator_person_id_o
382: => per_pmp_shd.g_old_rec.administrator_person_id
383: ,p_previous_plan_id_o
384: => per_pmp_shd.g_old_rec.previous_plan_id
385: ,p_start_date_o
386: => per_pmp_shd.g_old_rec.start_date
380: => per_pmp_shd.g_old_rec.plan_name
381: ,p_administrator_person_id_o
382: => per_pmp_shd.g_old_rec.administrator_person_id
383: ,p_previous_plan_id_o
384: => per_pmp_shd.g_old_rec.previous_plan_id
385: ,p_start_date_o
386: => per_pmp_shd.g_old_rec.start_date
387: ,p_end_date_o
388: => per_pmp_shd.g_old_rec.end_date
382: => per_pmp_shd.g_old_rec.administrator_person_id
383: ,p_previous_plan_id_o
384: => per_pmp_shd.g_old_rec.previous_plan_id
385: ,p_start_date_o
386: => per_pmp_shd.g_old_rec.start_date
387: ,p_end_date_o
388: => per_pmp_shd.g_old_rec.end_date
389: ,p_status_code_o
390: => per_pmp_shd.g_old_rec.status_code
384: => per_pmp_shd.g_old_rec.previous_plan_id
385: ,p_start_date_o
386: => per_pmp_shd.g_old_rec.start_date
387: ,p_end_date_o
388: => per_pmp_shd.g_old_rec.end_date
389: ,p_status_code_o
390: => per_pmp_shd.g_old_rec.status_code
391: ,p_hierarchy_type_code_o
392: => per_pmp_shd.g_old_rec.hierarchy_type_code
386: => per_pmp_shd.g_old_rec.start_date
387: ,p_end_date_o
388: => per_pmp_shd.g_old_rec.end_date
389: ,p_status_code_o
390: => per_pmp_shd.g_old_rec.status_code
391: ,p_hierarchy_type_code_o
392: => per_pmp_shd.g_old_rec.hierarchy_type_code
393: ,p_supervisor_id_o
394: => per_pmp_shd.g_old_rec.supervisor_id
388: => per_pmp_shd.g_old_rec.end_date
389: ,p_status_code_o
390: => per_pmp_shd.g_old_rec.status_code
391: ,p_hierarchy_type_code_o
392: => per_pmp_shd.g_old_rec.hierarchy_type_code
393: ,p_supervisor_id_o
394: => per_pmp_shd.g_old_rec.supervisor_id
395: ,p_supervisor_assignment_id_o
396: => per_pmp_shd.g_old_rec.supervisor_assignment_id
390: => per_pmp_shd.g_old_rec.status_code
391: ,p_hierarchy_type_code_o
392: => per_pmp_shd.g_old_rec.hierarchy_type_code
393: ,p_supervisor_id_o
394: => per_pmp_shd.g_old_rec.supervisor_id
395: ,p_supervisor_assignment_id_o
396: => per_pmp_shd.g_old_rec.supervisor_assignment_id
397: ,p_organization_structure_id_o
398: => per_pmp_shd.g_old_rec.organization_structure_id
392: => per_pmp_shd.g_old_rec.hierarchy_type_code
393: ,p_supervisor_id_o
394: => per_pmp_shd.g_old_rec.supervisor_id
395: ,p_supervisor_assignment_id_o
396: => per_pmp_shd.g_old_rec.supervisor_assignment_id
397: ,p_organization_structure_id_o
398: => per_pmp_shd.g_old_rec.organization_structure_id
399: ,p_org_structure_version_id_o
400: => per_pmp_shd.g_old_rec.org_structure_version_id
394: => per_pmp_shd.g_old_rec.supervisor_id
395: ,p_supervisor_assignment_id_o
396: => per_pmp_shd.g_old_rec.supervisor_assignment_id
397: ,p_organization_structure_id_o
398: => per_pmp_shd.g_old_rec.organization_structure_id
399: ,p_org_structure_version_id_o
400: => per_pmp_shd.g_old_rec.org_structure_version_id
401: ,p_top_organization_id_o
402: => per_pmp_shd.g_old_rec.top_organization_id
396: => per_pmp_shd.g_old_rec.supervisor_assignment_id
397: ,p_organization_structure_id_o
398: => per_pmp_shd.g_old_rec.organization_structure_id
399: ,p_org_structure_version_id_o
400: => per_pmp_shd.g_old_rec.org_structure_version_id
401: ,p_top_organization_id_o
402: => per_pmp_shd.g_old_rec.top_organization_id
403: ,p_position_structure_id_o
404: => per_pmp_shd.g_old_rec.position_structure_id
398: => per_pmp_shd.g_old_rec.organization_structure_id
399: ,p_org_structure_version_id_o
400: => per_pmp_shd.g_old_rec.org_structure_version_id
401: ,p_top_organization_id_o
402: => per_pmp_shd.g_old_rec.top_organization_id
403: ,p_position_structure_id_o
404: => per_pmp_shd.g_old_rec.position_structure_id
405: ,p_pos_structure_version_id_o
406: => per_pmp_shd.g_old_rec.pos_structure_version_id
400: => per_pmp_shd.g_old_rec.org_structure_version_id
401: ,p_top_organization_id_o
402: => per_pmp_shd.g_old_rec.top_organization_id
403: ,p_position_structure_id_o
404: => per_pmp_shd.g_old_rec.position_structure_id
405: ,p_pos_structure_version_id_o
406: => per_pmp_shd.g_old_rec.pos_structure_version_id
407: ,p_top_position_id_o
408: => per_pmp_shd.g_old_rec.top_position_id
402: => per_pmp_shd.g_old_rec.top_organization_id
403: ,p_position_structure_id_o
404: => per_pmp_shd.g_old_rec.position_structure_id
405: ,p_pos_structure_version_id_o
406: => per_pmp_shd.g_old_rec.pos_structure_version_id
407: ,p_top_position_id_o
408: => per_pmp_shd.g_old_rec.top_position_id
409: ,p_hierarchy_levels_o
410: => per_pmp_shd.g_old_rec.hierarchy_levels
404: => per_pmp_shd.g_old_rec.position_structure_id
405: ,p_pos_structure_version_id_o
406: => per_pmp_shd.g_old_rec.pos_structure_version_id
407: ,p_top_position_id_o
408: => per_pmp_shd.g_old_rec.top_position_id
409: ,p_hierarchy_levels_o
410: => per_pmp_shd.g_old_rec.hierarchy_levels
411: ,p_automatic_enrollment_flag_o
412: => per_pmp_shd.g_old_rec.automatic_enrollment_flag
406: => per_pmp_shd.g_old_rec.pos_structure_version_id
407: ,p_top_position_id_o
408: => per_pmp_shd.g_old_rec.top_position_id
409: ,p_hierarchy_levels_o
410: => per_pmp_shd.g_old_rec.hierarchy_levels
411: ,p_automatic_enrollment_flag_o
412: => per_pmp_shd.g_old_rec.automatic_enrollment_flag
413: ,p_assignment_types_code_o
414: => per_pmp_shd.g_old_rec.assignment_types_code
408: => per_pmp_shd.g_old_rec.top_position_id
409: ,p_hierarchy_levels_o
410: => per_pmp_shd.g_old_rec.hierarchy_levels
411: ,p_automatic_enrollment_flag_o
412: => per_pmp_shd.g_old_rec.automatic_enrollment_flag
413: ,p_assignment_types_code_o
414: => per_pmp_shd.g_old_rec.assignment_types_code
415: ,p_primary_asg_only_flag_o
416: => per_pmp_shd.g_old_rec.primary_asg_only_flag
410: => per_pmp_shd.g_old_rec.hierarchy_levels
411: ,p_automatic_enrollment_flag_o
412: => per_pmp_shd.g_old_rec.automatic_enrollment_flag
413: ,p_assignment_types_code_o
414: => per_pmp_shd.g_old_rec.assignment_types_code
415: ,p_primary_asg_only_flag_o
416: => per_pmp_shd.g_old_rec.primary_asg_only_flag
417: ,p_include_obj_setting_flag_o
418: => per_pmp_shd.g_old_rec.include_obj_setting_flag
412: => per_pmp_shd.g_old_rec.automatic_enrollment_flag
413: ,p_assignment_types_code_o
414: => per_pmp_shd.g_old_rec.assignment_types_code
415: ,p_primary_asg_only_flag_o
416: => per_pmp_shd.g_old_rec.primary_asg_only_flag
417: ,p_include_obj_setting_flag_o
418: => per_pmp_shd.g_old_rec.include_obj_setting_flag
419: ,p_obj_setting_start_date_o
420: => per_pmp_shd.g_old_rec.obj_setting_start_date
414: => per_pmp_shd.g_old_rec.assignment_types_code
415: ,p_primary_asg_only_flag_o
416: => per_pmp_shd.g_old_rec.primary_asg_only_flag
417: ,p_include_obj_setting_flag_o
418: => per_pmp_shd.g_old_rec.include_obj_setting_flag
419: ,p_obj_setting_start_date_o
420: => per_pmp_shd.g_old_rec.obj_setting_start_date
421: ,p_obj_setting_deadline_o
422: => per_pmp_shd.g_old_rec.obj_setting_deadline
416: => per_pmp_shd.g_old_rec.primary_asg_only_flag
417: ,p_include_obj_setting_flag_o
418: => per_pmp_shd.g_old_rec.include_obj_setting_flag
419: ,p_obj_setting_start_date_o
420: => per_pmp_shd.g_old_rec.obj_setting_start_date
421: ,p_obj_setting_deadline_o
422: => per_pmp_shd.g_old_rec.obj_setting_deadline
423: ,p_obj_set_outside_period_fla_o
424: => per_pmp_shd.g_old_rec.obj_set_outside_period_flag
418: => per_pmp_shd.g_old_rec.include_obj_setting_flag
419: ,p_obj_setting_start_date_o
420: => per_pmp_shd.g_old_rec.obj_setting_start_date
421: ,p_obj_setting_deadline_o
422: => per_pmp_shd.g_old_rec.obj_setting_deadline
423: ,p_obj_set_outside_period_fla_o
424: => per_pmp_shd.g_old_rec.obj_set_outside_period_flag
425: ,p_method_code_o
426: => per_pmp_shd.g_old_rec.method_code
420: => per_pmp_shd.g_old_rec.obj_setting_start_date
421: ,p_obj_setting_deadline_o
422: => per_pmp_shd.g_old_rec.obj_setting_deadline
423: ,p_obj_set_outside_period_fla_o
424: => per_pmp_shd.g_old_rec.obj_set_outside_period_flag
425: ,p_method_code_o
426: => per_pmp_shd.g_old_rec.method_code
427: ,p_notify_population_flag_o
428: => per_pmp_shd.g_old_rec.notify_population_flag
422: => per_pmp_shd.g_old_rec.obj_setting_deadline
423: ,p_obj_set_outside_period_fla_o
424: => per_pmp_shd.g_old_rec.obj_set_outside_period_flag
425: ,p_method_code_o
426: => per_pmp_shd.g_old_rec.method_code
427: ,p_notify_population_flag_o
428: => per_pmp_shd.g_old_rec.notify_population_flag
429: ,p_automatic_allocation_flag_o
430: => per_pmp_shd.g_old_rec.automatic_allocation_flag
424: => per_pmp_shd.g_old_rec.obj_set_outside_period_flag
425: ,p_method_code_o
426: => per_pmp_shd.g_old_rec.method_code
427: ,p_notify_population_flag_o
428: => per_pmp_shd.g_old_rec.notify_population_flag
429: ,p_automatic_allocation_flag_o
430: => per_pmp_shd.g_old_rec.automatic_allocation_flag
431: ,p_copy_past_objectives_flag_o
432: => per_pmp_shd.g_old_rec.copy_past_objectives_flag
426: => per_pmp_shd.g_old_rec.method_code
427: ,p_notify_population_flag_o
428: => per_pmp_shd.g_old_rec.notify_population_flag
429: ,p_automatic_allocation_flag_o
430: => per_pmp_shd.g_old_rec.automatic_allocation_flag
431: ,p_copy_past_objectives_flag_o
432: => per_pmp_shd.g_old_rec.copy_past_objectives_flag
433: ,p_sharing_alignment_task_fla_o
434: => per_pmp_shd.g_old_rec.sharing_alignment_task_flag
428: => per_pmp_shd.g_old_rec.notify_population_flag
429: ,p_automatic_allocation_flag_o
430: => per_pmp_shd.g_old_rec.automatic_allocation_flag
431: ,p_copy_past_objectives_flag_o
432: => per_pmp_shd.g_old_rec.copy_past_objectives_flag
433: ,p_sharing_alignment_task_fla_o
434: => per_pmp_shd.g_old_rec.sharing_alignment_task_flag
435: ,p_include_appraisals_flag_o
436: => per_pmp_shd.g_old_rec.include_appraisals_flag
430: => per_pmp_shd.g_old_rec.automatic_allocation_flag
431: ,p_copy_past_objectives_flag_o
432: => per_pmp_shd.g_old_rec.copy_past_objectives_flag
433: ,p_sharing_alignment_task_fla_o
434: => per_pmp_shd.g_old_rec.sharing_alignment_task_flag
435: ,p_include_appraisals_flag_o
436: => per_pmp_shd.g_old_rec.include_appraisals_flag
437: ,p_change_sc_status_flag_o => per_pmp_shd.g_old_rec.change_sc_status_flag
438: ,p_attribute_category_o
432: => per_pmp_shd.g_old_rec.copy_past_objectives_flag
433: ,p_sharing_alignment_task_fla_o
434: => per_pmp_shd.g_old_rec.sharing_alignment_task_flag
435: ,p_include_appraisals_flag_o
436: => per_pmp_shd.g_old_rec.include_appraisals_flag
437: ,p_change_sc_status_flag_o => per_pmp_shd.g_old_rec.change_sc_status_flag
438: ,p_attribute_category_o
439: => per_pmp_shd.g_old_rec.attribute_category
440: ,p_attribute1_o
433: ,p_sharing_alignment_task_fla_o
434: => per_pmp_shd.g_old_rec.sharing_alignment_task_flag
435: ,p_include_appraisals_flag_o
436: => per_pmp_shd.g_old_rec.include_appraisals_flag
437: ,p_change_sc_status_flag_o => per_pmp_shd.g_old_rec.change_sc_status_flag
438: ,p_attribute_category_o
439: => per_pmp_shd.g_old_rec.attribute_category
440: ,p_attribute1_o
441: => per_pmp_shd.g_old_rec.attribute1
435: ,p_include_appraisals_flag_o
436: => per_pmp_shd.g_old_rec.include_appraisals_flag
437: ,p_change_sc_status_flag_o => per_pmp_shd.g_old_rec.change_sc_status_flag
438: ,p_attribute_category_o
439: => per_pmp_shd.g_old_rec.attribute_category
440: ,p_attribute1_o
441: => per_pmp_shd.g_old_rec.attribute1
442: ,p_attribute2_o
443: => per_pmp_shd.g_old_rec.attribute2
437: ,p_change_sc_status_flag_o => per_pmp_shd.g_old_rec.change_sc_status_flag
438: ,p_attribute_category_o
439: => per_pmp_shd.g_old_rec.attribute_category
440: ,p_attribute1_o
441: => per_pmp_shd.g_old_rec.attribute1
442: ,p_attribute2_o
443: => per_pmp_shd.g_old_rec.attribute2
444: ,p_attribute3_o
445: => per_pmp_shd.g_old_rec.attribute3
439: => per_pmp_shd.g_old_rec.attribute_category
440: ,p_attribute1_o
441: => per_pmp_shd.g_old_rec.attribute1
442: ,p_attribute2_o
443: => per_pmp_shd.g_old_rec.attribute2
444: ,p_attribute3_o
445: => per_pmp_shd.g_old_rec.attribute3
446: ,p_attribute4_o
447: => per_pmp_shd.g_old_rec.attribute4
441: => per_pmp_shd.g_old_rec.attribute1
442: ,p_attribute2_o
443: => per_pmp_shd.g_old_rec.attribute2
444: ,p_attribute3_o
445: => per_pmp_shd.g_old_rec.attribute3
446: ,p_attribute4_o
447: => per_pmp_shd.g_old_rec.attribute4
448: ,p_attribute5_o
449: => per_pmp_shd.g_old_rec.attribute5
443: => per_pmp_shd.g_old_rec.attribute2
444: ,p_attribute3_o
445: => per_pmp_shd.g_old_rec.attribute3
446: ,p_attribute4_o
447: => per_pmp_shd.g_old_rec.attribute4
448: ,p_attribute5_o
449: => per_pmp_shd.g_old_rec.attribute5
450: ,p_attribute6_o
451: => per_pmp_shd.g_old_rec.attribute6
445: => per_pmp_shd.g_old_rec.attribute3
446: ,p_attribute4_o
447: => per_pmp_shd.g_old_rec.attribute4
448: ,p_attribute5_o
449: => per_pmp_shd.g_old_rec.attribute5
450: ,p_attribute6_o
451: => per_pmp_shd.g_old_rec.attribute6
452: ,p_attribute7_o
453: => per_pmp_shd.g_old_rec.attribute7
447: => per_pmp_shd.g_old_rec.attribute4
448: ,p_attribute5_o
449: => per_pmp_shd.g_old_rec.attribute5
450: ,p_attribute6_o
451: => per_pmp_shd.g_old_rec.attribute6
452: ,p_attribute7_o
453: => per_pmp_shd.g_old_rec.attribute7
454: ,p_attribute8_o
455: => per_pmp_shd.g_old_rec.attribute8
449: => per_pmp_shd.g_old_rec.attribute5
450: ,p_attribute6_o
451: => per_pmp_shd.g_old_rec.attribute6
452: ,p_attribute7_o
453: => per_pmp_shd.g_old_rec.attribute7
454: ,p_attribute8_o
455: => per_pmp_shd.g_old_rec.attribute8
456: ,p_attribute9_o
457: => per_pmp_shd.g_old_rec.attribute9
451: => per_pmp_shd.g_old_rec.attribute6
452: ,p_attribute7_o
453: => per_pmp_shd.g_old_rec.attribute7
454: ,p_attribute8_o
455: => per_pmp_shd.g_old_rec.attribute8
456: ,p_attribute9_o
457: => per_pmp_shd.g_old_rec.attribute9
458: ,p_attribute10_o
459: => per_pmp_shd.g_old_rec.attribute10
453: => per_pmp_shd.g_old_rec.attribute7
454: ,p_attribute8_o
455: => per_pmp_shd.g_old_rec.attribute8
456: ,p_attribute9_o
457: => per_pmp_shd.g_old_rec.attribute9
458: ,p_attribute10_o
459: => per_pmp_shd.g_old_rec.attribute10
460: ,p_attribute11_o
461: => per_pmp_shd.g_old_rec.attribute11
455: => per_pmp_shd.g_old_rec.attribute8
456: ,p_attribute9_o
457: => per_pmp_shd.g_old_rec.attribute9
458: ,p_attribute10_o
459: => per_pmp_shd.g_old_rec.attribute10
460: ,p_attribute11_o
461: => per_pmp_shd.g_old_rec.attribute11
462: ,p_attribute12_o
463: => per_pmp_shd.g_old_rec.attribute12
457: => per_pmp_shd.g_old_rec.attribute9
458: ,p_attribute10_o
459: => per_pmp_shd.g_old_rec.attribute10
460: ,p_attribute11_o
461: => per_pmp_shd.g_old_rec.attribute11
462: ,p_attribute12_o
463: => per_pmp_shd.g_old_rec.attribute12
464: ,p_attribute13_o
465: => per_pmp_shd.g_old_rec.attribute13
459: => per_pmp_shd.g_old_rec.attribute10
460: ,p_attribute11_o
461: => per_pmp_shd.g_old_rec.attribute11
462: ,p_attribute12_o
463: => per_pmp_shd.g_old_rec.attribute12
464: ,p_attribute13_o
465: => per_pmp_shd.g_old_rec.attribute13
466: ,p_attribute14_o
467: => per_pmp_shd.g_old_rec.attribute14
461: => per_pmp_shd.g_old_rec.attribute11
462: ,p_attribute12_o
463: => per_pmp_shd.g_old_rec.attribute12
464: ,p_attribute13_o
465: => per_pmp_shd.g_old_rec.attribute13
466: ,p_attribute14_o
467: => per_pmp_shd.g_old_rec.attribute14
468: ,p_attribute15_o
469: => per_pmp_shd.g_old_rec.attribute15
463: => per_pmp_shd.g_old_rec.attribute12
464: ,p_attribute13_o
465: => per_pmp_shd.g_old_rec.attribute13
466: ,p_attribute14_o
467: => per_pmp_shd.g_old_rec.attribute14
468: ,p_attribute15_o
469: => per_pmp_shd.g_old_rec.attribute15
470: ,p_attribute16_o
471: => per_pmp_shd.g_old_rec.attribute16
465: => per_pmp_shd.g_old_rec.attribute13
466: ,p_attribute14_o
467: => per_pmp_shd.g_old_rec.attribute14
468: ,p_attribute15_o
469: => per_pmp_shd.g_old_rec.attribute15
470: ,p_attribute16_o
471: => per_pmp_shd.g_old_rec.attribute16
472: ,p_attribute17_o
473: => per_pmp_shd.g_old_rec.attribute17
467: => per_pmp_shd.g_old_rec.attribute14
468: ,p_attribute15_o
469: => per_pmp_shd.g_old_rec.attribute15
470: ,p_attribute16_o
471: => per_pmp_shd.g_old_rec.attribute16
472: ,p_attribute17_o
473: => per_pmp_shd.g_old_rec.attribute17
474: ,p_attribute18_o
475: => per_pmp_shd.g_old_rec.attribute18
469: => per_pmp_shd.g_old_rec.attribute15
470: ,p_attribute16_o
471: => per_pmp_shd.g_old_rec.attribute16
472: ,p_attribute17_o
473: => per_pmp_shd.g_old_rec.attribute17
474: ,p_attribute18_o
475: => per_pmp_shd.g_old_rec.attribute18
476: ,p_attribute19_o
477: => per_pmp_shd.g_old_rec.attribute19
471: => per_pmp_shd.g_old_rec.attribute16
472: ,p_attribute17_o
473: => per_pmp_shd.g_old_rec.attribute17
474: ,p_attribute18_o
475: => per_pmp_shd.g_old_rec.attribute18
476: ,p_attribute19_o
477: => per_pmp_shd.g_old_rec.attribute19
478: ,p_attribute20_o
479: => per_pmp_shd.g_old_rec.attribute20
473: => per_pmp_shd.g_old_rec.attribute17
474: ,p_attribute18_o
475: => per_pmp_shd.g_old_rec.attribute18
476: ,p_attribute19_o
477: => per_pmp_shd.g_old_rec.attribute19
478: ,p_attribute20_o
479: => per_pmp_shd.g_old_rec.attribute20
480: ,p_attribute21_o
481: => per_pmp_shd.g_old_rec.attribute21
475: => per_pmp_shd.g_old_rec.attribute18
476: ,p_attribute19_o
477: => per_pmp_shd.g_old_rec.attribute19
478: ,p_attribute20_o
479: => per_pmp_shd.g_old_rec.attribute20
480: ,p_attribute21_o
481: => per_pmp_shd.g_old_rec.attribute21
482: ,p_attribute22_o
483: => per_pmp_shd.g_old_rec.attribute22
477: => per_pmp_shd.g_old_rec.attribute19
478: ,p_attribute20_o
479: => per_pmp_shd.g_old_rec.attribute20
480: ,p_attribute21_o
481: => per_pmp_shd.g_old_rec.attribute21
482: ,p_attribute22_o
483: => per_pmp_shd.g_old_rec.attribute22
484: ,p_attribute23_o
485: => per_pmp_shd.g_old_rec.attribute23
479: => per_pmp_shd.g_old_rec.attribute20
480: ,p_attribute21_o
481: => per_pmp_shd.g_old_rec.attribute21
482: ,p_attribute22_o
483: => per_pmp_shd.g_old_rec.attribute22
484: ,p_attribute23_o
485: => per_pmp_shd.g_old_rec.attribute23
486: ,p_attribute24_o
487: => per_pmp_shd.g_old_rec.attribute24
481: => per_pmp_shd.g_old_rec.attribute21
482: ,p_attribute22_o
483: => per_pmp_shd.g_old_rec.attribute22
484: ,p_attribute23_o
485: => per_pmp_shd.g_old_rec.attribute23
486: ,p_attribute24_o
487: => per_pmp_shd.g_old_rec.attribute24
488: ,p_attribute25_o
489: => per_pmp_shd.g_old_rec.attribute25
483: => per_pmp_shd.g_old_rec.attribute22
484: ,p_attribute23_o
485: => per_pmp_shd.g_old_rec.attribute23
486: ,p_attribute24_o
487: => per_pmp_shd.g_old_rec.attribute24
488: ,p_attribute25_o
489: => per_pmp_shd.g_old_rec.attribute25
490: ,p_attribute26_o
491: => per_pmp_shd.g_old_rec.attribute26
485: => per_pmp_shd.g_old_rec.attribute23
486: ,p_attribute24_o
487: => per_pmp_shd.g_old_rec.attribute24
488: ,p_attribute25_o
489: => per_pmp_shd.g_old_rec.attribute25
490: ,p_attribute26_o
491: => per_pmp_shd.g_old_rec.attribute26
492: ,p_attribute27_o
493: => per_pmp_shd.g_old_rec.attribute27
487: => per_pmp_shd.g_old_rec.attribute24
488: ,p_attribute25_o
489: => per_pmp_shd.g_old_rec.attribute25
490: ,p_attribute26_o
491: => per_pmp_shd.g_old_rec.attribute26
492: ,p_attribute27_o
493: => per_pmp_shd.g_old_rec.attribute27
494: ,p_attribute28_o
495: => per_pmp_shd.g_old_rec.attribute28
489: => per_pmp_shd.g_old_rec.attribute25
490: ,p_attribute26_o
491: => per_pmp_shd.g_old_rec.attribute26
492: ,p_attribute27_o
493: => per_pmp_shd.g_old_rec.attribute27
494: ,p_attribute28_o
495: => per_pmp_shd.g_old_rec.attribute28
496: ,p_attribute29_o
497: => per_pmp_shd.g_old_rec.attribute29
491: => per_pmp_shd.g_old_rec.attribute26
492: ,p_attribute27_o
493: => per_pmp_shd.g_old_rec.attribute27
494: ,p_attribute28_o
495: => per_pmp_shd.g_old_rec.attribute28
496: ,p_attribute29_o
497: => per_pmp_shd.g_old_rec.attribute29
498: ,p_attribute30_o
499: => per_pmp_shd.g_old_rec.attribute30
493: => per_pmp_shd.g_old_rec.attribute27
494: ,p_attribute28_o
495: => per_pmp_shd.g_old_rec.attribute28
496: ,p_attribute29_o
497: => per_pmp_shd.g_old_rec.attribute29
498: ,p_attribute30_o
499: => per_pmp_shd.g_old_rec.attribute30
500: );
501: --
495: => per_pmp_shd.g_old_rec.attribute28
496: ,p_attribute29_o
497: => per_pmp_shd.g_old_rec.attribute29
498: ,p_attribute30_o
499: => per_pmp_shd.g_old_rec.attribute30
500: );
501: --
502: exception
503: --
555: --
556: -- {End Of Comments}
557: -- ----------------------------------------------------------------------------
558: Procedure convert_defs
559: (p_rec in out nocopy per_pmp_shd.g_rec_type
560: ) is
561: --
562: Begin
563: --
567: -- is being used then we must set to the 'current' argument value.
568: --
569: If (p_rec.plan_name = hr_api.g_varchar2) then
570: p_rec.plan_name :=
571: per_pmp_shd.g_old_rec.plan_name;
572: End If;
573: If (p_rec.administrator_person_id = hr_api.g_number) then
574: p_rec.administrator_person_id :=
575: per_pmp_shd.g_old_rec.administrator_person_id;
571: per_pmp_shd.g_old_rec.plan_name;
572: End If;
573: If (p_rec.administrator_person_id = hr_api.g_number) then
574: p_rec.administrator_person_id :=
575: per_pmp_shd.g_old_rec.administrator_person_id;
576: End If;
577: If (p_rec.previous_plan_id = hr_api.g_number) then
578: p_rec.previous_plan_id :=
579: per_pmp_shd.g_old_rec.previous_plan_id;
575: per_pmp_shd.g_old_rec.administrator_person_id;
576: End If;
577: If (p_rec.previous_plan_id = hr_api.g_number) then
578: p_rec.previous_plan_id :=
579: per_pmp_shd.g_old_rec.previous_plan_id;
580: End If;
581: If (p_rec.start_date = hr_api.g_date) then
582: p_rec.start_date :=
583: per_pmp_shd.g_old_rec.start_date;
579: per_pmp_shd.g_old_rec.previous_plan_id;
580: End If;
581: If (p_rec.start_date = hr_api.g_date) then
582: p_rec.start_date :=
583: per_pmp_shd.g_old_rec.start_date;
584: End If;
585: If (p_rec.end_date = hr_api.g_date) then
586: p_rec.end_date :=
587: per_pmp_shd.g_old_rec.end_date;
583: per_pmp_shd.g_old_rec.start_date;
584: End If;
585: If (p_rec.end_date = hr_api.g_date) then
586: p_rec.end_date :=
587: per_pmp_shd.g_old_rec.end_date;
588: End If;
589: If (p_rec.status_code = hr_api.g_varchar2) then
590: p_rec.status_code :=
591: per_pmp_shd.g_old_rec.status_code;
587: per_pmp_shd.g_old_rec.end_date;
588: End If;
589: If (p_rec.status_code = hr_api.g_varchar2) then
590: p_rec.status_code :=
591: per_pmp_shd.g_old_rec.status_code;
592: End If;
593: If (p_rec.hierarchy_type_code = hr_api.g_varchar2) then
594: p_rec.hierarchy_type_code :=
595: per_pmp_shd.g_old_rec.hierarchy_type_code;
591: per_pmp_shd.g_old_rec.status_code;
592: End If;
593: If (p_rec.hierarchy_type_code = hr_api.g_varchar2) then
594: p_rec.hierarchy_type_code :=
595: per_pmp_shd.g_old_rec.hierarchy_type_code;
596: End If;
597: If (p_rec.supervisor_id = hr_api.g_number) then
598: p_rec.supervisor_id :=
599: per_pmp_shd.g_old_rec.supervisor_id;
595: per_pmp_shd.g_old_rec.hierarchy_type_code;
596: End If;
597: If (p_rec.supervisor_id = hr_api.g_number) then
598: p_rec.supervisor_id :=
599: per_pmp_shd.g_old_rec.supervisor_id;
600: End If;
601: If (p_rec.supervisor_assignment_id = hr_api.g_number) then
602: p_rec.supervisor_assignment_id :=
603: per_pmp_shd.g_old_rec.supervisor_assignment_id;
599: per_pmp_shd.g_old_rec.supervisor_id;
600: End If;
601: If (p_rec.supervisor_assignment_id = hr_api.g_number) then
602: p_rec.supervisor_assignment_id :=
603: per_pmp_shd.g_old_rec.supervisor_assignment_id;
604: End If;
605: If (p_rec.organization_structure_id = hr_api.g_number) then
606: p_rec.organization_structure_id :=
607: per_pmp_shd.g_old_rec.organization_structure_id;
603: per_pmp_shd.g_old_rec.supervisor_assignment_id;
604: End If;
605: If (p_rec.organization_structure_id = hr_api.g_number) then
606: p_rec.organization_structure_id :=
607: per_pmp_shd.g_old_rec.organization_structure_id;
608: End If;
609: If (p_rec.org_structure_version_id = hr_api.g_number) then
610: p_rec.org_structure_version_id :=
611: per_pmp_shd.g_old_rec.org_structure_version_id;
607: per_pmp_shd.g_old_rec.organization_structure_id;
608: End If;
609: If (p_rec.org_structure_version_id = hr_api.g_number) then
610: p_rec.org_structure_version_id :=
611: per_pmp_shd.g_old_rec.org_structure_version_id;
612: End If;
613: If (p_rec.top_organization_id = hr_api.g_number) then
614: p_rec.top_organization_id :=
615: per_pmp_shd.g_old_rec.top_organization_id;
611: per_pmp_shd.g_old_rec.org_structure_version_id;
612: End If;
613: If (p_rec.top_organization_id = hr_api.g_number) then
614: p_rec.top_organization_id :=
615: per_pmp_shd.g_old_rec.top_organization_id;
616: End If;
617: If (p_rec.position_structure_id = hr_api.g_number) then
618: p_rec.position_structure_id :=
619: per_pmp_shd.g_old_rec.position_structure_id;
615: per_pmp_shd.g_old_rec.top_organization_id;
616: End If;
617: If (p_rec.position_structure_id = hr_api.g_number) then
618: p_rec.position_structure_id :=
619: per_pmp_shd.g_old_rec.position_structure_id;
620: End If;
621: If (p_rec.pos_structure_version_id = hr_api.g_number) then
622: p_rec.pos_structure_version_id :=
623: per_pmp_shd.g_old_rec.pos_structure_version_id;
619: per_pmp_shd.g_old_rec.position_structure_id;
620: End If;
621: If (p_rec.pos_structure_version_id = hr_api.g_number) then
622: p_rec.pos_structure_version_id :=
623: per_pmp_shd.g_old_rec.pos_structure_version_id;
624: End If;
625: If (p_rec.top_position_id = hr_api.g_number) then
626: p_rec.top_position_id :=
627: per_pmp_shd.g_old_rec.top_position_id;
623: per_pmp_shd.g_old_rec.pos_structure_version_id;
624: End If;
625: If (p_rec.top_position_id = hr_api.g_number) then
626: p_rec.top_position_id :=
627: per_pmp_shd.g_old_rec.top_position_id;
628: End If;
629: If (p_rec.hierarchy_levels = hr_api.g_number) then
630: p_rec.hierarchy_levels :=
631: per_pmp_shd.g_old_rec.hierarchy_levels;
627: per_pmp_shd.g_old_rec.top_position_id;
628: End If;
629: If (p_rec.hierarchy_levels = hr_api.g_number) then
630: p_rec.hierarchy_levels :=
631: per_pmp_shd.g_old_rec.hierarchy_levels;
632: End If;
633: If (p_rec.automatic_enrollment_flag = hr_api.g_varchar2) then
634: p_rec.automatic_enrollment_flag :=
635: per_pmp_shd.g_old_rec.automatic_enrollment_flag;
631: per_pmp_shd.g_old_rec.hierarchy_levels;
632: End If;
633: If (p_rec.automatic_enrollment_flag = hr_api.g_varchar2) then
634: p_rec.automatic_enrollment_flag :=
635: per_pmp_shd.g_old_rec.automatic_enrollment_flag;
636: End If;
637: If (p_rec.assignment_types_code = hr_api.g_varchar2) then
638: p_rec.assignment_types_code :=
639: per_pmp_shd.g_old_rec.assignment_types_code;
635: per_pmp_shd.g_old_rec.automatic_enrollment_flag;
636: End If;
637: If (p_rec.assignment_types_code = hr_api.g_varchar2) then
638: p_rec.assignment_types_code :=
639: per_pmp_shd.g_old_rec.assignment_types_code;
640: End If;
641: If (p_rec.primary_asg_only_flag = hr_api.g_varchar2) then
642: p_rec.primary_asg_only_flag :=
643: per_pmp_shd.g_old_rec.primary_asg_only_flag;
639: per_pmp_shd.g_old_rec.assignment_types_code;
640: End If;
641: If (p_rec.primary_asg_only_flag = hr_api.g_varchar2) then
642: p_rec.primary_asg_only_flag :=
643: per_pmp_shd.g_old_rec.primary_asg_only_flag;
644: End If;
645: If (p_rec.include_obj_setting_flag = hr_api.g_varchar2) then
646: p_rec.include_obj_setting_flag :=
647: per_pmp_shd.g_old_rec.include_obj_setting_flag;
643: per_pmp_shd.g_old_rec.primary_asg_only_flag;
644: End If;
645: If (p_rec.include_obj_setting_flag = hr_api.g_varchar2) then
646: p_rec.include_obj_setting_flag :=
647: per_pmp_shd.g_old_rec.include_obj_setting_flag;
648: End If;
649: If (p_rec.obj_setting_start_date = hr_api.g_date) then
650: p_rec.obj_setting_start_date :=
651: per_pmp_shd.g_old_rec.obj_setting_start_date;
647: per_pmp_shd.g_old_rec.include_obj_setting_flag;
648: End If;
649: If (p_rec.obj_setting_start_date = hr_api.g_date) then
650: p_rec.obj_setting_start_date :=
651: per_pmp_shd.g_old_rec.obj_setting_start_date;
652: End If;
653: If (p_rec.obj_setting_deadline = hr_api.g_date) then
654: p_rec.obj_setting_deadline :=
655: per_pmp_shd.g_old_rec.obj_setting_deadline;
651: per_pmp_shd.g_old_rec.obj_setting_start_date;
652: End If;
653: If (p_rec.obj_setting_deadline = hr_api.g_date) then
654: p_rec.obj_setting_deadline :=
655: per_pmp_shd.g_old_rec.obj_setting_deadline;
656: End If;
657: If (p_rec.obj_set_outside_period_flag = hr_api.g_varchar2) then
658: p_rec.obj_set_outside_period_flag :=
659: per_pmp_shd.g_old_rec.obj_set_outside_period_flag;
655: per_pmp_shd.g_old_rec.obj_setting_deadline;
656: End If;
657: If (p_rec.obj_set_outside_period_flag = hr_api.g_varchar2) then
658: p_rec.obj_set_outside_period_flag :=
659: per_pmp_shd.g_old_rec.obj_set_outside_period_flag;
660: End If;
661: If (p_rec.method_code = hr_api.g_varchar2) then
662: p_rec.method_code :=
663: per_pmp_shd.g_old_rec.method_code;
659: per_pmp_shd.g_old_rec.obj_set_outside_period_flag;
660: End If;
661: If (p_rec.method_code = hr_api.g_varchar2) then
662: p_rec.method_code :=
663: per_pmp_shd.g_old_rec.method_code;
664: End If;
665: If (p_rec.notify_population_flag = hr_api.g_varchar2) then
666: p_rec.notify_population_flag :=
667: per_pmp_shd.g_old_rec.notify_population_flag;
663: per_pmp_shd.g_old_rec.method_code;
664: End If;
665: If (p_rec.notify_population_flag = hr_api.g_varchar2) then
666: p_rec.notify_population_flag :=
667: per_pmp_shd.g_old_rec.notify_population_flag;
668: End If;
669: If (p_rec.automatic_allocation_flag = hr_api.g_varchar2) then
670: p_rec.automatic_allocation_flag :=
671: per_pmp_shd.g_old_rec.automatic_allocation_flag;
667: per_pmp_shd.g_old_rec.notify_population_flag;
668: End If;
669: If (p_rec.automatic_allocation_flag = hr_api.g_varchar2) then
670: p_rec.automatic_allocation_flag :=
671: per_pmp_shd.g_old_rec.automatic_allocation_flag;
672: End If;
673: If (p_rec.copy_past_objectives_flag = hr_api.g_varchar2) then
674: p_rec.copy_past_objectives_flag :=
675: per_pmp_shd.g_old_rec.copy_past_objectives_flag;
671: per_pmp_shd.g_old_rec.automatic_allocation_flag;
672: End If;
673: If (p_rec.copy_past_objectives_flag = hr_api.g_varchar2) then
674: p_rec.copy_past_objectives_flag :=
675: per_pmp_shd.g_old_rec.copy_past_objectives_flag;
676: End If;
677: If (p_rec.sharing_alignment_task_flag = hr_api.g_varchar2) then
678: p_rec.sharing_alignment_task_flag :=
679: per_pmp_shd.g_old_rec.sharing_alignment_task_flag;
675: per_pmp_shd.g_old_rec.copy_past_objectives_flag;
676: End If;
677: If (p_rec.sharing_alignment_task_flag = hr_api.g_varchar2) then
678: p_rec.sharing_alignment_task_flag :=
679: per_pmp_shd.g_old_rec.sharing_alignment_task_flag;
680: End If;
681: If (p_rec.include_appraisals_flag = hr_api.g_varchar2) then
682: p_rec.include_appraisals_flag :=
683: per_pmp_shd.g_old_rec.include_appraisals_flag;
679: per_pmp_shd.g_old_rec.sharing_alignment_task_flag;
680: End If;
681: If (p_rec.include_appraisals_flag = hr_api.g_varchar2) then
682: p_rec.include_appraisals_flag :=
683: per_pmp_shd.g_old_rec.include_appraisals_flag;
684: End If;
685:
686: If (p_rec.change_sc_status_flag = hr_api.g_varchar2) then
687: p_rec.change_sc_status_flag :=
684: End If;
685:
686: If (p_rec.change_sc_status_flag = hr_api.g_varchar2) then
687: p_rec.change_sc_status_flag :=
688: per_pmp_shd.g_old_rec.change_sc_status_flag;
689: End If;
690:
691: If (p_rec.attribute_category = hr_api.g_varchar2) then
692: p_rec.attribute_category :=
689: End If;
690:
691: If (p_rec.attribute_category = hr_api.g_varchar2) then
692: p_rec.attribute_category :=
693: per_pmp_shd.g_old_rec.attribute_category;
694: End If;
695: If (p_rec.attribute1 = hr_api.g_varchar2) then
696: p_rec.attribute1 :=
697: per_pmp_shd.g_old_rec.attribute1;
693: per_pmp_shd.g_old_rec.attribute_category;
694: End If;
695: If (p_rec.attribute1 = hr_api.g_varchar2) then
696: p_rec.attribute1 :=
697: per_pmp_shd.g_old_rec.attribute1;
698: End If;
699: If (p_rec.attribute2 = hr_api.g_varchar2) then
700: p_rec.attribute2 :=
701: per_pmp_shd.g_old_rec.attribute2;
697: per_pmp_shd.g_old_rec.attribute1;
698: End If;
699: If (p_rec.attribute2 = hr_api.g_varchar2) then
700: p_rec.attribute2 :=
701: per_pmp_shd.g_old_rec.attribute2;
702: End If;
703: If (p_rec.attribute3 = hr_api.g_varchar2) then
704: p_rec.attribute3 :=
705: per_pmp_shd.g_old_rec.attribute3;
701: per_pmp_shd.g_old_rec.attribute2;
702: End If;
703: If (p_rec.attribute3 = hr_api.g_varchar2) then
704: p_rec.attribute3 :=
705: per_pmp_shd.g_old_rec.attribute3;
706: End If;
707: If (p_rec.attribute4 = hr_api.g_varchar2) then
708: p_rec.attribute4 :=
709: per_pmp_shd.g_old_rec.attribute4;
705: per_pmp_shd.g_old_rec.attribute3;
706: End If;
707: If (p_rec.attribute4 = hr_api.g_varchar2) then
708: p_rec.attribute4 :=
709: per_pmp_shd.g_old_rec.attribute4;
710: End If;
711: If (p_rec.attribute5 = hr_api.g_varchar2) then
712: p_rec.attribute5 :=
713: per_pmp_shd.g_old_rec.attribute5;
709: per_pmp_shd.g_old_rec.attribute4;
710: End If;
711: If (p_rec.attribute5 = hr_api.g_varchar2) then
712: p_rec.attribute5 :=
713: per_pmp_shd.g_old_rec.attribute5;
714: End If;
715: If (p_rec.attribute6 = hr_api.g_varchar2) then
716: p_rec.attribute6 :=
717: per_pmp_shd.g_old_rec.attribute6;
713: per_pmp_shd.g_old_rec.attribute5;
714: End If;
715: If (p_rec.attribute6 = hr_api.g_varchar2) then
716: p_rec.attribute6 :=
717: per_pmp_shd.g_old_rec.attribute6;
718: End If;
719: If (p_rec.attribute7 = hr_api.g_varchar2) then
720: p_rec.attribute7 :=
721: per_pmp_shd.g_old_rec.attribute7;
717: per_pmp_shd.g_old_rec.attribute6;
718: End If;
719: If (p_rec.attribute7 = hr_api.g_varchar2) then
720: p_rec.attribute7 :=
721: per_pmp_shd.g_old_rec.attribute7;
722: End If;
723: If (p_rec.attribute8 = hr_api.g_varchar2) then
724: p_rec.attribute8 :=
725: per_pmp_shd.g_old_rec.attribute8;
721: per_pmp_shd.g_old_rec.attribute7;
722: End If;
723: If (p_rec.attribute8 = hr_api.g_varchar2) then
724: p_rec.attribute8 :=
725: per_pmp_shd.g_old_rec.attribute8;
726: End If;
727: If (p_rec.attribute9 = hr_api.g_varchar2) then
728: p_rec.attribute9 :=
729: per_pmp_shd.g_old_rec.attribute9;
725: per_pmp_shd.g_old_rec.attribute8;
726: End If;
727: If (p_rec.attribute9 = hr_api.g_varchar2) then
728: p_rec.attribute9 :=
729: per_pmp_shd.g_old_rec.attribute9;
730: End If;
731: If (p_rec.attribute10 = hr_api.g_varchar2) then
732: p_rec.attribute10 :=
733: per_pmp_shd.g_old_rec.attribute10;
729: per_pmp_shd.g_old_rec.attribute9;
730: End If;
731: If (p_rec.attribute10 = hr_api.g_varchar2) then
732: p_rec.attribute10 :=
733: per_pmp_shd.g_old_rec.attribute10;
734: End If;
735: If (p_rec.attribute11 = hr_api.g_varchar2) then
736: p_rec.attribute11 :=
737: per_pmp_shd.g_old_rec.attribute11;
733: per_pmp_shd.g_old_rec.attribute10;
734: End If;
735: If (p_rec.attribute11 = hr_api.g_varchar2) then
736: p_rec.attribute11 :=
737: per_pmp_shd.g_old_rec.attribute11;
738: End If;
739: If (p_rec.attribute12 = hr_api.g_varchar2) then
740: p_rec.attribute12 :=
741: per_pmp_shd.g_old_rec.attribute12;
737: per_pmp_shd.g_old_rec.attribute11;
738: End If;
739: If (p_rec.attribute12 = hr_api.g_varchar2) then
740: p_rec.attribute12 :=
741: per_pmp_shd.g_old_rec.attribute12;
742: End If;
743: If (p_rec.attribute13 = hr_api.g_varchar2) then
744: p_rec.attribute13 :=
745: per_pmp_shd.g_old_rec.attribute13;
741: per_pmp_shd.g_old_rec.attribute12;
742: End If;
743: If (p_rec.attribute13 = hr_api.g_varchar2) then
744: p_rec.attribute13 :=
745: per_pmp_shd.g_old_rec.attribute13;
746: End If;
747: If (p_rec.attribute14 = hr_api.g_varchar2) then
748: p_rec.attribute14 :=
749: per_pmp_shd.g_old_rec.attribute14;
745: per_pmp_shd.g_old_rec.attribute13;
746: End If;
747: If (p_rec.attribute14 = hr_api.g_varchar2) then
748: p_rec.attribute14 :=
749: per_pmp_shd.g_old_rec.attribute14;
750: End If;
751: If (p_rec.attribute15 = hr_api.g_varchar2) then
752: p_rec.attribute15 :=
753: per_pmp_shd.g_old_rec.attribute15;
749: per_pmp_shd.g_old_rec.attribute14;
750: End If;
751: If (p_rec.attribute15 = hr_api.g_varchar2) then
752: p_rec.attribute15 :=
753: per_pmp_shd.g_old_rec.attribute15;
754: End If;
755: If (p_rec.attribute16 = hr_api.g_varchar2) then
756: p_rec.attribute16 :=
757: per_pmp_shd.g_old_rec.attribute16;
753: per_pmp_shd.g_old_rec.attribute15;
754: End If;
755: If (p_rec.attribute16 = hr_api.g_varchar2) then
756: p_rec.attribute16 :=
757: per_pmp_shd.g_old_rec.attribute16;
758: End If;
759: If (p_rec.attribute17 = hr_api.g_varchar2) then
760: p_rec.attribute17 :=
761: per_pmp_shd.g_old_rec.attribute17;
757: per_pmp_shd.g_old_rec.attribute16;
758: End If;
759: If (p_rec.attribute17 = hr_api.g_varchar2) then
760: p_rec.attribute17 :=
761: per_pmp_shd.g_old_rec.attribute17;
762: End If;
763: If (p_rec.attribute18 = hr_api.g_varchar2) then
764: p_rec.attribute18 :=
765: per_pmp_shd.g_old_rec.attribute18;
761: per_pmp_shd.g_old_rec.attribute17;
762: End If;
763: If (p_rec.attribute18 = hr_api.g_varchar2) then
764: p_rec.attribute18 :=
765: per_pmp_shd.g_old_rec.attribute18;
766: End If;
767: If (p_rec.attribute19 = hr_api.g_varchar2) then
768: p_rec.attribute19 :=
769: per_pmp_shd.g_old_rec.attribute19;
765: per_pmp_shd.g_old_rec.attribute18;
766: End If;
767: If (p_rec.attribute19 = hr_api.g_varchar2) then
768: p_rec.attribute19 :=
769: per_pmp_shd.g_old_rec.attribute19;
770: End If;
771: If (p_rec.attribute20 = hr_api.g_varchar2) then
772: p_rec.attribute20 :=
773: per_pmp_shd.g_old_rec.attribute20;
769: per_pmp_shd.g_old_rec.attribute19;
770: End If;
771: If (p_rec.attribute20 = hr_api.g_varchar2) then
772: p_rec.attribute20 :=
773: per_pmp_shd.g_old_rec.attribute20;
774: End If;
775: If (p_rec.attribute21 = hr_api.g_varchar2) then
776: p_rec.attribute21 :=
777: per_pmp_shd.g_old_rec.attribute21;
773: per_pmp_shd.g_old_rec.attribute20;
774: End If;
775: If (p_rec.attribute21 = hr_api.g_varchar2) then
776: p_rec.attribute21 :=
777: per_pmp_shd.g_old_rec.attribute21;
778: End If;
779: If (p_rec.attribute22 = hr_api.g_varchar2) then
780: p_rec.attribute22 :=
781: per_pmp_shd.g_old_rec.attribute22;
777: per_pmp_shd.g_old_rec.attribute21;
778: End If;
779: If (p_rec.attribute22 = hr_api.g_varchar2) then
780: p_rec.attribute22 :=
781: per_pmp_shd.g_old_rec.attribute22;
782: End If;
783: If (p_rec.attribute23 = hr_api.g_varchar2) then
784: p_rec.attribute23 :=
785: per_pmp_shd.g_old_rec.attribute23;
781: per_pmp_shd.g_old_rec.attribute22;
782: End If;
783: If (p_rec.attribute23 = hr_api.g_varchar2) then
784: p_rec.attribute23 :=
785: per_pmp_shd.g_old_rec.attribute23;
786: End If;
787: If (p_rec.attribute24 = hr_api.g_varchar2) then
788: p_rec.attribute24 :=
789: per_pmp_shd.g_old_rec.attribute24;
785: per_pmp_shd.g_old_rec.attribute23;
786: End If;
787: If (p_rec.attribute24 = hr_api.g_varchar2) then
788: p_rec.attribute24 :=
789: per_pmp_shd.g_old_rec.attribute24;
790: End If;
791: If (p_rec.attribute25 = hr_api.g_varchar2) then
792: p_rec.attribute25 :=
793: per_pmp_shd.g_old_rec.attribute25;
789: per_pmp_shd.g_old_rec.attribute24;
790: End If;
791: If (p_rec.attribute25 = hr_api.g_varchar2) then
792: p_rec.attribute25 :=
793: per_pmp_shd.g_old_rec.attribute25;
794: End If;
795: If (p_rec.attribute26 = hr_api.g_varchar2) then
796: p_rec.attribute26 :=
797: per_pmp_shd.g_old_rec.attribute26;
793: per_pmp_shd.g_old_rec.attribute25;
794: End If;
795: If (p_rec.attribute26 = hr_api.g_varchar2) then
796: p_rec.attribute26 :=
797: per_pmp_shd.g_old_rec.attribute26;
798: End If;
799: If (p_rec.attribute27 = hr_api.g_varchar2) then
800: p_rec.attribute27 :=
801: per_pmp_shd.g_old_rec.attribute27;
797: per_pmp_shd.g_old_rec.attribute26;
798: End If;
799: If (p_rec.attribute27 = hr_api.g_varchar2) then
800: p_rec.attribute27 :=
801: per_pmp_shd.g_old_rec.attribute27;
802: End If;
803: If (p_rec.attribute28 = hr_api.g_varchar2) then
804: p_rec.attribute28 :=
805: per_pmp_shd.g_old_rec.attribute28;
801: per_pmp_shd.g_old_rec.attribute27;
802: End If;
803: If (p_rec.attribute28 = hr_api.g_varchar2) then
804: p_rec.attribute28 :=
805: per_pmp_shd.g_old_rec.attribute28;
806: End If;
807: If (p_rec.attribute29 = hr_api.g_varchar2) then
808: p_rec.attribute29 :=
809: per_pmp_shd.g_old_rec.attribute29;
805: per_pmp_shd.g_old_rec.attribute28;
806: End If;
807: If (p_rec.attribute29 = hr_api.g_varchar2) then
808: p_rec.attribute29 :=
809: per_pmp_shd.g_old_rec.attribute29;
810: End If;
811: If (p_rec.attribute30 = hr_api.g_varchar2) then
812: p_rec.attribute30 :=
813: per_pmp_shd.g_old_rec.attribute30;
809: per_pmp_shd.g_old_rec.attribute29;
810: End If;
811: If (p_rec.attribute30 = hr_api.g_varchar2) then
812: p_rec.attribute30 :=
813: per_pmp_shd.g_old_rec.attribute30;
814: End If;
815: --
816: End convert_defs;
817: --
819: -- |---------------------------------< upd >----------------------------------|
820: -- ----------------------------------------------------------------------------
821: Procedure upd
822: (p_effective_date in date
823: ,p_rec in out nocopy per_pmp_shd.g_rec_type
824: ,p_duplicate_name_warning out nocopy boolean
825: ,p_no_life_events_warning out nocopy boolean
826: ) is
827: --
831: hr_utility.set_location('Entering:'||l_proc, 5);
832: --
833: -- We must lock the row which we need to update.
834: --
835: per_pmp_shd.lck
836: (p_rec.plan_id
837: ,p_rec.object_version_number
838: );
839:
947: ,p_duplicate_name_warning out nocopy boolean
948: ,p_no_life_events_warning out nocopy boolean
949: ) is
950: --
951: l_rec per_pmp_shd.g_rec_type;
952: l_proc varchar2(72) := g_package||'upd';
953: l_duplicate_name_warning boolean;
954: l_no_life_events_warning boolean;
955:
960: -- Call conversion function to turn arguments into the
961: -- l_rec structure.
962: --
963: l_rec :=
964: per_pmp_shd.convert_args
965: (p_plan_id
966: ,p_object_version_number
967: ,p_plan_name
968: ,p_administrator_person_id