51: --
52: -- {End Of Comments}
53: -- ----------------------------------------------------------------------------
54: Procedure update_dml
55: (p_rec in out nocopy hr_pdt_shd.g_rec_type
56: ) is
57: --
58: l_proc varchar2(72) := g_package||'update_dml';
59: --
143: Exception
144: When hr_api.check_integrity_violated Then
145: -- A check constraint has been violated
146: --
147: hr_pdt_shd.constraint_error
148: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
149: When hr_api.parent_integrity_violated Then
150: -- Parent integrity has been violated
151: --
148: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
149: When hr_api.parent_integrity_violated Then
150: -- Parent integrity has been violated
151: --
152: hr_pdt_shd.constraint_error
153: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
154: When hr_api.unique_integrity_violated Then
155: -- Unique integrity has been violated
156: --
153: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
154: When hr_api.unique_integrity_violated Then
155: -- Unique integrity has been violated
156: --
157: hr_pdt_shd.constraint_error
158: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
159: When Others Then
160: --
161: Raise;
193: --
194: -- {End Of Comments}
195: -- ----------------------------------------------------------------------------
196: Procedure pre_update
197: (p_rec in hr_pdt_shd.g_rec_type
198: ) is
199: --
200: l_proc varchar2(72) := g_package||'pre_update';
201: --
237: --
238: -- {End Of Comments}
239: -- ----------------------------------------------------------------------------
240: Procedure post_update
241: (p_rec in hr_pdt_shd.g_rec_type
242: ) is
243: --
244: l_proc varchar2(72) := g_package||'post_update';
245: --
378: => p_rec.per_information29
379: ,p_per_information30
380: => p_rec.per_information30
381: ,p_object_version_number_o
382: => hr_pdt_shd.g_old_rec.object_version_number
383: ,p_from_business_group_id_o
384: => hr_pdt_shd.g_old_rec.from_business_group_id
385: ,p_to_business_group_id_o
386: => hr_pdt_shd.g_old_rec.to_business_group_id
380: => p_rec.per_information30
381: ,p_object_version_number_o
382: => hr_pdt_shd.g_old_rec.object_version_number
383: ,p_from_business_group_id_o
384: => hr_pdt_shd.g_old_rec.from_business_group_id
385: ,p_to_business_group_id_o
386: => hr_pdt_shd.g_old_rec.to_business_group_id
387: ,p_from_person_id_o
388: => hr_pdt_shd.g_old_rec.from_person_id
382: => hr_pdt_shd.g_old_rec.object_version_number
383: ,p_from_business_group_id_o
384: => hr_pdt_shd.g_old_rec.from_business_group_id
385: ,p_to_business_group_id_o
386: => hr_pdt_shd.g_old_rec.to_business_group_id
387: ,p_from_person_id_o
388: => hr_pdt_shd.g_old_rec.from_person_id
389: ,p_to_person_id_o
390: => hr_pdt_shd.g_old_rec.to_person_id
384: => hr_pdt_shd.g_old_rec.from_business_group_id
385: ,p_to_business_group_id_o
386: => hr_pdt_shd.g_old_rec.to_business_group_id
387: ,p_from_person_id_o
388: => hr_pdt_shd.g_old_rec.from_person_id
389: ,p_to_person_id_o
390: => hr_pdt_shd.g_old_rec.to_person_id
391: ,p_person_type_id_o
392: => hr_pdt_shd.g_old_rec.person_type_id
386: => hr_pdt_shd.g_old_rec.to_business_group_id
387: ,p_from_person_id_o
388: => hr_pdt_shd.g_old_rec.from_person_id
389: ,p_to_person_id_o
390: => hr_pdt_shd.g_old_rec.to_person_id
391: ,p_person_type_id_o
392: => hr_pdt_shd.g_old_rec.person_type_id
393: ,p_start_date_o
394: => hr_pdt_shd.g_old_rec.start_date
388: => hr_pdt_shd.g_old_rec.from_person_id
389: ,p_to_person_id_o
390: => hr_pdt_shd.g_old_rec.to_person_id
391: ,p_person_type_id_o
392: => hr_pdt_shd.g_old_rec.person_type_id
393: ,p_start_date_o
394: => hr_pdt_shd.g_old_rec.start_date
395: ,p_end_date_o
396: => hr_pdt_shd.g_old_rec.end_date
390: => hr_pdt_shd.g_old_rec.to_person_id
391: ,p_person_type_id_o
392: => hr_pdt_shd.g_old_rec.person_type_id
393: ,p_start_date_o
394: => hr_pdt_shd.g_old_rec.start_date
395: ,p_end_date_o
396: => hr_pdt_shd.g_old_rec.end_date
397: ,p_deployment_reason_o
398: => hr_pdt_shd.g_old_rec.deployment_reason
392: => hr_pdt_shd.g_old_rec.person_type_id
393: ,p_start_date_o
394: => hr_pdt_shd.g_old_rec.start_date
395: ,p_end_date_o
396: => hr_pdt_shd.g_old_rec.end_date
397: ,p_deployment_reason_o
398: => hr_pdt_shd.g_old_rec.deployment_reason
399: ,p_employee_number_o
400: => hr_pdt_shd.g_old_rec.employee_number
394: => hr_pdt_shd.g_old_rec.start_date
395: ,p_end_date_o
396: => hr_pdt_shd.g_old_rec.end_date
397: ,p_deployment_reason_o
398: => hr_pdt_shd.g_old_rec.deployment_reason
399: ,p_employee_number_o
400: => hr_pdt_shd.g_old_rec.employee_number
401: ,p_leaving_reason_o
402: => hr_pdt_shd.g_old_rec.leaving_reason
396: => hr_pdt_shd.g_old_rec.end_date
397: ,p_deployment_reason_o
398: => hr_pdt_shd.g_old_rec.deployment_reason
399: ,p_employee_number_o
400: => hr_pdt_shd.g_old_rec.employee_number
401: ,p_leaving_reason_o
402: => hr_pdt_shd.g_old_rec.leaving_reason
403: ,p_leaving_person_type_id_o
404: => hr_pdt_shd.g_old_rec.leaving_person_type_id
398: => hr_pdt_shd.g_old_rec.deployment_reason
399: ,p_employee_number_o
400: => hr_pdt_shd.g_old_rec.employee_number
401: ,p_leaving_reason_o
402: => hr_pdt_shd.g_old_rec.leaving_reason
403: ,p_leaving_person_type_id_o
404: => hr_pdt_shd.g_old_rec.leaving_person_type_id
405: ,p_permanent_o
406: => hr_pdt_shd.g_old_rec.permanent
400: => hr_pdt_shd.g_old_rec.employee_number
401: ,p_leaving_reason_o
402: => hr_pdt_shd.g_old_rec.leaving_reason
403: ,p_leaving_person_type_id_o
404: => hr_pdt_shd.g_old_rec.leaving_person_type_id
405: ,p_permanent_o
406: => hr_pdt_shd.g_old_rec.permanent
407: ,p_status_o
408: => hr_pdt_shd.g_old_rec.status
402: => hr_pdt_shd.g_old_rec.leaving_reason
403: ,p_leaving_person_type_id_o
404: => hr_pdt_shd.g_old_rec.leaving_person_type_id
405: ,p_permanent_o
406: => hr_pdt_shd.g_old_rec.permanent
407: ,p_status_o
408: => hr_pdt_shd.g_old_rec.status
409: ,p_status_change_reason_o
410: => hr_pdt_shd.g_old_rec.status_change_reason
404: => hr_pdt_shd.g_old_rec.leaving_person_type_id
405: ,p_permanent_o
406: => hr_pdt_shd.g_old_rec.permanent
407: ,p_status_o
408: => hr_pdt_shd.g_old_rec.status
409: ,p_status_change_reason_o
410: => hr_pdt_shd.g_old_rec.status_change_reason
411: ,p_status_change_date_o
412: => hr_pdt_shd.g_old_rec.status_change_date
406: => hr_pdt_shd.g_old_rec.permanent
407: ,p_status_o
408: => hr_pdt_shd.g_old_rec.status
409: ,p_status_change_reason_o
410: => hr_pdt_shd.g_old_rec.status_change_reason
411: ,p_status_change_date_o
412: => hr_pdt_shd.g_old_rec.status_change_date
413: ,p_deplymt_policy_id_o
414: => hr_pdt_shd.g_old_rec.deplymt_policy_id
408: => hr_pdt_shd.g_old_rec.status
409: ,p_status_change_reason_o
410: => hr_pdt_shd.g_old_rec.status_change_reason
411: ,p_status_change_date_o
412: => hr_pdt_shd.g_old_rec.status_change_date
413: ,p_deplymt_policy_id_o
414: => hr_pdt_shd.g_old_rec.deplymt_policy_id
415: ,p_organization_id_o
416: => hr_pdt_shd.g_old_rec.organization_id
410: => hr_pdt_shd.g_old_rec.status_change_reason
411: ,p_status_change_date_o
412: => hr_pdt_shd.g_old_rec.status_change_date
413: ,p_deplymt_policy_id_o
414: => hr_pdt_shd.g_old_rec.deplymt_policy_id
415: ,p_organization_id_o
416: => hr_pdt_shd.g_old_rec.organization_id
417: ,p_location_id_o
418: => hr_pdt_shd.g_old_rec.location_id
412: => hr_pdt_shd.g_old_rec.status_change_date
413: ,p_deplymt_policy_id_o
414: => hr_pdt_shd.g_old_rec.deplymt_policy_id
415: ,p_organization_id_o
416: => hr_pdt_shd.g_old_rec.organization_id
417: ,p_location_id_o
418: => hr_pdt_shd.g_old_rec.location_id
419: ,p_job_id_o
420: => hr_pdt_shd.g_old_rec.job_id
414: => hr_pdt_shd.g_old_rec.deplymt_policy_id
415: ,p_organization_id_o
416: => hr_pdt_shd.g_old_rec.organization_id
417: ,p_location_id_o
418: => hr_pdt_shd.g_old_rec.location_id
419: ,p_job_id_o
420: => hr_pdt_shd.g_old_rec.job_id
421: ,p_position_id_o
422: => hr_pdt_shd.g_old_rec.position_id
416: => hr_pdt_shd.g_old_rec.organization_id
417: ,p_location_id_o
418: => hr_pdt_shd.g_old_rec.location_id
419: ,p_job_id_o
420: => hr_pdt_shd.g_old_rec.job_id
421: ,p_position_id_o
422: => hr_pdt_shd.g_old_rec.position_id
423: ,p_grade_id_o
424: => hr_pdt_shd.g_old_rec.grade_id
418: => hr_pdt_shd.g_old_rec.location_id
419: ,p_job_id_o
420: => hr_pdt_shd.g_old_rec.job_id
421: ,p_position_id_o
422: => hr_pdt_shd.g_old_rec.position_id
423: ,p_grade_id_o
424: => hr_pdt_shd.g_old_rec.grade_id
425: ,p_supervisor_id_o
426: => hr_pdt_shd.g_old_rec.supervisor_id
420: => hr_pdt_shd.g_old_rec.job_id
421: ,p_position_id_o
422: => hr_pdt_shd.g_old_rec.position_id
423: ,p_grade_id_o
424: => hr_pdt_shd.g_old_rec.grade_id
425: ,p_supervisor_id_o
426: => hr_pdt_shd.g_old_rec.supervisor_id
427: ,p_supervisor_assignment_id_o
428: => hr_pdt_shd.g_old_rec.supervisor_assignment_id
422: => hr_pdt_shd.g_old_rec.position_id
423: ,p_grade_id_o
424: => hr_pdt_shd.g_old_rec.grade_id
425: ,p_supervisor_id_o
426: => hr_pdt_shd.g_old_rec.supervisor_id
427: ,p_supervisor_assignment_id_o
428: => hr_pdt_shd.g_old_rec.supervisor_assignment_id
429: ,p_retain_direct_reports_o
430: => hr_pdt_shd.g_old_rec.retain_direct_reports
424: => hr_pdt_shd.g_old_rec.grade_id
425: ,p_supervisor_id_o
426: => hr_pdt_shd.g_old_rec.supervisor_id
427: ,p_supervisor_assignment_id_o
428: => hr_pdt_shd.g_old_rec.supervisor_assignment_id
429: ,p_retain_direct_reports_o
430: => hr_pdt_shd.g_old_rec.retain_direct_reports
431: ,p_payroll_id_o
432: => hr_pdt_shd.g_old_rec.payroll_id
426: => hr_pdt_shd.g_old_rec.supervisor_id
427: ,p_supervisor_assignment_id_o
428: => hr_pdt_shd.g_old_rec.supervisor_assignment_id
429: ,p_retain_direct_reports_o
430: => hr_pdt_shd.g_old_rec.retain_direct_reports
431: ,p_payroll_id_o
432: => hr_pdt_shd.g_old_rec.payroll_id
433: ,p_pay_basis_id_o
434: => hr_pdt_shd.g_old_rec.pay_basis_id
428: => hr_pdt_shd.g_old_rec.supervisor_assignment_id
429: ,p_retain_direct_reports_o
430: => hr_pdt_shd.g_old_rec.retain_direct_reports
431: ,p_payroll_id_o
432: => hr_pdt_shd.g_old_rec.payroll_id
433: ,p_pay_basis_id_o
434: => hr_pdt_shd.g_old_rec.pay_basis_id
435: ,p_proposed_salary_o
436: => hr_pdt_shd.g_old_rec.proposed_salary
430: => hr_pdt_shd.g_old_rec.retain_direct_reports
431: ,p_payroll_id_o
432: => hr_pdt_shd.g_old_rec.payroll_id
433: ,p_pay_basis_id_o
434: => hr_pdt_shd.g_old_rec.pay_basis_id
435: ,p_proposed_salary_o
436: => hr_pdt_shd.g_old_rec.proposed_salary
437: ,p_people_group_id_o
438: => hr_pdt_shd.g_old_rec.people_group_id
432: => hr_pdt_shd.g_old_rec.payroll_id
433: ,p_pay_basis_id_o
434: => hr_pdt_shd.g_old_rec.pay_basis_id
435: ,p_proposed_salary_o
436: => hr_pdt_shd.g_old_rec.proposed_salary
437: ,p_people_group_id_o
438: => hr_pdt_shd.g_old_rec.people_group_id
439: ,p_soft_coding_keyflex_id_o
440: => hr_pdt_shd.g_old_rec.soft_coding_keyflex_id
434: => hr_pdt_shd.g_old_rec.pay_basis_id
435: ,p_proposed_salary_o
436: => hr_pdt_shd.g_old_rec.proposed_salary
437: ,p_people_group_id_o
438: => hr_pdt_shd.g_old_rec.people_group_id
439: ,p_soft_coding_keyflex_id_o
440: => hr_pdt_shd.g_old_rec.soft_coding_keyflex_id
441: ,p_assignment_status_type_id_o
442: => hr_pdt_shd.g_old_rec.assignment_status_type_id
436: => hr_pdt_shd.g_old_rec.proposed_salary
437: ,p_people_group_id_o
438: => hr_pdt_shd.g_old_rec.people_group_id
439: ,p_soft_coding_keyflex_id_o
440: => hr_pdt_shd.g_old_rec.soft_coding_keyflex_id
441: ,p_assignment_status_type_id_o
442: => hr_pdt_shd.g_old_rec.assignment_status_type_id
443: ,p_ass_status_change_reason_o
444: => hr_pdt_shd.g_old_rec.ass_status_change_reason
438: => hr_pdt_shd.g_old_rec.people_group_id
439: ,p_soft_coding_keyflex_id_o
440: => hr_pdt_shd.g_old_rec.soft_coding_keyflex_id
441: ,p_assignment_status_type_id_o
442: => hr_pdt_shd.g_old_rec.assignment_status_type_id
443: ,p_ass_status_change_reason_o
444: => hr_pdt_shd.g_old_rec.ass_status_change_reason
445: ,p_assignment_category_o
446: => hr_pdt_shd.g_old_rec.assignment_category
440: => hr_pdt_shd.g_old_rec.soft_coding_keyflex_id
441: ,p_assignment_status_type_id_o
442: => hr_pdt_shd.g_old_rec.assignment_status_type_id
443: ,p_ass_status_change_reason_o
444: => hr_pdt_shd.g_old_rec.ass_status_change_reason
445: ,p_assignment_category_o
446: => hr_pdt_shd.g_old_rec.assignment_category
447: ,p_per_information_category_o
448: => hr_pdt_shd.g_old_rec.per_information_category
442: => hr_pdt_shd.g_old_rec.assignment_status_type_id
443: ,p_ass_status_change_reason_o
444: => hr_pdt_shd.g_old_rec.ass_status_change_reason
445: ,p_assignment_category_o
446: => hr_pdt_shd.g_old_rec.assignment_category
447: ,p_per_information_category_o
448: => hr_pdt_shd.g_old_rec.per_information_category
449: ,p_per_information1_o
450: => hr_pdt_shd.g_old_rec.per_information1
444: => hr_pdt_shd.g_old_rec.ass_status_change_reason
445: ,p_assignment_category_o
446: => hr_pdt_shd.g_old_rec.assignment_category
447: ,p_per_information_category_o
448: => hr_pdt_shd.g_old_rec.per_information_category
449: ,p_per_information1_o
450: => hr_pdt_shd.g_old_rec.per_information1
451: ,p_per_information2_o
452: => hr_pdt_shd.g_old_rec.per_information2
446: => hr_pdt_shd.g_old_rec.assignment_category
447: ,p_per_information_category_o
448: => hr_pdt_shd.g_old_rec.per_information_category
449: ,p_per_information1_o
450: => hr_pdt_shd.g_old_rec.per_information1
451: ,p_per_information2_o
452: => hr_pdt_shd.g_old_rec.per_information2
453: ,p_per_information3_o
454: => hr_pdt_shd.g_old_rec.per_information3
448: => hr_pdt_shd.g_old_rec.per_information_category
449: ,p_per_information1_o
450: => hr_pdt_shd.g_old_rec.per_information1
451: ,p_per_information2_o
452: => hr_pdt_shd.g_old_rec.per_information2
453: ,p_per_information3_o
454: => hr_pdt_shd.g_old_rec.per_information3
455: ,p_per_information4_o
456: => hr_pdt_shd.g_old_rec.per_information4
450: => hr_pdt_shd.g_old_rec.per_information1
451: ,p_per_information2_o
452: => hr_pdt_shd.g_old_rec.per_information2
453: ,p_per_information3_o
454: => hr_pdt_shd.g_old_rec.per_information3
455: ,p_per_information4_o
456: => hr_pdt_shd.g_old_rec.per_information4
457: ,p_per_information5_o
458: => hr_pdt_shd.g_old_rec.per_information5
452: => hr_pdt_shd.g_old_rec.per_information2
453: ,p_per_information3_o
454: => hr_pdt_shd.g_old_rec.per_information3
455: ,p_per_information4_o
456: => hr_pdt_shd.g_old_rec.per_information4
457: ,p_per_information5_o
458: => hr_pdt_shd.g_old_rec.per_information5
459: ,p_per_information6_o
460: => hr_pdt_shd.g_old_rec.per_information6
454: => hr_pdt_shd.g_old_rec.per_information3
455: ,p_per_information4_o
456: => hr_pdt_shd.g_old_rec.per_information4
457: ,p_per_information5_o
458: => hr_pdt_shd.g_old_rec.per_information5
459: ,p_per_information6_o
460: => hr_pdt_shd.g_old_rec.per_information6
461: ,p_per_information7_o
462: => hr_pdt_shd.g_old_rec.per_information7
456: => hr_pdt_shd.g_old_rec.per_information4
457: ,p_per_information5_o
458: => hr_pdt_shd.g_old_rec.per_information5
459: ,p_per_information6_o
460: => hr_pdt_shd.g_old_rec.per_information6
461: ,p_per_information7_o
462: => hr_pdt_shd.g_old_rec.per_information7
463: ,p_per_information8_o
464: => hr_pdt_shd.g_old_rec.per_information8
458: => hr_pdt_shd.g_old_rec.per_information5
459: ,p_per_information6_o
460: => hr_pdt_shd.g_old_rec.per_information6
461: ,p_per_information7_o
462: => hr_pdt_shd.g_old_rec.per_information7
463: ,p_per_information8_o
464: => hr_pdt_shd.g_old_rec.per_information8
465: ,p_per_information9_o
466: => hr_pdt_shd.g_old_rec.per_information9
460: => hr_pdt_shd.g_old_rec.per_information6
461: ,p_per_information7_o
462: => hr_pdt_shd.g_old_rec.per_information7
463: ,p_per_information8_o
464: => hr_pdt_shd.g_old_rec.per_information8
465: ,p_per_information9_o
466: => hr_pdt_shd.g_old_rec.per_information9
467: ,p_per_information10_o
468: => hr_pdt_shd.g_old_rec.per_information10
462: => hr_pdt_shd.g_old_rec.per_information7
463: ,p_per_information8_o
464: => hr_pdt_shd.g_old_rec.per_information8
465: ,p_per_information9_o
466: => hr_pdt_shd.g_old_rec.per_information9
467: ,p_per_information10_o
468: => hr_pdt_shd.g_old_rec.per_information10
469: ,p_per_information11_o
470: => hr_pdt_shd.g_old_rec.per_information11
464: => hr_pdt_shd.g_old_rec.per_information8
465: ,p_per_information9_o
466: => hr_pdt_shd.g_old_rec.per_information9
467: ,p_per_information10_o
468: => hr_pdt_shd.g_old_rec.per_information10
469: ,p_per_information11_o
470: => hr_pdt_shd.g_old_rec.per_information11
471: ,p_per_information12_o
472: => hr_pdt_shd.g_old_rec.per_information12
466: => hr_pdt_shd.g_old_rec.per_information9
467: ,p_per_information10_o
468: => hr_pdt_shd.g_old_rec.per_information10
469: ,p_per_information11_o
470: => hr_pdt_shd.g_old_rec.per_information11
471: ,p_per_information12_o
472: => hr_pdt_shd.g_old_rec.per_information12
473: ,p_per_information13_o
474: => hr_pdt_shd.g_old_rec.per_information13
468: => hr_pdt_shd.g_old_rec.per_information10
469: ,p_per_information11_o
470: => hr_pdt_shd.g_old_rec.per_information11
471: ,p_per_information12_o
472: => hr_pdt_shd.g_old_rec.per_information12
473: ,p_per_information13_o
474: => hr_pdt_shd.g_old_rec.per_information13
475: ,p_per_information14_o
476: => hr_pdt_shd.g_old_rec.per_information14
470: => hr_pdt_shd.g_old_rec.per_information11
471: ,p_per_information12_o
472: => hr_pdt_shd.g_old_rec.per_information12
473: ,p_per_information13_o
474: => hr_pdt_shd.g_old_rec.per_information13
475: ,p_per_information14_o
476: => hr_pdt_shd.g_old_rec.per_information14
477: ,p_per_information15_o
478: => hr_pdt_shd.g_old_rec.per_information15
472: => hr_pdt_shd.g_old_rec.per_information12
473: ,p_per_information13_o
474: => hr_pdt_shd.g_old_rec.per_information13
475: ,p_per_information14_o
476: => hr_pdt_shd.g_old_rec.per_information14
477: ,p_per_information15_o
478: => hr_pdt_shd.g_old_rec.per_information15
479: ,p_per_information16_o
480: => hr_pdt_shd.g_old_rec.per_information16
474: => hr_pdt_shd.g_old_rec.per_information13
475: ,p_per_information14_o
476: => hr_pdt_shd.g_old_rec.per_information14
477: ,p_per_information15_o
478: => hr_pdt_shd.g_old_rec.per_information15
479: ,p_per_information16_o
480: => hr_pdt_shd.g_old_rec.per_information16
481: ,p_per_information17_o
482: => hr_pdt_shd.g_old_rec.per_information17
476: => hr_pdt_shd.g_old_rec.per_information14
477: ,p_per_information15_o
478: => hr_pdt_shd.g_old_rec.per_information15
479: ,p_per_information16_o
480: => hr_pdt_shd.g_old_rec.per_information16
481: ,p_per_information17_o
482: => hr_pdt_shd.g_old_rec.per_information17
483: ,p_per_information18_o
484: => hr_pdt_shd.g_old_rec.per_information18
478: => hr_pdt_shd.g_old_rec.per_information15
479: ,p_per_information16_o
480: => hr_pdt_shd.g_old_rec.per_information16
481: ,p_per_information17_o
482: => hr_pdt_shd.g_old_rec.per_information17
483: ,p_per_information18_o
484: => hr_pdt_shd.g_old_rec.per_information18
485: ,p_per_information19_o
486: => hr_pdt_shd.g_old_rec.per_information19
480: => hr_pdt_shd.g_old_rec.per_information16
481: ,p_per_information17_o
482: => hr_pdt_shd.g_old_rec.per_information17
483: ,p_per_information18_o
484: => hr_pdt_shd.g_old_rec.per_information18
485: ,p_per_information19_o
486: => hr_pdt_shd.g_old_rec.per_information19
487: ,p_per_information20_o
488: => hr_pdt_shd.g_old_rec.per_information20
482: => hr_pdt_shd.g_old_rec.per_information17
483: ,p_per_information18_o
484: => hr_pdt_shd.g_old_rec.per_information18
485: ,p_per_information19_o
486: => hr_pdt_shd.g_old_rec.per_information19
487: ,p_per_information20_o
488: => hr_pdt_shd.g_old_rec.per_information20
489: ,p_per_information21_o
490: => hr_pdt_shd.g_old_rec.per_information21
484: => hr_pdt_shd.g_old_rec.per_information18
485: ,p_per_information19_o
486: => hr_pdt_shd.g_old_rec.per_information19
487: ,p_per_information20_o
488: => hr_pdt_shd.g_old_rec.per_information20
489: ,p_per_information21_o
490: => hr_pdt_shd.g_old_rec.per_information21
491: ,p_per_information22_o
492: => hr_pdt_shd.g_old_rec.per_information22
486: => hr_pdt_shd.g_old_rec.per_information19
487: ,p_per_information20_o
488: => hr_pdt_shd.g_old_rec.per_information20
489: ,p_per_information21_o
490: => hr_pdt_shd.g_old_rec.per_information21
491: ,p_per_information22_o
492: => hr_pdt_shd.g_old_rec.per_information22
493: ,p_per_information23_o
494: => hr_pdt_shd.g_old_rec.per_information23
488: => hr_pdt_shd.g_old_rec.per_information20
489: ,p_per_information21_o
490: => hr_pdt_shd.g_old_rec.per_information21
491: ,p_per_information22_o
492: => hr_pdt_shd.g_old_rec.per_information22
493: ,p_per_information23_o
494: => hr_pdt_shd.g_old_rec.per_information23
495: ,p_per_information24_o
496: => hr_pdt_shd.g_old_rec.per_information24
490: => hr_pdt_shd.g_old_rec.per_information21
491: ,p_per_information22_o
492: => hr_pdt_shd.g_old_rec.per_information22
493: ,p_per_information23_o
494: => hr_pdt_shd.g_old_rec.per_information23
495: ,p_per_information24_o
496: => hr_pdt_shd.g_old_rec.per_information24
497: ,p_per_information25_o
498: => hr_pdt_shd.g_old_rec.per_information25
492: => hr_pdt_shd.g_old_rec.per_information22
493: ,p_per_information23_o
494: => hr_pdt_shd.g_old_rec.per_information23
495: ,p_per_information24_o
496: => hr_pdt_shd.g_old_rec.per_information24
497: ,p_per_information25_o
498: => hr_pdt_shd.g_old_rec.per_information25
499: ,p_per_information26_o
500: => hr_pdt_shd.g_old_rec.per_information26
494: => hr_pdt_shd.g_old_rec.per_information23
495: ,p_per_information24_o
496: => hr_pdt_shd.g_old_rec.per_information24
497: ,p_per_information25_o
498: => hr_pdt_shd.g_old_rec.per_information25
499: ,p_per_information26_o
500: => hr_pdt_shd.g_old_rec.per_information26
501: ,p_per_information27_o
502: => hr_pdt_shd.g_old_rec.per_information27
496: => hr_pdt_shd.g_old_rec.per_information24
497: ,p_per_information25_o
498: => hr_pdt_shd.g_old_rec.per_information25
499: ,p_per_information26_o
500: => hr_pdt_shd.g_old_rec.per_information26
501: ,p_per_information27_o
502: => hr_pdt_shd.g_old_rec.per_information27
503: ,p_per_information28_o
504: => hr_pdt_shd.g_old_rec.per_information28
498: => hr_pdt_shd.g_old_rec.per_information25
499: ,p_per_information26_o
500: => hr_pdt_shd.g_old_rec.per_information26
501: ,p_per_information27_o
502: => hr_pdt_shd.g_old_rec.per_information27
503: ,p_per_information28_o
504: => hr_pdt_shd.g_old_rec.per_information28
505: ,p_per_information29_o
506: => hr_pdt_shd.g_old_rec.per_information29
500: => hr_pdt_shd.g_old_rec.per_information26
501: ,p_per_information27_o
502: => hr_pdt_shd.g_old_rec.per_information27
503: ,p_per_information28_o
504: => hr_pdt_shd.g_old_rec.per_information28
505: ,p_per_information29_o
506: => hr_pdt_shd.g_old_rec.per_information29
507: ,p_per_information30_o
508: => hr_pdt_shd.g_old_rec.per_information30
502: => hr_pdt_shd.g_old_rec.per_information27
503: ,p_per_information28_o
504: => hr_pdt_shd.g_old_rec.per_information28
505: ,p_per_information29_o
506: => hr_pdt_shd.g_old_rec.per_information29
507: ,p_per_information30_o
508: => hr_pdt_shd.g_old_rec.per_information30
509: );
510: --
504: => hr_pdt_shd.g_old_rec.per_information28
505: ,p_per_information29_o
506: => hr_pdt_shd.g_old_rec.per_information29
507: ,p_per_information30_o
508: => hr_pdt_shd.g_old_rec.per_information30
509: );
510: --
511: exception
512: --
564: --
565: -- {End Of Comments}
566: -- ----------------------------------------------------------------------------
567: Procedure convert_defs
568: (p_rec in out nocopy hr_pdt_shd.g_rec_type
569: ) is
570: --
571: Begin
572: --
576: -- is being used then we must set to the 'current' argument value.
577: --
578: If (p_rec.from_business_group_id = hr_api.g_number) then
579: p_rec.from_business_group_id :=
580: hr_pdt_shd.g_old_rec.from_business_group_id;
581: End If;
582: If (p_rec.to_business_group_id = hr_api.g_number) then
583: p_rec.to_business_group_id :=
584: hr_pdt_shd.g_old_rec.to_business_group_id;
580: hr_pdt_shd.g_old_rec.from_business_group_id;
581: End If;
582: If (p_rec.to_business_group_id = hr_api.g_number) then
583: p_rec.to_business_group_id :=
584: hr_pdt_shd.g_old_rec.to_business_group_id;
585: End If;
586: If (p_rec.from_person_id = hr_api.g_number) then
587: p_rec.from_person_id :=
588: hr_pdt_shd.g_old_rec.from_person_id;
584: hr_pdt_shd.g_old_rec.to_business_group_id;
585: End If;
586: If (p_rec.from_person_id = hr_api.g_number) then
587: p_rec.from_person_id :=
588: hr_pdt_shd.g_old_rec.from_person_id;
589: End If;
590: If (p_rec.to_person_id = hr_api.g_number) then
591: p_rec.to_person_id :=
592: hr_pdt_shd.g_old_rec.to_person_id;
588: hr_pdt_shd.g_old_rec.from_person_id;
589: End If;
590: If (p_rec.to_person_id = hr_api.g_number) then
591: p_rec.to_person_id :=
592: hr_pdt_shd.g_old_rec.to_person_id;
593: End If;
594: If (p_rec.person_type_id = hr_api.g_number) then
595: p_rec.person_type_id :=
596: hr_pdt_shd.g_old_rec.person_type_id;
592: hr_pdt_shd.g_old_rec.to_person_id;
593: End If;
594: If (p_rec.person_type_id = hr_api.g_number) then
595: p_rec.person_type_id :=
596: hr_pdt_shd.g_old_rec.person_type_id;
597: End If;
598: If (p_rec.start_date = hr_api.g_date) then
599: p_rec.start_date :=
600: hr_pdt_shd.g_old_rec.start_date;
596: hr_pdt_shd.g_old_rec.person_type_id;
597: End If;
598: If (p_rec.start_date = hr_api.g_date) then
599: p_rec.start_date :=
600: hr_pdt_shd.g_old_rec.start_date;
601: End If;
602: If (p_rec.end_date = hr_api.g_date) then
603: p_rec.end_date :=
604: hr_pdt_shd.g_old_rec.end_date;
600: hr_pdt_shd.g_old_rec.start_date;
601: End If;
602: If (p_rec.end_date = hr_api.g_date) then
603: p_rec.end_date :=
604: hr_pdt_shd.g_old_rec.end_date;
605: End If;
606: If (p_rec.deployment_reason = hr_api.g_varchar2) then
607: p_rec.deployment_reason :=
608: hr_pdt_shd.g_old_rec.deployment_reason;
604: hr_pdt_shd.g_old_rec.end_date;
605: End If;
606: If (p_rec.deployment_reason = hr_api.g_varchar2) then
607: p_rec.deployment_reason :=
608: hr_pdt_shd.g_old_rec.deployment_reason;
609: End If;
610: If (p_rec.employee_number = hr_api.g_varchar2) then
611: p_rec.employee_number :=
612: hr_pdt_shd.g_old_rec.employee_number;
608: hr_pdt_shd.g_old_rec.deployment_reason;
609: End If;
610: If (p_rec.employee_number = hr_api.g_varchar2) then
611: p_rec.employee_number :=
612: hr_pdt_shd.g_old_rec.employee_number;
613: End If;
614: If (p_rec.leaving_reason = hr_api.g_varchar2) then
615: p_rec.leaving_reason :=
616: hr_pdt_shd.g_old_rec.leaving_reason;
612: hr_pdt_shd.g_old_rec.employee_number;
613: End If;
614: If (p_rec.leaving_reason = hr_api.g_varchar2) then
615: p_rec.leaving_reason :=
616: hr_pdt_shd.g_old_rec.leaving_reason;
617: End If;
618: If (p_rec.leaving_person_type_id = hr_api.g_number) then
619: p_rec.leaving_person_type_id :=
620: hr_pdt_shd.g_old_rec.leaving_person_type_id;
616: hr_pdt_shd.g_old_rec.leaving_reason;
617: End If;
618: If (p_rec.leaving_person_type_id = hr_api.g_number) then
619: p_rec.leaving_person_type_id :=
620: hr_pdt_shd.g_old_rec.leaving_person_type_id;
621: End If;
622: If (p_rec.permanent = hr_api.g_varchar2) then
623: p_rec.permanent :=
624: hr_pdt_shd.g_old_rec.permanent;
620: hr_pdt_shd.g_old_rec.leaving_person_type_id;
621: End If;
622: If (p_rec.permanent = hr_api.g_varchar2) then
623: p_rec.permanent :=
624: hr_pdt_shd.g_old_rec.permanent;
625: End If;
626: If (p_rec.status = hr_api.g_varchar2) then
627: p_rec.status :=
628: hr_pdt_shd.g_old_rec.status;
624: hr_pdt_shd.g_old_rec.permanent;
625: End If;
626: If (p_rec.status = hr_api.g_varchar2) then
627: p_rec.status :=
628: hr_pdt_shd.g_old_rec.status;
629: End If;
630: If (p_rec.status_change_reason = hr_api.g_varchar2) then
631: p_rec.status_change_reason :=
632: hr_pdt_shd.g_old_rec.status_change_reason;
628: hr_pdt_shd.g_old_rec.status;
629: End If;
630: If (p_rec.status_change_reason = hr_api.g_varchar2) then
631: p_rec.status_change_reason :=
632: hr_pdt_shd.g_old_rec.status_change_reason;
633: End If;
634: If (p_rec.status_change_date = hr_api.g_date) then
635: p_rec.status_change_date :=
636: hr_pdt_shd.g_old_rec.status_change_date;
632: hr_pdt_shd.g_old_rec.status_change_reason;
633: End If;
634: If (p_rec.status_change_date = hr_api.g_date) then
635: p_rec.status_change_date :=
636: hr_pdt_shd.g_old_rec.status_change_date;
637: End If;
638: If (p_rec.deplymt_policy_id = hr_api.g_number) then
639: p_rec.deplymt_policy_id :=
640: hr_pdt_shd.g_old_rec.deplymt_policy_id;
636: hr_pdt_shd.g_old_rec.status_change_date;
637: End If;
638: If (p_rec.deplymt_policy_id = hr_api.g_number) then
639: p_rec.deplymt_policy_id :=
640: hr_pdt_shd.g_old_rec.deplymt_policy_id;
641: End If;
642: If (p_rec.organization_id = hr_api.g_number) then
643: p_rec.organization_id :=
644: hr_pdt_shd.g_old_rec.organization_id;
640: hr_pdt_shd.g_old_rec.deplymt_policy_id;
641: End If;
642: If (p_rec.organization_id = hr_api.g_number) then
643: p_rec.organization_id :=
644: hr_pdt_shd.g_old_rec.organization_id;
645: End If;
646: If (p_rec.location_id = hr_api.g_number) then
647: p_rec.location_id :=
648: hr_pdt_shd.g_old_rec.location_id;
644: hr_pdt_shd.g_old_rec.organization_id;
645: End If;
646: If (p_rec.location_id = hr_api.g_number) then
647: p_rec.location_id :=
648: hr_pdt_shd.g_old_rec.location_id;
649: End If;
650: If (p_rec.job_id = hr_api.g_number) then
651: p_rec.job_id :=
652: hr_pdt_shd.g_old_rec.job_id;
648: hr_pdt_shd.g_old_rec.location_id;
649: End If;
650: If (p_rec.job_id = hr_api.g_number) then
651: p_rec.job_id :=
652: hr_pdt_shd.g_old_rec.job_id;
653: End If;
654: If (p_rec.position_id = hr_api.g_number) then
655: p_rec.position_id :=
656: hr_pdt_shd.g_old_rec.position_id;
652: hr_pdt_shd.g_old_rec.job_id;
653: End If;
654: If (p_rec.position_id = hr_api.g_number) then
655: p_rec.position_id :=
656: hr_pdt_shd.g_old_rec.position_id;
657: End If;
658: If (p_rec.grade_id = hr_api.g_number) then
659: p_rec.grade_id :=
660: hr_pdt_shd.g_old_rec.grade_id;
656: hr_pdt_shd.g_old_rec.position_id;
657: End If;
658: If (p_rec.grade_id = hr_api.g_number) then
659: p_rec.grade_id :=
660: hr_pdt_shd.g_old_rec.grade_id;
661: End If;
662: If (p_rec.supervisor_id = hr_api.g_number) then
663: p_rec.supervisor_id :=
664: hr_pdt_shd.g_old_rec.supervisor_id;
660: hr_pdt_shd.g_old_rec.grade_id;
661: End If;
662: If (p_rec.supervisor_id = hr_api.g_number) then
663: p_rec.supervisor_id :=
664: hr_pdt_shd.g_old_rec.supervisor_id;
665: End If;
666: If (p_rec.supervisor_assignment_id = hr_api.g_number) then
667: p_rec.supervisor_assignment_id :=
668: hr_pdt_shd.g_old_rec.supervisor_assignment_id;
664: hr_pdt_shd.g_old_rec.supervisor_id;
665: End If;
666: If (p_rec.supervisor_assignment_id = hr_api.g_number) then
667: p_rec.supervisor_assignment_id :=
668: hr_pdt_shd.g_old_rec.supervisor_assignment_id;
669: End If;
670: If (p_rec.retain_direct_reports = hr_api.g_varchar2) then
671: p_rec.retain_direct_reports :=
672: hr_pdt_shd.g_old_rec.retain_direct_reports;
668: hr_pdt_shd.g_old_rec.supervisor_assignment_id;
669: End If;
670: If (p_rec.retain_direct_reports = hr_api.g_varchar2) then
671: p_rec.retain_direct_reports :=
672: hr_pdt_shd.g_old_rec.retain_direct_reports;
673: End If;
674: If (p_rec.payroll_id = hr_api.g_number) then
675: p_rec.payroll_id :=
676: hr_pdt_shd.g_old_rec.payroll_id;
672: hr_pdt_shd.g_old_rec.retain_direct_reports;
673: End If;
674: If (p_rec.payroll_id = hr_api.g_number) then
675: p_rec.payroll_id :=
676: hr_pdt_shd.g_old_rec.payroll_id;
677: End If;
678: If (p_rec.pay_basis_id = hr_api.g_number) then
679: p_rec.pay_basis_id :=
680: hr_pdt_shd.g_old_rec.pay_basis_id;
676: hr_pdt_shd.g_old_rec.payroll_id;
677: End If;
678: If (p_rec.pay_basis_id = hr_api.g_number) then
679: p_rec.pay_basis_id :=
680: hr_pdt_shd.g_old_rec.pay_basis_id;
681: End If;
682: If (p_rec.proposed_salary = hr_api.g_varchar2) then
683: p_rec.proposed_salary :=
684: hr_pdt_shd.g_old_rec.proposed_salary;
680: hr_pdt_shd.g_old_rec.pay_basis_id;
681: End If;
682: If (p_rec.proposed_salary = hr_api.g_varchar2) then
683: p_rec.proposed_salary :=
684: hr_pdt_shd.g_old_rec.proposed_salary;
685: End If;
686: If (p_rec.people_group_id = hr_api.g_number) then
687: p_rec.people_group_id :=
688: hr_pdt_shd.g_old_rec.people_group_id;
684: hr_pdt_shd.g_old_rec.proposed_salary;
685: End If;
686: If (p_rec.people_group_id = hr_api.g_number) then
687: p_rec.people_group_id :=
688: hr_pdt_shd.g_old_rec.people_group_id;
689: End If;
690: If (p_rec.soft_coding_keyflex_id = hr_api.g_number) then
691: p_rec.soft_coding_keyflex_id :=
692: hr_pdt_shd.g_old_rec.soft_coding_keyflex_id;
688: hr_pdt_shd.g_old_rec.people_group_id;
689: End If;
690: If (p_rec.soft_coding_keyflex_id = hr_api.g_number) then
691: p_rec.soft_coding_keyflex_id :=
692: hr_pdt_shd.g_old_rec.soft_coding_keyflex_id;
693: End If;
694: If (p_rec.assignment_status_type_id = hr_api.g_number) then
695: p_rec.assignment_status_type_id :=
696: hr_pdt_shd.g_old_rec.assignment_status_type_id;
692: hr_pdt_shd.g_old_rec.soft_coding_keyflex_id;
693: End If;
694: If (p_rec.assignment_status_type_id = hr_api.g_number) then
695: p_rec.assignment_status_type_id :=
696: hr_pdt_shd.g_old_rec.assignment_status_type_id;
697: End If;
698: If (p_rec.ass_status_change_reason = hr_api.g_varchar2) then
699: p_rec.ass_status_change_reason :=
700: hr_pdt_shd.g_old_rec.ass_status_change_reason;
696: hr_pdt_shd.g_old_rec.assignment_status_type_id;
697: End If;
698: If (p_rec.ass_status_change_reason = hr_api.g_varchar2) then
699: p_rec.ass_status_change_reason :=
700: hr_pdt_shd.g_old_rec.ass_status_change_reason;
701: End If;
702: If (p_rec.assignment_category = hr_api.g_varchar2) then
703: p_rec.assignment_category :=
704: hr_pdt_shd.g_old_rec.assignment_category;
700: hr_pdt_shd.g_old_rec.ass_status_change_reason;
701: End If;
702: If (p_rec.assignment_category = hr_api.g_varchar2) then
703: p_rec.assignment_category :=
704: hr_pdt_shd.g_old_rec.assignment_category;
705: End If;
706: If (p_rec.per_information_category = hr_api.g_varchar2) then
707: p_rec.per_information_category :=
708: hr_pdt_shd.g_old_rec.per_information_category;
704: hr_pdt_shd.g_old_rec.assignment_category;
705: End If;
706: If (p_rec.per_information_category = hr_api.g_varchar2) then
707: p_rec.per_information_category :=
708: hr_pdt_shd.g_old_rec.per_information_category;
709: End If;
710: If (p_rec.per_information1 = hr_api.g_varchar2) then
711: p_rec.per_information1 :=
712: hr_pdt_shd.g_old_rec.per_information1;
708: hr_pdt_shd.g_old_rec.per_information_category;
709: End If;
710: If (p_rec.per_information1 = hr_api.g_varchar2) then
711: p_rec.per_information1 :=
712: hr_pdt_shd.g_old_rec.per_information1;
713: End If;
714: If (p_rec.per_information2 = hr_api.g_varchar2) then
715: p_rec.per_information2 :=
716: hr_pdt_shd.g_old_rec.per_information2;
712: hr_pdt_shd.g_old_rec.per_information1;
713: End If;
714: If (p_rec.per_information2 = hr_api.g_varchar2) then
715: p_rec.per_information2 :=
716: hr_pdt_shd.g_old_rec.per_information2;
717: End If;
718: If (p_rec.per_information3 = hr_api.g_varchar2) then
719: p_rec.per_information3 :=
720: hr_pdt_shd.g_old_rec.per_information3;
716: hr_pdt_shd.g_old_rec.per_information2;
717: End If;
718: If (p_rec.per_information3 = hr_api.g_varchar2) then
719: p_rec.per_information3 :=
720: hr_pdt_shd.g_old_rec.per_information3;
721: End If;
722: If (p_rec.per_information4 = hr_api.g_varchar2) then
723: p_rec.per_information4 :=
724: hr_pdt_shd.g_old_rec.per_information4;
720: hr_pdt_shd.g_old_rec.per_information3;
721: End If;
722: If (p_rec.per_information4 = hr_api.g_varchar2) then
723: p_rec.per_information4 :=
724: hr_pdt_shd.g_old_rec.per_information4;
725: End If;
726: If (p_rec.per_information5 = hr_api.g_varchar2) then
727: p_rec.per_information5 :=
728: hr_pdt_shd.g_old_rec.per_information5;
724: hr_pdt_shd.g_old_rec.per_information4;
725: End If;
726: If (p_rec.per_information5 = hr_api.g_varchar2) then
727: p_rec.per_information5 :=
728: hr_pdt_shd.g_old_rec.per_information5;
729: End If;
730: If (p_rec.per_information6 = hr_api.g_varchar2) then
731: p_rec.per_information6 :=
732: hr_pdt_shd.g_old_rec.per_information6;
728: hr_pdt_shd.g_old_rec.per_information5;
729: End If;
730: If (p_rec.per_information6 = hr_api.g_varchar2) then
731: p_rec.per_information6 :=
732: hr_pdt_shd.g_old_rec.per_information6;
733: End If;
734: If (p_rec.per_information7 = hr_api.g_varchar2) then
735: p_rec.per_information7 :=
736: hr_pdt_shd.g_old_rec.per_information7;
732: hr_pdt_shd.g_old_rec.per_information6;
733: End If;
734: If (p_rec.per_information7 = hr_api.g_varchar2) then
735: p_rec.per_information7 :=
736: hr_pdt_shd.g_old_rec.per_information7;
737: End If;
738: If (p_rec.per_information8 = hr_api.g_varchar2) then
739: p_rec.per_information8 :=
740: hr_pdt_shd.g_old_rec.per_information8;
736: hr_pdt_shd.g_old_rec.per_information7;
737: End If;
738: If (p_rec.per_information8 = hr_api.g_varchar2) then
739: p_rec.per_information8 :=
740: hr_pdt_shd.g_old_rec.per_information8;
741: End If;
742: If (p_rec.per_information9 = hr_api.g_varchar2) then
743: p_rec.per_information9 :=
744: hr_pdt_shd.g_old_rec.per_information9;
740: hr_pdt_shd.g_old_rec.per_information8;
741: End If;
742: If (p_rec.per_information9 = hr_api.g_varchar2) then
743: p_rec.per_information9 :=
744: hr_pdt_shd.g_old_rec.per_information9;
745: End If;
746: If (p_rec.per_information10 = hr_api.g_varchar2) then
747: p_rec.per_information10 :=
748: hr_pdt_shd.g_old_rec.per_information10;
744: hr_pdt_shd.g_old_rec.per_information9;
745: End If;
746: If (p_rec.per_information10 = hr_api.g_varchar2) then
747: p_rec.per_information10 :=
748: hr_pdt_shd.g_old_rec.per_information10;
749: End If;
750: If (p_rec.per_information11 = hr_api.g_varchar2) then
751: p_rec.per_information11 :=
752: hr_pdt_shd.g_old_rec.per_information11;
748: hr_pdt_shd.g_old_rec.per_information10;
749: End If;
750: If (p_rec.per_information11 = hr_api.g_varchar2) then
751: p_rec.per_information11 :=
752: hr_pdt_shd.g_old_rec.per_information11;
753: End If;
754: If (p_rec.per_information12 = hr_api.g_varchar2) then
755: p_rec.per_information12 :=
756: hr_pdt_shd.g_old_rec.per_information12;
752: hr_pdt_shd.g_old_rec.per_information11;
753: End If;
754: If (p_rec.per_information12 = hr_api.g_varchar2) then
755: p_rec.per_information12 :=
756: hr_pdt_shd.g_old_rec.per_information12;
757: End If;
758: If (p_rec.per_information13 = hr_api.g_varchar2) then
759: p_rec.per_information13 :=
760: hr_pdt_shd.g_old_rec.per_information13;
756: hr_pdt_shd.g_old_rec.per_information12;
757: End If;
758: If (p_rec.per_information13 = hr_api.g_varchar2) then
759: p_rec.per_information13 :=
760: hr_pdt_shd.g_old_rec.per_information13;
761: End If;
762: If (p_rec.per_information14 = hr_api.g_varchar2) then
763: p_rec.per_information14 :=
764: hr_pdt_shd.g_old_rec.per_information14;
760: hr_pdt_shd.g_old_rec.per_information13;
761: End If;
762: If (p_rec.per_information14 = hr_api.g_varchar2) then
763: p_rec.per_information14 :=
764: hr_pdt_shd.g_old_rec.per_information14;
765: End If;
766: If (p_rec.per_information15 = hr_api.g_varchar2) then
767: p_rec.per_information15 :=
768: hr_pdt_shd.g_old_rec.per_information15;
764: hr_pdt_shd.g_old_rec.per_information14;
765: End If;
766: If (p_rec.per_information15 = hr_api.g_varchar2) then
767: p_rec.per_information15 :=
768: hr_pdt_shd.g_old_rec.per_information15;
769: End If;
770: If (p_rec.per_information16 = hr_api.g_varchar2) then
771: p_rec.per_information16 :=
772: hr_pdt_shd.g_old_rec.per_information16;
768: hr_pdt_shd.g_old_rec.per_information15;
769: End If;
770: If (p_rec.per_information16 = hr_api.g_varchar2) then
771: p_rec.per_information16 :=
772: hr_pdt_shd.g_old_rec.per_information16;
773: End If;
774: If (p_rec.per_information17 = hr_api.g_varchar2) then
775: p_rec.per_information17 :=
776: hr_pdt_shd.g_old_rec.per_information17;
772: hr_pdt_shd.g_old_rec.per_information16;
773: End If;
774: If (p_rec.per_information17 = hr_api.g_varchar2) then
775: p_rec.per_information17 :=
776: hr_pdt_shd.g_old_rec.per_information17;
777: End If;
778: If (p_rec.per_information18 = hr_api.g_varchar2) then
779: p_rec.per_information18 :=
780: hr_pdt_shd.g_old_rec.per_information18;
776: hr_pdt_shd.g_old_rec.per_information17;
777: End If;
778: If (p_rec.per_information18 = hr_api.g_varchar2) then
779: p_rec.per_information18 :=
780: hr_pdt_shd.g_old_rec.per_information18;
781: End If;
782: If (p_rec.per_information19 = hr_api.g_varchar2) then
783: p_rec.per_information19 :=
784: hr_pdt_shd.g_old_rec.per_information19;
780: hr_pdt_shd.g_old_rec.per_information18;
781: End If;
782: If (p_rec.per_information19 = hr_api.g_varchar2) then
783: p_rec.per_information19 :=
784: hr_pdt_shd.g_old_rec.per_information19;
785: End If;
786: If (p_rec.per_information20 = hr_api.g_varchar2) then
787: p_rec.per_information20 :=
788: hr_pdt_shd.g_old_rec.per_information20;
784: hr_pdt_shd.g_old_rec.per_information19;
785: End If;
786: If (p_rec.per_information20 = hr_api.g_varchar2) then
787: p_rec.per_information20 :=
788: hr_pdt_shd.g_old_rec.per_information20;
789: End If;
790: If (p_rec.per_information21 = hr_api.g_varchar2) then
791: p_rec.per_information21 :=
792: hr_pdt_shd.g_old_rec.per_information21;
788: hr_pdt_shd.g_old_rec.per_information20;
789: End If;
790: If (p_rec.per_information21 = hr_api.g_varchar2) then
791: p_rec.per_information21 :=
792: hr_pdt_shd.g_old_rec.per_information21;
793: End If;
794: If (p_rec.per_information22 = hr_api.g_varchar2) then
795: p_rec.per_information22 :=
796: hr_pdt_shd.g_old_rec.per_information22;
792: hr_pdt_shd.g_old_rec.per_information21;
793: End If;
794: If (p_rec.per_information22 = hr_api.g_varchar2) then
795: p_rec.per_information22 :=
796: hr_pdt_shd.g_old_rec.per_information22;
797: End If;
798: If (p_rec.per_information23 = hr_api.g_varchar2) then
799: p_rec.per_information23 :=
800: hr_pdt_shd.g_old_rec.per_information23;
796: hr_pdt_shd.g_old_rec.per_information22;
797: End If;
798: If (p_rec.per_information23 = hr_api.g_varchar2) then
799: p_rec.per_information23 :=
800: hr_pdt_shd.g_old_rec.per_information23;
801: End If;
802: If (p_rec.per_information24 = hr_api.g_varchar2) then
803: p_rec.per_information24 :=
804: hr_pdt_shd.g_old_rec.per_information24;
800: hr_pdt_shd.g_old_rec.per_information23;
801: End If;
802: If (p_rec.per_information24 = hr_api.g_varchar2) then
803: p_rec.per_information24 :=
804: hr_pdt_shd.g_old_rec.per_information24;
805: End If;
806: If (p_rec.per_information25 = hr_api.g_varchar2) then
807: p_rec.per_information25 :=
808: hr_pdt_shd.g_old_rec.per_information25;
804: hr_pdt_shd.g_old_rec.per_information24;
805: End If;
806: If (p_rec.per_information25 = hr_api.g_varchar2) then
807: p_rec.per_information25 :=
808: hr_pdt_shd.g_old_rec.per_information25;
809: End If;
810: If (p_rec.per_information26 = hr_api.g_varchar2) then
811: p_rec.per_information26 :=
812: hr_pdt_shd.g_old_rec.per_information26;
808: hr_pdt_shd.g_old_rec.per_information25;
809: End If;
810: If (p_rec.per_information26 = hr_api.g_varchar2) then
811: p_rec.per_information26 :=
812: hr_pdt_shd.g_old_rec.per_information26;
813: End If;
814: If (p_rec.per_information27 = hr_api.g_varchar2) then
815: p_rec.per_information27 :=
816: hr_pdt_shd.g_old_rec.per_information27;
812: hr_pdt_shd.g_old_rec.per_information26;
813: End If;
814: If (p_rec.per_information27 = hr_api.g_varchar2) then
815: p_rec.per_information27 :=
816: hr_pdt_shd.g_old_rec.per_information27;
817: End If;
818: If (p_rec.per_information28 = hr_api.g_varchar2) then
819: p_rec.per_information28 :=
820: hr_pdt_shd.g_old_rec.per_information28;
816: hr_pdt_shd.g_old_rec.per_information27;
817: End If;
818: If (p_rec.per_information28 = hr_api.g_varchar2) then
819: p_rec.per_information28 :=
820: hr_pdt_shd.g_old_rec.per_information28;
821: End If;
822: If (p_rec.per_information29 = hr_api.g_varchar2) then
823: p_rec.per_information29 :=
824: hr_pdt_shd.g_old_rec.per_information29;
820: hr_pdt_shd.g_old_rec.per_information28;
821: End If;
822: If (p_rec.per_information29 = hr_api.g_varchar2) then
823: p_rec.per_information29 :=
824: hr_pdt_shd.g_old_rec.per_information29;
825: End If;
826: If (p_rec.per_information30 = hr_api.g_varchar2) then
827: p_rec.per_information30 :=
828: hr_pdt_shd.g_old_rec.per_information30;
824: hr_pdt_shd.g_old_rec.per_information29;
825: End If;
826: If (p_rec.per_information30 = hr_api.g_varchar2) then
827: p_rec.per_information30 :=
828: hr_pdt_shd.g_old_rec.per_information30;
829: End If;
830: --
831: End convert_defs;
832: --
833: -- ----------------------------------------------------------------------------
834: -- |---------------------------------< upd >----------------------------------|
835: -- ----------------------------------------------------------------------------
836: Procedure upd
837: (p_rec in out nocopy hr_pdt_shd.g_rec_type
838: ) is
839: --
840: l_proc varchar2(72) := g_package||'upd';
841: --
843: hr_utility.set_location('Entering:'||l_proc, 5);
844: --
845: -- We must lock the row which we need to update.
846: --
847: hr_pdt_shd.lck
848: (p_rec.person_deployment_id
849: ,p_rec.object_version_number
850: );
851: --
864: hr_multi_message.end_validation_set;
865: --
866: -- Set the status change date if the status has changed
867: --
868: if p_rec.status <> hr_pdt_shd.g_old_rec.status then
869: p_rec.status_change_date := trunc(sysdate);
870: else
871: p_rec.status_change_date := hr_pdt_shd.g_old_rec.status_change_date;
872: end if;
867: --
868: if p_rec.status <> hr_pdt_shd.g_old_rec.status then
869: p_rec.status_change_date := trunc(sysdate);
870: else
871: p_rec.status_change_date := hr_pdt_shd.g_old_rec.status_change_date;
872: end if;
873: --
874: -- Call the supporting pre-update operation
875: --
958: ,p_per_information29 in varchar2 default hr_api.g_varchar2
959: ,p_per_information30 in varchar2 default hr_api.g_varchar2
960: ) is
961: --
962: l_rec hr_pdt_shd.g_rec_type;
963: l_proc varchar2(72) := g_package||'upd';
964: --
965: Begin
966: hr_utility.set_location('Entering:'||l_proc, 5);
968: -- Call conversion function to turn arguments into the
969: -- l_rec structure.
970: --
971: l_rec :=
972: hr_pdt_shd.convert_args
973: (p_person_deployment_id
974: ,p_object_version_number
975: ,p_from_business_group_id
976: ,p_to_business_group_id