DBA Data[Home] [Help]

APPS.PAY_SA_GOSI_REPORTS dependencies on PER_PEOPLE_EXTRA_INFO

Line 400: SELECT pei.pei_information1 FROM per_people_extra_info pei

396: and paf.assignment_id = p_assignment_id
397: and trunc(p_date,'MM') between trunc(paf.effective_start_date,'MM') and paf.effective_end_date;
398: --cursor to get the passport number of the newly hired employees
399: cursor get_passport_number (pn_person_id number,p_date date) is
400: SELECT pei.pei_information1 FROM per_people_extra_info pei
401: WHERE pei.person_id = pn_person_id
402: AND pei.information_type = 'SA_PASSPORT' AND pei.pei_information_category = 'SA_PASSPORT'
403: AND p_date between trunc(fnd_date.canonical_to_date(pei.pei_information3),'MM') and fnd_date.canonical_to_date(pei.pei_information4);
404: --cursor to get the Civil ID

Line 2789: FROM per_people_extra_info pei

2785: and l_date between ppf.effective_start_date and ppf.effective_end_date;
2786: --cursor to get the passport number and other details
2787: cursor get_passport_number (l_person_id number,l_date date) is
2788: SELECT pei.pei_information1 , fnd_date.canonical_to_date(pei.pei_information3) , pei.pei_information5
2789: FROM per_people_extra_info pei
2790: WHERE pei.person_id = l_person_id
2791: AND pei.information_type = 'SA_PASSPORT' AND pei.pei_information_category = 'SA_PASSPORT'
2792: AND l_date between trunc(fnd_date.canonical_to_date(pei.pei_information3),'MM') and fnd_date.canonical_to_date(pei.pei_information4);
2793: --cursor to get the hafiza number

Line 2796: FROM per_people_extra_info pei

2792: AND l_date between trunc(fnd_date.canonical_to_date(pei.pei_information3),'MM') and fnd_date.canonical_to_date(pei.pei_information4);
2793: --cursor to get the hafiza number
2794: cursor get_hafiza_number (l_person_id number) is
2795: SELECT pei.pei_information1,fnd_date.canonical_to_date(pei.pei_information2),pei.pei_information3
2796: FROM per_people_extra_info pei
2797: WHERE pei.person_id = l_person_id
2798: AND pei.information_type = 'SA_HAFIZA' AND pei.pei_information_category = 'SA_HAFIZA'
2799: AND rowid = (select max(rowid) from per_people_extra_info where person_id = l_person_id ) ;
2800: --cursor to get employers town or city

Line 2799: AND rowid = (select max(rowid) from per_people_extra_info where person_id = l_person_id ) ;

2795: SELECT pei.pei_information1,fnd_date.canonical_to_date(pei.pei_information2),pei.pei_information3
2796: FROM per_people_extra_info pei
2797: WHERE pei.person_id = l_person_id
2798: AND pei.information_type = 'SA_HAFIZA' AND pei.pei_information_category = 'SA_HAFIZA'
2799: AND rowid = (select max(rowid) from per_people_extra_info where person_id = l_person_id ) ;
2800: --cursor to get employers town or city
2801: CURSOR csr_get_work_location (l_organization_id number) IS
2802: select town_or_city
2803: from hr_locations hl, hr_all_organization_units hau