DBA Data[Home] [Help]

APPS.HR_PERSON_API dependencies on HR_PHONE_API

Line 775: hr_phone_api.create_phone

771: p_work_telephone is not null) then
772: if g_debug then
773: hr_utility.set_location('Creating new phone', 67);
774: end if;
775: hr_phone_api.create_phone
776: (p_date_from => l_effective_date
777: ,p_date_to => null
778: ,p_phone_type => 'W1'
779: ,p_phone_number => p_work_telephone

Line 799: hr_phone_api.delete_phone(FALSE, l_phone_id, l_phn_object_version_number);

795: if l_old_work_telephone is not null and p_work_telephone is null then
796: if g_debug then
797: hr_utility.set_location('Deleting phone', 68);
798: end if;
799: hr_phone_api.delete_phone(FALSE, l_phone_id, l_phn_object_version_number);
800:
801: --
802: -- If old and corrected entries are both not null then update the row with
803: -- no changes to start and to dates.

Line 809: hr_phone_api.update_phone

805: elsif l_old_work_telephone is not null and p_work_telephone is not null then
806: if g_debug then
807: hr_utility.set_location('Updating phone in correction mode', 67);
808: end if;
809: hr_phone_api.update_phone
810: (p_phone_id => l_phone_id,
811: p_phone_number => p_work_telephone,
812: p_object_version_number => l_phn_object_version_number,
813: p_effective_date => l_effective_date);

Line 829: hr_phone_api.update_phone

825: if l_old_work_telephone is not null and p_work_telephone is null then
826: if g_debug then
827: hr_utility.set_location('Updating old phone in update mode', 69);
828: end if;
829: hr_phone_api.update_phone
830: (p_phone_id => l_phone_id,
831: p_date_to => l_effective_date - 1,
832: p_object_version_number => l_phn_object_version_number,
833: p_effective_date => l_effective_date);

Line 844: hr_phone_api.update_phone

840:
841: if g_debug then
842: hr_utility.set_location('Capping old phone in update mode', 70);
843: end if;
844: hr_phone_api.update_phone
845: (p_phone_id => l_phone_id,
846: p_date_to => l_effective_date -1,
847: p_object_version_number => l_phn_object_version_number,
848: p_effective_date => l_effective_date);

Line 853: hr_phone_api.create_phone

849:
850: if g_debug then
851: hr_utility.set_location('Creating new phone in update mode', 71);
852: end if;
853: hr_phone_api.create_phone
854: (p_date_from => l_effective_date
855: ,p_date_to => l_phn_date_to
856: --replaced null with l_phn_date_to for bug# 878827
857: ,p_phone_type => 'W1'