DBA Data[Home] [Help]

APPS.GHR_MTI_INT dependencies on HR_UTILITY

Line 14: hr_utility.set_location('Entering:'||l_proc, 10);

10: l_message varchar2(100);
11:
12: begin
13:
14: hr_utility.set_location('Entering:'||l_proc, 10);
15:
16: if p_bool = TRUE then
17: l_message := p_message|| 'TRUE';
18: else

Line 22: hr_utility.set_location('Leaving:'||l_proc, 10);

18: else
19: l_message := p_message|| 'FALSE';
20: end if;
21:
22: hr_utility.set_location('Leaving:'||l_proc, 10);
23: return l_message;
24:
25: end report_state;
26:

Line 33: hr_utility.set_location('Entering:'||l_proc, 10);

29: l_proc varchar2(72) := g_package||'ck_parameter_list';
30:
31: begin
32:
33: hr_utility.set_location('Entering:'||l_proc, 10);
34:
35: if p_person_row.last_name is null then
36: -- a persons last name is required to create an applicant
37: return FALSE;

Line 45: hr_utility.set_location('Leaving:'||l_proc, 10);

41: -- interface table for ther person
42: return FALSE;
43: end if;
44:
45: hr_utility.set_location('Leaving:'||l_proc, 10);
46: return TRUE;
47:
48: end ck_parameter_list;
49:

Line 58: hr_utility.set_location('Entering:'||l_proc, 10);

54:
55: l_proc varchar2(72) := g_package||'set_transfer_status';
56: begin
57:
58: hr_utility.set_location('Entering:'||l_proc, 10);
59:
60: -- update interface table to indicate result of transfer
61: update ghr_mt_people_f_v
62: set mt_status = p_status_code

Line 67: hr_utility.set_location('Leaving:'||l_proc, 10);

63: where mt_name = p_transfer_name
64: and last_name = p_last_name
65: and mt_person_id = p_person_id;
66:
67: hr_utility.set_location('Leaving:'||l_proc, 10);
68:
69: exception
70: when others then
71: ghr_mto_int.put_line(l_proc||' - raised exception');

Line 72: hr_utility.raise_error;

68:
69: exception
70: when others then
71: ghr_mto_int.put_line(l_proc||' - raised exception');
72: hr_utility.raise_error;
73:
74: end set_transfer_status;
75:
76: procedure update_mass_transfer_in_flag(p_person_id number,

Line 93: hr_utility.set_location('Entering:'||l_proc, 10);

89: l_proc varchar2(72) := g_package||'update_mass_transfer_in_flag';
90:
91: begin
92:
93: hr_utility.set_location('Entering:'||l_proc, 10);
94:
95: open cur_pei_id;
96: fetch cur_pei_id into l_person_extra_info_id, l_object_version_number;
97:

Line 124: hr_utility.set_location('Leaving:'||l_proc, 10);

120:
121: end if;
122:
123: close cur_pei_id;
124: hr_utility.set_location('Leaving:'||l_proc, 10);
125:
126: exception
127: when others then
128: ghr_mto_int.put_line(l_proc||' - raised exception');

Line 129: hr_utility.raise_error;

125:
126: exception
127: when others then
128: ghr_mto_int.put_line(l_proc||' - raised exception');
129: hr_utility.raise_error;
130:
131: end;
132:
133: --

Line 166: hr_utility.set_location('Entering:'||l_proc, 10);

162: l_object_version_number number(15);
163:
164: begin
165:
166: hr_utility.set_location('Entering:'||l_proc, 10);
167:
168: ghr_mto_int.put('Person Extra Info: '|| p_information_type);
169:
170: -- don't add info3 if DDF segment is GHR_US_PER_GROUP1

Line 225: hr_utility.set_location('Leaving:'||l_proc, 30);

221: ,p_object_version_number => l_object_version_number
222: );
223:
224: ghr_mto_int.put_line(' > ok, pei_id: '|| l_person_extra_info_id);
225: hr_utility.set_location('Leaving:'||l_proc, 30);
226:
227: exception
228: when others then
229: ghr_mto_int.put_line(l_proc||' - raised exception');

Line 230: hr_utility.raise_error;

226:
227: exception
228: when others then
229: ghr_mto_int.put_line(l_proc||' - raised exception');
230: hr_utility.raise_error;
231:
232: end;
233:
234: procedure create_sit_maybe (

Line 271: hr_utility.set_location('Entering:'||l_proc, 10);

267: and language = 'US';
268:
269: begin
270:
271: hr_utility.set_location('Entering:'||l_proc, 10);
272:
273: ghr_mto_int.put('Person Spcl Info: '|| p_id_flex_name);
274:
275: l_concat := p_segment1 ||

Line 300: hr_utility.set_message(8301, 'GHR_38532_MT_SIT_STRUCT');

296: fetch cur_flex_num into l_id_flex_num;
297:
298: if cur_flex_num%notfound then
299: close cur_flex_num;
300: hr_utility.set_message(8301, 'GHR_38532_MT_SIT_STRUCT');
301: hr_utility.raise_error;
302: end if;
303: close cur_flex_num;
304:

Line 301: hr_utility.raise_error;

297:
298: if cur_flex_num%notfound then
299: close cur_flex_num;
300: hr_utility.set_message(8301, 'GHR_38532_MT_SIT_STRUCT');
301: hr_utility.raise_error;
302: end if;
303: close cur_flex_num;
304:
305: ghr_sit_api.create_sit (

Line 334: hr_utility.set_location('Leaving:'||l_proc, 30);

330:
331: ghr_mto_int.put_line(' > ok, criteria_id: '||
332: l_analysis_criteria_id||', analysis_id: '||
333: l_person_analysis_id);
334: hr_utility.set_location('Leaving:'||l_proc, 30);
335:
336: exception
337: when others then
338: ghr_mto_int.put_line(l_proc||' - raised exception');

Line 339: hr_utility.raise_error;

335:
336: exception
337: when others then
338: ghr_mto_int.put_line(l_proc||' - raised exception');
339: hr_utility.raise_error;
340:
341: end;
342:
343: procedure transfer_person_in(

Line 436: hr_utility.set_location('Entering:'||l_proc, 10);

432: and p_effective_date
433: between effective_start_date and effective_end_date;
434: begin
435:
436: hr_utility.set_location('Entering:'||l_proc, 10);
437: p_result := 'P';
438:
439: ghr_mto_int.put_line('Transfering: '||p_tran.last_name);
440:

Line 451: hr_utility.set_message(8301, 'GHR_38533_MTI_MISS_REQ');

447:
448: -- so message gets into the log, since the caller rollsback on error
449: commit;
450:
451: hr_utility.set_message(8301, 'GHR_38533_MTI_MISS_REQ');
452: hr_utility.raise_error;
453: end if;
454:
455:

Line 452: hr_utility.raise_error;

448: -- so message gets into the log, since the caller rollsback on error
449: commit;
450:
451: hr_utility.set_message(8301, 'GHR_38533_MTI_MISS_REQ');
452: hr_utility.raise_error;
453: end if;
454:
455:
456: -------------------------- changed the applicant from p_effective_date-2 to p_effective_date-1 for bug# 2488778

Line 462: hr_utility.set_location('Create Applicant:'||l_proc, 20);

458: l_applicant_date := trunc(p_effective_date) - 1;
459: l_accept_date := trunc(p_effective_date) - 1;
460:
461: ghr_mto_int.put_line(report_state(g_validate, 'Validate Flag:'));
462: hr_utility.set_location('Create Applicant:'||l_proc, 20);
463:
464: for cur_person_exists_rec in cur_person_exists
465: loop
466: l_exists_person_id := cur_person_exists_rec.person_id;

Line 612: hr_utility.set_location('l_assignment_id : '||to_char(l_assignment_id), 29);

608: l_assignment_status_type_id := cur_asg_type_rec.assignment_status_type_id;
609: end loop;
610:
611:
612: hr_utility.set_location('l_assignment_id : '||to_char(l_assignment_id), 29);
613: hr_utility.set_location('l_person_id : '||to_char(l_person_id) , 29);
614: hr_utility.set_location('l_asg_sts_tpe_id :' ||to_char(l_assignment_status_type_id), 29);
615:
616: hr_utility.set_location('Accept Applicant:'||l_proc, 30);

Line 613: hr_utility.set_location('l_person_id : '||to_char(l_person_id) , 29);

609: end loop;
610:
611:
612: hr_utility.set_location('l_assignment_id : '||to_char(l_assignment_id), 29);
613: hr_utility.set_location('l_person_id : '||to_char(l_person_id) , 29);
614: hr_utility.set_location('l_asg_sts_tpe_id :' ||to_char(l_assignment_status_type_id), 29);
615:
616: hr_utility.set_location('Accept Applicant:'||l_proc, 30);
617:

Line 614: hr_utility.set_location('l_asg_sts_tpe_id :' ||to_char(l_assignment_status_type_id), 29);

610:
611:
612: hr_utility.set_location('l_assignment_id : '||to_char(l_assignment_id), 29);
613: hr_utility.set_location('l_person_id : '||to_char(l_person_id) , 29);
614: hr_utility.set_location('l_asg_sts_tpe_id :' ||to_char(l_assignment_status_type_id), 29);
615:
616: hr_utility.set_location('Accept Applicant:'||l_proc, 30);
617:
618: if g_validate = FALSE then

Line 616: hr_utility.set_location('Accept Applicant:'||l_proc, 30);

612: hr_utility.set_location('l_assignment_id : '||to_char(l_assignment_id), 29);
613: hr_utility.set_location('l_person_id : '||to_char(l_person_id) , 29);
614: hr_utility.set_location('l_asg_sts_tpe_id :' ||to_char(l_assignment_status_type_id), 29);
615:
616: hr_utility.set_location('Accept Applicant:'||l_proc, 30);
617:
618: if g_validate = FALSE then
619:
620: ---------------------changed the p_datetrack_update_mode to CORRECTION for Bug#2488778

Line 643: hr_utility.set_location('Person Extra Info:'||l_proc, 40);

639: to_char(l_per_effective_end_date,g_datefmt));
640: ghr_mto_int.put_line('------------------------------------');
641: end if;
642:
643: hr_utility.set_location('Person Extra Info:'||l_proc, 40);
644:
645: for c_people_ei in cur_people_ei loop
646:
647: l_pei := c_people_ei;

Line 672: hr_utility.set_location('Person Spcl Info:'||l_proc, 50);

668: );
669:
670: end loop;
671:
672: hr_utility.set_location('Person Spcl Info:'||l_proc, 50);
673:
674: for c_sit in cur_sit loop
675:
676: l_sit := c_sit;

Line 712: hr_utility.set_location(' Address :'||l_proc, 55);

708: -- ghr_mt_address_v.region_2=state
709: --
710: -- This creates US style address and assumes region_1
711: -- is the county and region_2 is the state
712: hr_utility.set_location(' Address :'||l_proc, 55);
713: --
714: /***** Old code for address Bug 2467099
715: begin
716: hr_person_address_api.create_us_person_address (

Line 761: hr_utility.set_location(' Error Address :'||l_proc, 56);

757: P_ADDRESS_ID => l_ADDRESS_ID,
758: P_OBJECT_VERSION_NUMBER => l_per_object_VERSION_NUMBER
759: );
760: exception when others then
761: hr_utility.set_location(' Error Address :'||l_proc, 56);
762: l_message := 'Error in Address creation ' || sqlerrm(sqlcode);
763: end;
764: ************/
765:

Line 794: hr_utility.set_location(' User type INT Error Address :'||l_proc, 56);

790: p_message => 'Address created Successfully');
791:
792: exception
793: when others then
794: hr_utility.set_location(' User type INT Error Address :'||l_proc, 56);
795: -- Bug#3718167 Added Person Name and SSN in the log text
796: l_message := 'Error in INT Address creation for ' || l_full_name||
797: ' SSN: '||p_tran.national_identifier|| 'Error is:'||sqlerrm(sqlcode);
798: ghr_mto_int.log_message(

Line 830: hr_utility.set_location(' User type PER Error Address :'||l_proc, 56);

826: ghr_mto_int.log_message(
827: p_procedure => l_proc_name,
828: p_message => 'PER Address created Successfully');
829: exception when others then
830: hr_utility.set_location(' User type PER Error Address :'||l_proc, 56);
831: -- Bug#3718167 Added Person Name and SSN in the log text
832: l_message := 'Error in PER Address creation for ' || l_full_name||
833: ' SSN: '||p_tran.national_identifier|| 'Error is:'||sqlerrm(sqlcode);
834: ghr_mto_int.log_message(

Line 845: hr_utility.set_location('Leaving:'||l_proc, 50);

841:
842: close cur_address;
843:
844: ghr_mto_int.put_line('* Successful');
845: hr_utility.set_location('Leaving:'||l_proc, 50);
846:
847: ELSE
848: -- Employee exists with same SSN....
849: -- Bug#3718167 Added Person Full Name in the Log Message

Line 872: hr_utility.raise_error;

868: ghr_mto_int.log_message(
869: p_procedure => l_proc_name,
870: p_message => l_message);
871:
872: hr_utility.raise_error;
873:
874: end transfer_person_in;
875:
876: --

Line 958: hr_utility.set_location('Entering:'||l_proc, 10);

954: and mt_status = 'Y';
955:
956: begin
957:
958: hr_utility.set_location('Entering:'||l_proc, 10);
959: ghr_mto_int.set_log_program_name('Mass Transfer In');
960:
961: ghr_mto_int.get_transfer_parameters(
962: p_mass_transfer_id => p_transfer_id,

Line 974: hr_utility.set_message(8301, 'GHR_38534_MT_ID_ERR');

970: p_message => 'Failed to get Transfer In information from'||
971: 'GHR_MASS_TRANSFERS for mass_transfer_id:'||
972: p_transfer_id);
973:
974: hr_utility.set_message(8301, 'GHR_38534_MT_ID_ERR');
975: hr_utility.raise_error;
976: end if;
977:
978: ghr_mto_int.put_line('Starting Transfer In for:'||l_transfer_name);

Line 975: hr_utility.raise_error;

971: 'GHR_MASS_TRANSFERS for mass_transfer_id:'||
972: p_transfer_id);
973:
974: hr_utility.set_message(8301, 'GHR_38534_MT_ID_ERR');
975: hr_utility.raise_error;
976: end if;
977:
978: ghr_mto_int.put_line('Starting Transfer In for:'||l_transfer_name);
979:

Line 991: hr_utility.set_message(8301, 'GHR_38535_NO_MTI_PERSON_TYPE');

987: p_procedure => l_proc_name,
988: p_message =>
989: 'Failed to get the person_type_id for APPLICANT '||
990: 'in the business group');
991: hr_utility.set_message(8301, 'GHR_38535_NO_MTI_PERSON_TYPE');
992: hr_utility.raise_error;
993: end if;
994:
995: -- for all people selected for transfer in

Line 992: hr_utility.raise_error;

988: p_message =>
989: 'Failed to get the person_type_id for APPLICANT '||
990: 'in the business group');
991: hr_utility.set_message(8301, 'GHR_38535_NO_MTI_PERSON_TYPE');
992: hr_utility.raise_error;
993: end if;
994:
995: -- for all people selected for transfer in
996: for c_person in cur_people loop

Line 1018: hr_utility.raise_error;

1014: ') contains an invalid Person Type as of the Effective ' ||
1015: 'Date of the Transfer In action. Person Type may not be Employee. Please ' ||
1016: 'make sure this person is not an Employee as of the Effective Date of the ' ||
1017: 'Transfer In, and then resubmit the Transfer In action.');
1018: hr_utility.raise_error;
1019: end if;
1020:
1021: -- A person is transfered in only if this is not an
1022: -- inter business group transfer

Line 1103: hr_utility.raise_error;

1099: l_errbuf || ' from populate_and_create_52()');
1100: --- ' recieved error message: "'||
1101:
1102: commit;
1103: hr_utility.raise_error;
1104: end;
1105:
1106: -- notify user that at data from the interface table was not
1107: -- successfully transfered in by transfer_person_in()

Line 1123: hr_utility.set_location('Leaving:'||l_proc, 10);

1119: l_transfer_name || ' transfered '||l_transfer_count ||
1120: ' employees.');
1121:
1122: commit;
1123: hr_utility.set_location('Leaving:'||l_proc, 10);
1124:
1125: exception
1126: when e_transfer_in_warning then
1127: l_message := 'Warning: Mass Transfer In for transfer: '||