20: --
21: hr_utility.set_location('Entering'||l_proc, 5);
22: --
23: --
24: ben_ext_person.g_contact_rlshp_id := null;
25: ben_ext_person.g_contact_rlshp_type := null;
26: ben_ext_person.g_contact_seq_num := null;
27: ben_ext_person.g_contact_national_ident := null;
28: ben_ext_person.g_contact_last_name := null;
21: hr_utility.set_location('Entering'||l_proc, 5);
22: --
23: --
24: ben_ext_person.g_contact_rlshp_id := null;
25: ben_ext_person.g_contact_rlshp_type := null;
26: ben_ext_person.g_contact_seq_num := null;
27: ben_ext_person.g_contact_national_ident := null;
28: ben_ext_person.g_contact_last_name := null;
29: ben_ext_person.g_contact_first_name := null;
22: --
23: --
24: ben_ext_person.g_contact_rlshp_id := null;
25: ben_ext_person.g_contact_rlshp_type := null;
26: ben_ext_person.g_contact_seq_num := null;
27: ben_ext_person.g_contact_national_ident := null;
28: ben_ext_person.g_contact_last_name := null;
29: ben_ext_person.g_contact_first_name := null;
30: ben_ext_person.g_contact_middle_names := null;
23: --
24: ben_ext_person.g_contact_rlshp_id := null;
25: ben_ext_person.g_contact_rlshp_type := null;
26: ben_ext_person.g_contact_seq_num := null;
27: ben_ext_person.g_contact_national_ident := null;
28: ben_ext_person.g_contact_last_name := null;
29: ben_ext_person.g_contact_first_name := null;
30: ben_ext_person.g_contact_middle_names := null;
31: ben_ext_person.g_contact_full_name := null;
24: ben_ext_person.g_contact_rlshp_id := null;
25: ben_ext_person.g_contact_rlshp_type := null;
26: ben_ext_person.g_contact_seq_num := null;
27: ben_ext_person.g_contact_national_ident := null;
28: ben_ext_person.g_contact_last_name := null;
29: ben_ext_person.g_contact_first_name := null;
30: ben_ext_person.g_contact_middle_names := null;
31: ben_ext_person.g_contact_full_name := null;
32: ben_ext_person.g_contact_suffix := null;
25: ben_ext_person.g_contact_rlshp_type := null;
26: ben_ext_person.g_contact_seq_num := null;
27: ben_ext_person.g_contact_national_ident := null;
28: ben_ext_person.g_contact_last_name := null;
29: ben_ext_person.g_contact_first_name := null;
30: ben_ext_person.g_contact_middle_names := null;
31: ben_ext_person.g_contact_full_name := null;
32: ben_ext_person.g_contact_suffix := null;
33: ben_ext_person.g_contact_prefix := null;
26: ben_ext_person.g_contact_seq_num := null;
27: ben_ext_person.g_contact_national_ident := null;
28: ben_ext_person.g_contact_last_name := null;
29: ben_ext_person.g_contact_first_name := null;
30: ben_ext_person.g_contact_middle_names := null;
31: ben_ext_person.g_contact_full_name := null;
32: ben_ext_person.g_contact_suffix := null;
33: ben_ext_person.g_contact_prefix := null;
34: ben_ext_person.g_contact_title := null;
27: ben_ext_person.g_contact_national_ident := null;
28: ben_ext_person.g_contact_last_name := null;
29: ben_ext_person.g_contact_first_name := null;
30: ben_ext_person.g_contact_middle_names := null;
31: ben_ext_person.g_contact_full_name := null;
32: ben_ext_person.g_contact_suffix := null;
33: ben_ext_person.g_contact_prefix := null;
34: ben_ext_person.g_contact_title := null;
35: ben_ext_person.g_contact_date_of_birth := null;
28: ben_ext_person.g_contact_last_name := null;
29: ben_ext_person.g_contact_first_name := null;
30: ben_ext_person.g_contact_middle_names := null;
31: ben_ext_person.g_contact_full_name := null;
32: ben_ext_person.g_contact_suffix := null;
33: ben_ext_person.g_contact_prefix := null;
34: ben_ext_person.g_contact_title := null;
35: ben_ext_person.g_contact_date_of_birth := null;
36: ben_ext_person.g_contact_marital_status := null;
29: ben_ext_person.g_contact_first_name := null;
30: ben_ext_person.g_contact_middle_names := null;
31: ben_ext_person.g_contact_full_name := null;
32: ben_ext_person.g_contact_suffix := null;
33: ben_ext_person.g_contact_prefix := null;
34: ben_ext_person.g_contact_title := null;
35: ben_ext_person.g_contact_date_of_birth := null;
36: ben_ext_person.g_contact_marital_status := null;
37: ben_ext_person.g_contact_sex := null;
30: ben_ext_person.g_contact_middle_names := null;
31: ben_ext_person.g_contact_full_name := null;
32: ben_ext_person.g_contact_suffix := null;
33: ben_ext_person.g_contact_prefix := null;
34: ben_ext_person.g_contact_title := null;
35: ben_ext_person.g_contact_date_of_birth := null;
36: ben_ext_person.g_contact_marital_status := null;
37: ben_ext_person.g_contact_sex := null;
38: ben_ext_person.g_contact_disabled_flag := null;
31: ben_ext_person.g_contact_full_name := null;
32: ben_ext_person.g_contact_suffix := null;
33: ben_ext_person.g_contact_prefix := null;
34: ben_ext_person.g_contact_title := null;
35: ben_ext_person.g_contact_date_of_birth := null;
36: ben_ext_person.g_contact_marital_status := null;
37: ben_ext_person.g_contact_sex := null;
38: ben_ext_person.g_contact_disabled_flag := null;
39: ben_ext_person.g_contact_student_status := null;
32: ben_ext_person.g_contact_suffix := null;
33: ben_ext_person.g_contact_prefix := null;
34: ben_ext_person.g_contact_title := null;
35: ben_ext_person.g_contact_date_of_birth := null;
36: ben_ext_person.g_contact_marital_status := null;
37: ben_ext_person.g_contact_sex := null;
38: ben_ext_person.g_contact_disabled_flag := null;
39: ben_ext_person.g_contact_student_status := null;
40: ben_ext_person.g_contact_date_of_death := null;
33: ben_ext_person.g_contact_prefix := null;
34: ben_ext_person.g_contact_title := null;
35: ben_ext_person.g_contact_date_of_birth := null;
36: ben_ext_person.g_contact_marital_status := null;
37: ben_ext_person.g_contact_sex := null;
38: ben_ext_person.g_contact_disabled_flag := null;
39: ben_ext_person.g_contact_student_status := null;
40: ben_ext_person.g_contact_date_of_death := null;
41: ben_ext_person.g_contact_language := null;
34: ben_ext_person.g_contact_title := null;
35: ben_ext_person.g_contact_date_of_birth := null;
36: ben_ext_person.g_contact_marital_status := null;
37: ben_ext_person.g_contact_sex := null;
38: ben_ext_person.g_contact_disabled_flag := null;
39: ben_ext_person.g_contact_student_status := null;
40: ben_ext_person.g_contact_date_of_death := null;
41: ben_ext_person.g_contact_language := null;
42: ben_ext_person.g_contact_nationality := null;
35: ben_ext_person.g_contact_date_of_birth := null;
36: ben_ext_person.g_contact_marital_status := null;
37: ben_ext_person.g_contact_sex := null;
38: ben_ext_person.g_contact_disabled_flag := null;
39: ben_ext_person.g_contact_student_status := null;
40: ben_ext_person.g_contact_date_of_death := null;
41: ben_ext_person.g_contact_language := null;
42: ben_ext_person.g_contact_nationality := null;
43: ben_ext_person.g_contact_email_address := null;
36: ben_ext_person.g_contact_marital_status := null;
37: ben_ext_person.g_contact_sex := null;
38: ben_ext_person.g_contact_disabled_flag := null;
39: ben_ext_person.g_contact_student_status := null;
40: ben_ext_person.g_contact_date_of_death := null;
41: ben_ext_person.g_contact_language := null;
42: ben_ext_person.g_contact_nationality := null;
43: ben_ext_person.g_contact_email_address := null;
44: ben_ext_person.g_contact_known_as := null;
37: ben_ext_person.g_contact_sex := null;
38: ben_ext_person.g_contact_disabled_flag := null;
39: ben_ext_person.g_contact_student_status := null;
40: ben_ext_person.g_contact_date_of_death := null;
41: ben_ext_person.g_contact_language := null;
42: ben_ext_person.g_contact_nationality := null;
43: ben_ext_person.g_contact_email_address := null;
44: ben_ext_person.g_contact_known_as := null;
45: ben_ext_person.g_contact_pre_name_adjunct := null;
38: ben_ext_person.g_contact_disabled_flag := null;
39: ben_ext_person.g_contact_student_status := null;
40: ben_ext_person.g_contact_date_of_death := null;
41: ben_ext_person.g_contact_language := null;
42: ben_ext_person.g_contact_nationality := null;
43: ben_ext_person.g_contact_email_address := null;
44: ben_ext_person.g_contact_known_as := null;
45: ben_ext_person.g_contact_pre_name_adjunct := null;
46: ben_ext_person.g_contact_tobacco_usage := null;
39: ben_ext_person.g_contact_student_status := null;
40: ben_ext_person.g_contact_date_of_death := null;
41: ben_ext_person.g_contact_language := null;
42: ben_ext_person.g_contact_nationality := null;
43: ben_ext_person.g_contact_email_address := null;
44: ben_ext_person.g_contact_known_as := null;
45: ben_ext_person.g_contact_pre_name_adjunct := null;
46: ben_ext_person.g_contact_tobacco_usage := null;
47: ben_ext_person.g_contact_prev_last_name := null;
40: ben_ext_person.g_contact_date_of_death := null;
41: ben_ext_person.g_contact_language := null;
42: ben_ext_person.g_contact_nationality := null;
43: ben_ext_person.g_contact_email_address := null;
44: ben_ext_person.g_contact_known_as := null;
45: ben_ext_person.g_contact_pre_name_adjunct := null;
46: ben_ext_person.g_contact_tobacco_usage := null;
47: ben_ext_person.g_contact_prev_last_name := null;
48: ben_ext_person.g_contact_prim_address1 := null;
41: ben_ext_person.g_contact_language := null;
42: ben_ext_person.g_contact_nationality := null;
43: ben_ext_person.g_contact_email_address := null;
44: ben_ext_person.g_contact_known_as := null;
45: ben_ext_person.g_contact_pre_name_adjunct := null;
46: ben_ext_person.g_contact_tobacco_usage := null;
47: ben_ext_person.g_contact_prev_last_name := null;
48: ben_ext_person.g_contact_prim_address1 := null;
49: ben_ext_person.g_contact_prim_address2 := null;
42: ben_ext_person.g_contact_nationality := null;
43: ben_ext_person.g_contact_email_address := null;
44: ben_ext_person.g_contact_known_as := null;
45: ben_ext_person.g_contact_pre_name_adjunct := null;
46: ben_ext_person.g_contact_tobacco_usage := null;
47: ben_ext_person.g_contact_prev_last_name := null;
48: ben_ext_person.g_contact_prim_address1 := null;
49: ben_ext_person.g_contact_prim_address2 := null;
50: ben_ext_person.g_contact_prim_address3 := null;
43: ben_ext_person.g_contact_email_address := null;
44: ben_ext_person.g_contact_known_as := null;
45: ben_ext_person.g_contact_pre_name_adjunct := null;
46: ben_ext_person.g_contact_tobacco_usage := null;
47: ben_ext_person.g_contact_prev_last_name := null;
48: ben_ext_person.g_contact_prim_address1 := null;
49: ben_ext_person.g_contact_prim_address2 := null;
50: ben_ext_person.g_contact_prim_address3 := null;
51: ben_ext_person.g_contact_prim_city := null;
44: ben_ext_person.g_contact_known_as := null;
45: ben_ext_person.g_contact_pre_name_adjunct := null;
46: ben_ext_person.g_contact_tobacco_usage := null;
47: ben_ext_person.g_contact_prev_last_name := null;
48: ben_ext_person.g_contact_prim_address1 := null;
49: ben_ext_person.g_contact_prim_address2 := null;
50: ben_ext_person.g_contact_prim_address3 := null;
51: ben_ext_person.g_contact_prim_city := null;
52: ben_ext_person.g_contact_prim_state := null;
45: ben_ext_person.g_contact_pre_name_adjunct := null;
46: ben_ext_person.g_contact_tobacco_usage := null;
47: ben_ext_person.g_contact_prev_last_name := null;
48: ben_ext_person.g_contact_prim_address1 := null;
49: ben_ext_person.g_contact_prim_address2 := null;
50: ben_ext_person.g_contact_prim_address3 := null;
51: ben_ext_person.g_contact_prim_city := null;
52: ben_ext_person.g_contact_prim_state := null;
53: ben_ext_person.g_contact_prim_postal_code := null;
46: ben_ext_person.g_contact_tobacco_usage := null;
47: ben_ext_person.g_contact_prev_last_name := null;
48: ben_ext_person.g_contact_prim_address1 := null;
49: ben_ext_person.g_contact_prim_address2 := null;
50: ben_ext_person.g_contact_prim_address3 := null;
51: ben_ext_person.g_contact_prim_city := null;
52: ben_ext_person.g_contact_prim_state := null;
53: ben_ext_person.g_contact_prim_postal_code := null;
54: ben_ext_person.g_contact_prim_country := null;
47: ben_ext_person.g_contact_prev_last_name := null;
48: ben_ext_person.g_contact_prim_address1 := null;
49: ben_ext_person.g_contact_prim_address2 := null;
50: ben_ext_person.g_contact_prim_address3 := null;
51: ben_ext_person.g_contact_prim_city := null;
52: ben_ext_person.g_contact_prim_state := null;
53: ben_ext_person.g_contact_prim_postal_code := null;
54: ben_ext_person.g_contact_prim_country := null;
55: ben_ext_person.g_contact_prim_effect_date := null;
48: ben_ext_person.g_contact_prim_address1 := null;
49: ben_ext_person.g_contact_prim_address2 := null;
50: ben_ext_person.g_contact_prim_address3 := null;
51: ben_ext_person.g_contact_prim_city := null;
52: ben_ext_person.g_contact_prim_state := null;
53: ben_ext_person.g_contact_prim_postal_code := null;
54: ben_ext_person.g_contact_prim_country := null;
55: ben_ext_person.g_contact_prim_effect_date := null;
56: ben_ext_person.g_contact_prim_region := null;
49: ben_ext_person.g_contact_prim_address2 := null;
50: ben_ext_person.g_contact_prim_address3 := null;
51: ben_ext_person.g_contact_prim_city := null;
52: ben_ext_person.g_contact_prim_state := null;
53: ben_ext_person.g_contact_prim_postal_code := null;
54: ben_ext_person.g_contact_prim_country := null;
55: ben_ext_person.g_contact_prim_effect_date := null;
56: ben_ext_person.g_contact_prim_region := null;
57: ben_ext_person.g_contact_home_phone := null;
50: ben_ext_person.g_contact_prim_address3 := null;
51: ben_ext_person.g_contact_prim_city := null;
52: ben_ext_person.g_contact_prim_state := null;
53: ben_ext_person.g_contact_prim_postal_code := null;
54: ben_ext_person.g_contact_prim_country := null;
55: ben_ext_person.g_contact_prim_effect_date := null;
56: ben_ext_person.g_contact_prim_region := null;
57: ben_ext_person.g_contact_home_phone := null;
58: ben_ext_person.g_contact_work_phone := null;
51: ben_ext_person.g_contact_prim_city := null;
52: ben_ext_person.g_contact_prim_state := null;
53: ben_ext_person.g_contact_prim_postal_code := null;
54: ben_ext_person.g_contact_prim_country := null;
55: ben_ext_person.g_contact_prim_effect_date := null;
56: ben_ext_person.g_contact_prim_region := null;
57: ben_ext_person.g_contact_home_phone := null;
58: ben_ext_person.g_contact_work_phone := null;
59: ben_ext_person.g_contact_fax := null;
52: ben_ext_person.g_contact_prim_state := null;
53: ben_ext_person.g_contact_prim_postal_code := null;
54: ben_ext_person.g_contact_prim_country := null;
55: ben_ext_person.g_contact_prim_effect_date := null;
56: ben_ext_person.g_contact_prim_region := null;
57: ben_ext_person.g_contact_home_phone := null;
58: ben_ext_person.g_contact_work_phone := null;
59: ben_ext_person.g_contact_fax := null;
60: ben_ext_person.g_contact_mobile := null;
53: ben_ext_person.g_contact_prim_postal_code := null;
54: ben_ext_person.g_contact_prim_country := null;
55: ben_ext_person.g_contact_prim_effect_date := null;
56: ben_ext_person.g_contact_prim_region := null;
57: ben_ext_person.g_contact_home_phone := null;
58: ben_ext_person.g_contact_work_phone := null;
59: ben_ext_person.g_contact_fax := null;
60: ben_ext_person.g_contact_mobile := null;
61: ben_ext_person.g_contact_prmy_contact_flag := null;
54: ben_ext_person.g_contact_prim_country := null;
55: ben_ext_person.g_contact_prim_effect_date := null;
56: ben_ext_person.g_contact_prim_region := null;
57: ben_ext_person.g_contact_home_phone := null;
58: ben_ext_person.g_contact_work_phone := null;
59: ben_ext_person.g_contact_fax := null;
60: ben_ext_person.g_contact_mobile := null;
61: ben_ext_person.g_contact_prmy_contact_flag := null;
62: ben_ext_person.g_contact_shared_resd_flag := null;
55: ben_ext_person.g_contact_prim_effect_date := null;
56: ben_ext_person.g_contact_prim_region := null;
57: ben_ext_person.g_contact_home_phone := null;
58: ben_ext_person.g_contact_work_phone := null;
59: ben_ext_person.g_contact_fax := null;
60: ben_ext_person.g_contact_mobile := null;
61: ben_ext_person.g_contact_prmy_contact_flag := null;
62: ben_ext_person.g_contact_shared_resd_flag := null;
63: ben_ext_person.g_contact_personal_flag := null;
56: ben_ext_person.g_contact_prim_region := null;
57: ben_ext_person.g_contact_home_phone := null;
58: ben_ext_person.g_contact_work_phone := null;
59: ben_ext_person.g_contact_fax := null;
60: ben_ext_person.g_contact_mobile := null;
61: ben_ext_person.g_contact_prmy_contact_flag := null;
62: ben_ext_person.g_contact_shared_resd_flag := null;
63: ben_ext_person.g_contact_personal_flag := null;
64: ben_ext_person.g_contact_pymts_rcpnt_flag := null;
57: ben_ext_person.g_contact_home_phone := null;
58: ben_ext_person.g_contact_work_phone := null;
59: ben_ext_person.g_contact_fax := null;
60: ben_ext_person.g_contact_mobile := null;
61: ben_ext_person.g_contact_prmy_contact_flag := null;
62: ben_ext_person.g_contact_shared_resd_flag := null;
63: ben_ext_person.g_contact_personal_flag := null;
64: ben_ext_person.g_contact_pymts_rcpnt_flag := null;
65: ben_ext_person.g_contact_start_date := null;
58: ben_ext_person.g_contact_work_phone := null;
59: ben_ext_person.g_contact_fax := null;
60: ben_ext_person.g_contact_mobile := null;
61: ben_ext_person.g_contact_prmy_contact_flag := null;
62: ben_ext_person.g_contact_shared_resd_flag := null;
63: ben_ext_person.g_contact_personal_flag := null;
64: ben_ext_person.g_contact_pymts_rcpnt_flag := null;
65: ben_ext_person.g_contact_start_date := null;
66: ben_ext_person.g_contact_end_date := null;
59: ben_ext_person.g_contact_fax := null;
60: ben_ext_person.g_contact_mobile := null;
61: ben_ext_person.g_contact_prmy_contact_flag := null;
62: ben_ext_person.g_contact_shared_resd_flag := null;
63: ben_ext_person.g_contact_personal_flag := null;
64: ben_ext_person.g_contact_pymts_rcpnt_flag := null;
65: ben_ext_person.g_contact_start_date := null;
66: ben_ext_person.g_contact_end_date := null;
67: ben_ext_person.g_contact_start_life_evt := null;
60: ben_ext_person.g_contact_mobile := null;
61: ben_ext_person.g_contact_prmy_contact_flag := null;
62: ben_ext_person.g_contact_shared_resd_flag := null;
63: ben_ext_person.g_contact_personal_flag := null;
64: ben_ext_person.g_contact_pymts_rcpnt_flag := null;
65: ben_ext_person.g_contact_start_date := null;
66: ben_ext_person.g_contact_end_date := null;
67: ben_ext_person.g_contact_start_life_evt := null;
68: ben_ext_person.g_contact_start_ler_id := null;
61: ben_ext_person.g_contact_prmy_contact_flag := null;
62: ben_ext_person.g_contact_shared_resd_flag := null;
63: ben_ext_person.g_contact_personal_flag := null;
64: ben_ext_person.g_contact_pymts_rcpnt_flag := null;
65: ben_ext_person.g_contact_start_date := null;
66: ben_ext_person.g_contact_end_date := null;
67: ben_ext_person.g_contact_start_life_evt := null;
68: ben_ext_person.g_contact_start_ler_id := null;
69: ben_ext_person.g_contact_end_life_evt := null;
62: ben_ext_person.g_contact_shared_resd_flag := null;
63: ben_ext_person.g_contact_personal_flag := null;
64: ben_ext_person.g_contact_pymts_rcpnt_flag := null;
65: ben_ext_person.g_contact_start_date := null;
66: ben_ext_person.g_contact_end_date := null;
67: ben_ext_person.g_contact_start_life_evt := null;
68: ben_ext_person.g_contact_start_ler_id := null;
69: ben_ext_person.g_contact_end_life_evt := null;
70: ben_ext_person.g_contact_end_ler_id := null;
63: ben_ext_person.g_contact_personal_flag := null;
64: ben_ext_person.g_contact_pymts_rcpnt_flag := null;
65: ben_ext_person.g_contact_start_date := null;
66: ben_ext_person.g_contact_end_date := null;
67: ben_ext_person.g_contact_start_life_evt := null;
68: ben_ext_person.g_contact_start_ler_id := null;
69: ben_ext_person.g_contact_end_life_evt := null;
70: ben_ext_person.g_contact_end_ler_id := null;
71: ben_ext_person.g_contact_is_elig_dpnt_flag := null;
64: ben_ext_person.g_contact_pymts_rcpnt_flag := null;
65: ben_ext_person.g_contact_start_date := null;
66: ben_ext_person.g_contact_end_date := null;
67: ben_ext_person.g_contact_start_life_evt := null;
68: ben_ext_person.g_contact_start_ler_id := null;
69: ben_ext_person.g_contact_end_life_evt := null;
70: ben_ext_person.g_contact_end_ler_id := null;
71: ben_ext_person.g_contact_is_elig_dpnt_flag := null;
72: ben_ext_person.g_contact_is_cvrd_dpnt_flag := null;
65: ben_ext_person.g_contact_start_date := null;
66: ben_ext_person.g_contact_end_date := null;
67: ben_ext_person.g_contact_start_life_evt := null;
68: ben_ext_person.g_contact_start_ler_id := null;
69: ben_ext_person.g_contact_end_life_evt := null;
70: ben_ext_person.g_contact_end_ler_id := null;
71: ben_ext_person.g_contact_is_elig_dpnt_flag := null;
72: ben_ext_person.g_contact_is_cvrd_dpnt_flag := null;
73: ben_ext_person.g_contact_is_bnfcry_flag := null;
66: ben_ext_person.g_contact_end_date := null;
67: ben_ext_person.g_contact_start_life_evt := null;
68: ben_ext_person.g_contact_start_ler_id := null;
69: ben_ext_person.g_contact_end_life_evt := null;
70: ben_ext_person.g_contact_end_ler_id := null;
71: ben_ext_person.g_contact_is_elig_dpnt_flag := null;
72: ben_ext_person.g_contact_is_cvrd_dpnt_flag := null;
73: ben_ext_person.g_contact_is_bnfcry_flag := null;
74: --
67: ben_ext_person.g_contact_start_life_evt := null;
68: ben_ext_person.g_contact_start_ler_id := null;
69: ben_ext_person.g_contact_end_life_evt := null;
70: ben_ext_person.g_contact_end_ler_id := null;
71: ben_ext_person.g_contact_is_elig_dpnt_flag := null;
72: ben_ext_person.g_contact_is_cvrd_dpnt_flag := null;
73: ben_ext_person.g_contact_is_bnfcry_flag := null;
74: --
75: --
68: ben_ext_person.g_contact_start_ler_id := null;
69: ben_ext_person.g_contact_end_life_evt := null;
70: ben_ext_person.g_contact_end_ler_id := null;
71: ben_ext_person.g_contact_is_elig_dpnt_flag := null;
72: ben_ext_person.g_contact_is_cvrd_dpnt_flag := null;
73: ben_ext_person.g_contact_is_bnfcry_flag := null;
74: --
75: --
76: hr_utility.set_location('Exiting'||l_proc, 15);
69: ben_ext_person.g_contact_end_life_evt := null;
70: ben_ext_person.g_contact_end_ler_id := null;
71: ben_ext_person.g_contact_is_elig_dpnt_flag := null;
72: ben_ext_person.g_contact_is_cvrd_dpnt_flag := null;
73: ben_ext_person.g_contact_is_bnfcry_flag := null;
74: --
75: --
76: hr_utility.set_location('Exiting'||l_proc, 15);
77: --
286: initialize_globals;
287: --
288: -- fetch dependent information into globals
289: --
290: ben_ext_person.g_contact_rlshp_id := contact.contact_relationship_id;
291: ben_ext_person.g_contact_rlshp_type := contact.contact_type;
292: ben_ext_person.g_contact_seq_num := contact.sequence_number;
293: ben_ext_person.g_contact_prmy_contact_flag := contact.PRIMARY_CONTACT_FLAG;
294: ben_ext_person.g_contact_shared_resd_flag := contact.RLTD_PER_RSDS_W_DSGNTR_FLAG;
287: --
288: -- fetch dependent information into globals
289: --
290: ben_ext_person.g_contact_rlshp_id := contact.contact_relationship_id;
291: ben_ext_person.g_contact_rlshp_type := contact.contact_type;
292: ben_ext_person.g_contact_seq_num := contact.sequence_number;
293: ben_ext_person.g_contact_prmy_contact_flag := contact.PRIMARY_CONTACT_FLAG;
294: ben_ext_person.g_contact_shared_resd_flag := contact.RLTD_PER_RSDS_W_DSGNTR_FLAG;
295: ben_ext_person.g_contact_personal_flag := contact.PERSONAL_FLAG;
288: -- fetch dependent information into globals
289: --
290: ben_ext_person.g_contact_rlshp_id := contact.contact_relationship_id;
291: ben_ext_person.g_contact_rlshp_type := contact.contact_type;
292: ben_ext_person.g_contact_seq_num := contact.sequence_number;
293: ben_ext_person.g_contact_prmy_contact_flag := contact.PRIMARY_CONTACT_FLAG;
294: ben_ext_person.g_contact_shared_resd_flag := contact.RLTD_PER_RSDS_W_DSGNTR_FLAG;
295: ben_ext_person.g_contact_personal_flag := contact.PERSONAL_FLAG;
296: ben_ext_person.g_contact_pymts_rcpnt_flag := contact.THIRD_PARTY_PAY_FLAG;
289: --
290: ben_ext_person.g_contact_rlshp_id := contact.contact_relationship_id;
291: ben_ext_person.g_contact_rlshp_type := contact.contact_type;
292: ben_ext_person.g_contact_seq_num := contact.sequence_number;
293: ben_ext_person.g_contact_prmy_contact_flag := contact.PRIMARY_CONTACT_FLAG;
294: ben_ext_person.g_contact_shared_resd_flag := contact.RLTD_PER_RSDS_W_DSGNTR_FLAG;
295: ben_ext_person.g_contact_personal_flag := contact.PERSONAL_FLAG;
296: ben_ext_person.g_contact_pymts_rcpnt_flag := contact.THIRD_PARTY_PAY_FLAG;
297: ben_ext_person.g_contact_start_date := contact.DATE_START;
290: ben_ext_person.g_contact_rlshp_id := contact.contact_relationship_id;
291: ben_ext_person.g_contact_rlshp_type := contact.contact_type;
292: ben_ext_person.g_contact_seq_num := contact.sequence_number;
293: ben_ext_person.g_contact_prmy_contact_flag := contact.PRIMARY_CONTACT_FLAG;
294: ben_ext_person.g_contact_shared_resd_flag := contact.RLTD_PER_RSDS_W_DSGNTR_FLAG;
295: ben_ext_person.g_contact_personal_flag := contact.PERSONAL_FLAG;
296: ben_ext_person.g_contact_pymts_rcpnt_flag := contact.THIRD_PARTY_PAY_FLAG;
297: ben_ext_person.g_contact_start_date := contact.DATE_START;
298: ben_ext_person.g_contact_end_date := contact.DATE_END;
291: ben_ext_person.g_contact_rlshp_type := contact.contact_type;
292: ben_ext_person.g_contact_seq_num := contact.sequence_number;
293: ben_ext_person.g_contact_prmy_contact_flag := contact.PRIMARY_CONTACT_FLAG;
294: ben_ext_person.g_contact_shared_resd_flag := contact.RLTD_PER_RSDS_W_DSGNTR_FLAG;
295: ben_ext_person.g_contact_personal_flag := contact.PERSONAL_FLAG;
296: ben_ext_person.g_contact_pymts_rcpnt_flag := contact.THIRD_PARTY_PAY_FLAG;
297: ben_ext_person.g_contact_start_date := contact.DATE_START;
298: ben_ext_person.g_contact_end_date := contact.DATE_END;
299: ben_ext_person.g_contact_national_ident := contact.national_identifier;
292: ben_ext_person.g_contact_seq_num := contact.sequence_number;
293: ben_ext_person.g_contact_prmy_contact_flag := contact.PRIMARY_CONTACT_FLAG;
294: ben_ext_person.g_contact_shared_resd_flag := contact.RLTD_PER_RSDS_W_DSGNTR_FLAG;
295: ben_ext_person.g_contact_personal_flag := contact.PERSONAL_FLAG;
296: ben_ext_person.g_contact_pymts_rcpnt_flag := contact.THIRD_PARTY_PAY_FLAG;
297: ben_ext_person.g_contact_start_date := contact.DATE_START;
298: ben_ext_person.g_contact_end_date := contact.DATE_END;
299: ben_ext_person.g_contact_national_ident := contact.national_identifier;
300: ben_ext_person.g_contact_last_name := contact.last_name;
293: ben_ext_person.g_contact_prmy_contact_flag := contact.PRIMARY_CONTACT_FLAG;
294: ben_ext_person.g_contact_shared_resd_flag := contact.RLTD_PER_RSDS_W_DSGNTR_FLAG;
295: ben_ext_person.g_contact_personal_flag := contact.PERSONAL_FLAG;
296: ben_ext_person.g_contact_pymts_rcpnt_flag := contact.THIRD_PARTY_PAY_FLAG;
297: ben_ext_person.g_contact_start_date := contact.DATE_START;
298: ben_ext_person.g_contact_end_date := contact.DATE_END;
299: ben_ext_person.g_contact_national_ident := contact.national_identifier;
300: ben_ext_person.g_contact_last_name := contact.last_name;
301: ben_ext_person.g_contact_first_name := contact.first_name;
294: ben_ext_person.g_contact_shared_resd_flag := contact.RLTD_PER_RSDS_W_DSGNTR_FLAG;
295: ben_ext_person.g_contact_personal_flag := contact.PERSONAL_FLAG;
296: ben_ext_person.g_contact_pymts_rcpnt_flag := contact.THIRD_PARTY_PAY_FLAG;
297: ben_ext_person.g_contact_start_date := contact.DATE_START;
298: ben_ext_person.g_contact_end_date := contact.DATE_END;
299: ben_ext_person.g_contact_national_ident := contact.national_identifier;
300: ben_ext_person.g_contact_last_name := contact.last_name;
301: ben_ext_person.g_contact_first_name := contact.first_name;
302: ben_ext_person.g_contact_middle_names := contact.middle_names;
295: ben_ext_person.g_contact_personal_flag := contact.PERSONAL_FLAG;
296: ben_ext_person.g_contact_pymts_rcpnt_flag := contact.THIRD_PARTY_PAY_FLAG;
297: ben_ext_person.g_contact_start_date := contact.DATE_START;
298: ben_ext_person.g_contact_end_date := contact.DATE_END;
299: ben_ext_person.g_contact_national_ident := contact.national_identifier;
300: ben_ext_person.g_contact_last_name := contact.last_name;
301: ben_ext_person.g_contact_first_name := contact.first_name;
302: ben_ext_person.g_contact_middle_names := contact.middle_names;
303: ben_ext_person.g_contact_full_name := contact.full_name;
296: ben_ext_person.g_contact_pymts_rcpnt_flag := contact.THIRD_PARTY_PAY_FLAG;
297: ben_ext_person.g_contact_start_date := contact.DATE_START;
298: ben_ext_person.g_contact_end_date := contact.DATE_END;
299: ben_ext_person.g_contact_national_ident := contact.national_identifier;
300: ben_ext_person.g_contact_last_name := contact.last_name;
301: ben_ext_person.g_contact_first_name := contact.first_name;
302: ben_ext_person.g_contact_middle_names := contact.middle_names;
303: ben_ext_person.g_contact_full_name := contact.full_name;
304: ben_ext_person.g_contact_suffix := contact.suffix;
297: ben_ext_person.g_contact_start_date := contact.DATE_START;
298: ben_ext_person.g_contact_end_date := contact.DATE_END;
299: ben_ext_person.g_contact_national_ident := contact.national_identifier;
300: ben_ext_person.g_contact_last_name := contact.last_name;
301: ben_ext_person.g_contact_first_name := contact.first_name;
302: ben_ext_person.g_contact_middle_names := contact.middle_names;
303: ben_ext_person.g_contact_full_name := contact.full_name;
304: ben_ext_person.g_contact_suffix := contact.suffix;
305: ben_ext_person.g_contact_prefix := contact.prefix;
298: ben_ext_person.g_contact_end_date := contact.DATE_END;
299: ben_ext_person.g_contact_national_ident := contact.national_identifier;
300: ben_ext_person.g_contact_last_name := contact.last_name;
301: ben_ext_person.g_contact_first_name := contact.first_name;
302: ben_ext_person.g_contact_middle_names := contact.middle_names;
303: ben_ext_person.g_contact_full_name := contact.full_name;
304: ben_ext_person.g_contact_suffix := contact.suffix;
305: ben_ext_person.g_contact_prefix := contact.prefix;
306: ben_ext_person.g_contact_title := contact.title;
299: ben_ext_person.g_contact_national_ident := contact.national_identifier;
300: ben_ext_person.g_contact_last_name := contact.last_name;
301: ben_ext_person.g_contact_first_name := contact.first_name;
302: ben_ext_person.g_contact_middle_names := contact.middle_names;
303: ben_ext_person.g_contact_full_name := contact.full_name;
304: ben_ext_person.g_contact_suffix := contact.suffix;
305: ben_ext_person.g_contact_prefix := contact.prefix;
306: ben_ext_person.g_contact_title := contact.title;
307: ben_ext_person.g_contact_date_of_birth := contact.date_of_birth;
300: ben_ext_person.g_contact_last_name := contact.last_name;
301: ben_ext_person.g_contact_first_name := contact.first_name;
302: ben_ext_person.g_contact_middle_names := contact.middle_names;
303: ben_ext_person.g_contact_full_name := contact.full_name;
304: ben_ext_person.g_contact_suffix := contact.suffix;
305: ben_ext_person.g_contact_prefix := contact.prefix;
306: ben_ext_person.g_contact_title := contact.title;
307: ben_ext_person.g_contact_date_of_birth := contact.date_of_birth;
308: ben_ext_person.g_contact_marital_status := contact.marital_status;
301: ben_ext_person.g_contact_first_name := contact.first_name;
302: ben_ext_person.g_contact_middle_names := contact.middle_names;
303: ben_ext_person.g_contact_full_name := contact.full_name;
304: ben_ext_person.g_contact_suffix := contact.suffix;
305: ben_ext_person.g_contact_prefix := contact.prefix;
306: ben_ext_person.g_contact_title := contact.title;
307: ben_ext_person.g_contact_date_of_birth := contact.date_of_birth;
308: ben_ext_person.g_contact_marital_status := contact.marital_status;
309: ben_ext_person.g_contact_sex := contact.sex;
302: ben_ext_person.g_contact_middle_names := contact.middle_names;
303: ben_ext_person.g_contact_full_name := contact.full_name;
304: ben_ext_person.g_contact_suffix := contact.suffix;
305: ben_ext_person.g_contact_prefix := contact.prefix;
306: ben_ext_person.g_contact_title := contact.title;
307: ben_ext_person.g_contact_date_of_birth := contact.date_of_birth;
308: ben_ext_person.g_contact_marital_status := contact.marital_status;
309: ben_ext_person.g_contact_sex := contact.sex;
310: ben_ext_person.g_contact_disabled_flag := contact.registered_disabled_flag;
303: ben_ext_person.g_contact_full_name := contact.full_name;
304: ben_ext_person.g_contact_suffix := contact.suffix;
305: ben_ext_person.g_contact_prefix := contact.prefix;
306: ben_ext_person.g_contact_title := contact.title;
307: ben_ext_person.g_contact_date_of_birth := contact.date_of_birth;
308: ben_ext_person.g_contact_marital_status := contact.marital_status;
309: ben_ext_person.g_contact_sex := contact.sex;
310: ben_ext_person.g_contact_disabled_flag := contact.registered_disabled_flag;
311: ben_ext_person.g_contact_student_status := contact.student_status;
304: ben_ext_person.g_contact_suffix := contact.suffix;
305: ben_ext_person.g_contact_prefix := contact.prefix;
306: ben_ext_person.g_contact_title := contact.title;
307: ben_ext_person.g_contact_date_of_birth := contact.date_of_birth;
308: ben_ext_person.g_contact_marital_status := contact.marital_status;
309: ben_ext_person.g_contact_sex := contact.sex;
310: ben_ext_person.g_contact_disabled_flag := contact.registered_disabled_flag;
311: ben_ext_person.g_contact_student_status := contact.student_status;
312: ben_ext_person.g_contact_date_of_death := contact.date_of_death;
305: ben_ext_person.g_contact_prefix := contact.prefix;
306: ben_ext_person.g_contact_title := contact.title;
307: ben_ext_person.g_contact_date_of_birth := contact.date_of_birth;
308: ben_ext_person.g_contact_marital_status := contact.marital_status;
309: ben_ext_person.g_contact_sex := contact.sex;
310: ben_ext_person.g_contact_disabled_flag := contact.registered_disabled_flag;
311: ben_ext_person.g_contact_student_status := contact.student_status;
312: ben_ext_person.g_contact_date_of_death := contact.date_of_death;
313: ben_ext_person.g_contact_language := contact.correspondence_language;
306: ben_ext_person.g_contact_title := contact.title;
307: ben_ext_person.g_contact_date_of_birth := contact.date_of_birth;
308: ben_ext_person.g_contact_marital_status := contact.marital_status;
309: ben_ext_person.g_contact_sex := contact.sex;
310: ben_ext_person.g_contact_disabled_flag := contact.registered_disabled_flag;
311: ben_ext_person.g_contact_student_status := contact.student_status;
312: ben_ext_person.g_contact_date_of_death := contact.date_of_death;
313: ben_ext_person.g_contact_language := contact.correspondence_language;
314: ben_ext_person.g_contact_nationality := contact.nationality;
307: ben_ext_person.g_contact_date_of_birth := contact.date_of_birth;
308: ben_ext_person.g_contact_marital_status := contact.marital_status;
309: ben_ext_person.g_contact_sex := contact.sex;
310: ben_ext_person.g_contact_disabled_flag := contact.registered_disabled_flag;
311: ben_ext_person.g_contact_student_status := contact.student_status;
312: ben_ext_person.g_contact_date_of_death := contact.date_of_death;
313: ben_ext_person.g_contact_language := contact.correspondence_language;
314: ben_ext_person.g_contact_nationality := contact.nationality;
315: ben_ext_person.g_contact_email_address := contact.email_address;
308: ben_ext_person.g_contact_marital_status := contact.marital_status;
309: ben_ext_person.g_contact_sex := contact.sex;
310: ben_ext_person.g_contact_disabled_flag := contact.registered_disabled_flag;
311: ben_ext_person.g_contact_student_status := contact.student_status;
312: ben_ext_person.g_contact_date_of_death := contact.date_of_death;
313: ben_ext_person.g_contact_language := contact.correspondence_language;
314: ben_ext_person.g_contact_nationality := contact.nationality;
315: ben_ext_person.g_contact_email_address := contact.email_address;
316: ben_ext_person.g_contact_known_as := contact.known_as;
309: ben_ext_person.g_contact_sex := contact.sex;
310: ben_ext_person.g_contact_disabled_flag := contact.registered_disabled_flag;
311: ben_ext_person.g_contact_student_status := contact.student_status;
312: ben_ext_person.g_contact_date_of_death := contact.date_of_death;
313: ben_ext_person.g_contact_language := contact.correspondence_language;
314: ben_ext_person.g_contact_nationality := contact.nationality;
315: ben_ext_person.g_contact_email_address := contact.email_address;
316: ben_ext_person.g_contact_known_as := contact.known_as;
317: ben_ext_person.g_contact_pre_name_adjunct := contact.pre_name_adjunct;
310: ben_ext_person.g_contact_disabled_flag := contact.registered_disabled_flag;
311: ben_ext_person.g_contact_student_status := contact.student_status;
312: ben_ext_person.g_contact_date_of_death := contact.date_of_death;
313: ben_ext_person.g_contact_language := contact.correspondence_language;
314: ben_ext_person.g_contact_nationality := contact.nationality;
315: ben_ext_person.g_contact_email_address := contact.email_address;
316: ben_ext_person.g_contact_known_as := contact.known_as;
317: ben_ext_person.g_contact_pre_name_adjunct := contact.pre_name_adjunct;
318: ben_ext_person.g_contact_tobacco_usage := contact.uses_tobacco_flag;
311: ben_ext_person.g_contact_student_status := contact.student_status;
312: ben_ext_person.g_contact_date_of_death := contact.date_of_death;
313: ben_ext_person.g_contact_language := contact.correspondence_language;
314: ben_ext_person.g_contact_nationality := contact.nationality;
315: ben_ext_person.g_contact_email_address := contact.email_address;
316: ben_ext_person.g_contact_known_as := contact.known_as;
317: ben_ext_person.g_contact_pre_name_adjunct := contact.pre_name_adjunct;
318: ben_ext_person.g_contact_tobacco_usage := contact.uses_tobacco_flag;
319: ben_ext_person.g_contact_prev_last_name := contact.previous_last_name;
312: ben_ext_person.g_contact_date_of_death := contact.date_of_death;
313: ben_ext_person.g_contact_language := contact.correspondence_language;
314: ben_ext_person.g_contact_nationality := contact.nationality;
315: ben_ext_person.g_contact_email_address := contact.email_address;
316: ben_ext_person.g_contact_known_as := contact.known_as;
317: ben_ext_person.g_contact_pre_name_adjunct := contact.pre_name_adjunct;
318: ben_ext_person.g_contact_tobacco_usage := contact.uses_tobacco_flag;
319: ben_ext_person.g_contact_prev_last_name := contact.previous_last_name;
320: ben_ext_person.g_contact_start_ler_id := contact.start_life_reason_id;
313: ben_ext_person.g_contact_language := contact.correspondence_language;
314: ben_ext_person.g_contact_nationality := contact.nationality;
315: ben_ext_person.g_contact_email_address := contact.email_address;
316: ben_ext_person.g_contact_known_as := contact.known_as;
317: ben_ext_person.g_contact_pre_name_adjunct := contact.pre_name_adjunct;
318: ben_ext_person.g_contact_tobacco_usage := contact.uses_tobacco_flag;
319: ben_ext_person.g_contact_prev_last_name := contact.previous_last_name;
320: ben_ext_person.g_contact_start_ler_id := contact.start_life_reason_id;
321: ben_ext_person.g_contact_end_ler_id := contact.end_life_reason_id;
314: ben_ext_person.g_contact_nationality := contact.nationality;
315: ben_ext_person.g_contact_email_address := contact.email_address;
316: ben_ext_person.g_contact_known_as := contact.known_as;
317: ben_ext_person.g_contact_pre_name_adjunct := contact.pre_name_adjunct;
318: ben_ext_person.g_contact_tobacco_usage := contact.uses_tobacco_flag;
319: ben_ext_person.g_contact_prev_last_name := contact.previous_last_name;
320: ben_ext_person.g_contact_start_ler_id := contact.start_life_reason_id;
321: ben_ext_person.g_contact_end_ler_id := contact.end_life_reason_id;
322: --
315: ben_ext_person.g_contact_email_address := contact.email_address;
316: ben_ext_person.g_contact_known_as := contact.known_as;
317: ben_ext_person.g_contact_pre_name_adjunct := contact.pre_name_adjunct;
318: ben_ext_person.g_contact_tobacco_usage := contact.uses_tobacco_flag;
319: ben_ext_person.g_contact_prev_last_name := contact.previous_last_name;
320: ben_ext_person.g_contact_start_ler_id := contact.start_life_reason_id;
321: ben_ext_person.g_contact_end_ler_id := contact.end_life_reason_id;
322: --
323: -- retrieve dependent address info if required
316: ben_ext_person.g_contact_known_as := contact.known_as;
317: ben_ext_person.g_contact_pre_name_adjunct := contact.pre_name_adjunct;
318: ben_ext_person.g_contact_tobacco_usage := contact.uses_tobacco_flag;
319: ben_ext_person.g_contact_prev_last_name := contact.previous_last_name;
320: ben_ext_person.g_contact_start_ler_id := contact.start_life_reason_id;
321: ben_ext_person.g_contact_end_ler_id := contact.end_life_reason_id;
322: --
323: -- retrieve dependent address info if required
324: if ben_extract.g_coa_csr = 'Y' then
317: ben_ext_person.g_contact_pre_name_adjunct := contact.pre_name_adjunct;
318: ben_ext_person.g_contact_tobacco_usage := contact.uses_tobacco_flag;
319: ben_ext_person.g_contact_prev_last_name := contact.previous_last_name;
320: ben_ext_person.g_contact_start_ler_id := contact.start_life_reason_id;
321: ben_ext_person.g_contact_end_ler_id := contact.end_life_reason_id;
322: --
323: -- retrieve dependent address info if required
324: if ben_extract.g_coa_csr = 'Y' then
325: open prim_address_c (contact.contact_person_id);
322: --
323: -- retrieve dependent address info if required
324: if ben_extract.g_coa_csr = 'Y' then
325: open prim_address_c (contact.contact_person_id);
326: fetch prim_address_c into ben_ext_person.g_contact_prim_address1
327: ,ben_ext_person.g_contact_prim_address2
328: ,ben_ext_person.g_contact_prim_address3
329: ,ben_ext_person.g_contact_prim_city
330: ,ben_ext_person.g_contact_prim_state
323: -- retrieve dependent address info if required
324: if ben_extract.g_coa_csr = 'Y' then
325: open prim_address_c (contact.contact_person_id);
326: fetch prim_address_c into ben_ext_person.g_contact_prim_address1
327: ,ben_ext_person.g_contact_prim_address2
328: ,ben_ext_person.g_contact_prim_address3
329: ,ben_ext_person.g_contact_prim_city
330: ,ben_ext_person.g_contact_prim_state
331: ,ben_ext_person.g_contact_prim_postal_code
324: if ben_extract.g_coa_csr = 'Y' then
325: open prim_address_c (contact.contact_person_id);
326: fetch prim_address_c into ben_ext_person.g_contact_prim_address1
327: ,ben_ext_person.g_contact_prim_address2
328: ,ben_ext_person.g_contact_prim_address3
329: ,ben_ext_person.g_contact_prim_city
330: ,ben_ext_person.g_contact_prim_state
331: ,ben_ext_person.g_contact_prim_postal_code
332: ,ben_ext_person.g_contact_prim_country
325: open prim_address_c (contact.contact_person_id);
326: fetch prim_address_c into ben_ext_person.g_contact_prim_address1
327: ,ben_ext_person.g_contact_prim_address2
328: ,ben_ext_person.g_contact_prim_address3
329: ,ben_ext_person.g_contact_prim_city
330: ,ben_ext_person.g_contact_prim_state
331: ,ben_ext_person.g_contact_prim_postal_code
332: ,ben_ext_person.g_contact_prim_country
333: ,ben_ext_person.g_contact_prim_effect_date
326: fetch prim_address_c into ben_ext_person.g_contact_prim_address1
327: ,ben_ext_person.g_contact_prim_address2
328: ,ben_ext_person.g_contact_prim_address3
329: ,ben_ext_person.g_contact_prim_city
330: ,ben_ext_person.g_contact_prim_state
331: ,ben_ext_person.g_contact_prim_postal_code
332: ,ben_ext_person.g_contact_prim_country
333: ,ben_ext_person.g_contact_prim_effect_date
334: ,ben_ext_person.g_contact_prim_region;
327: ,ben_ext_person.g_contact_prim_address2
328: ,ben_ext_person.g_contact_prim_address3
329: ,ben_ext_person.g_contact_prim_city
330: ,ben_ext_person.g_contact_prim_state
331: ,ben_ext_person.g_contact_prim_postal_code
332: ,ben_ext_person.g_contact_prim_country
333: ,ben_ext_person.g_contact_prim_effect_date
334: ,ben_ext_person.g_contact_prim_region;
335: if prim_address_c%notfound then
328: ,ben_ext_person.g_contact_prim_address3
329: ,ben_ext_person.g_contact_prim_city
330: ,ben_ext_person.g_contact_prim_state
331: ,ben_ext_person.g_contact_prim_postal_code
332: ,ben_ext_person.g_contact_prim_country
333: ,ben_ext_person.g_contact_prim_effect_date
334: ,ben_ext_person.g_contact_prim_region;
335: if prim_address_c%notfound then
336: open prim_rltd_address_c(contact.contact_person_id);
329: ,ben_ext_person.g_contact_prim_city
330: ,ben_ext_person.g_contact_prim_state
331: ,ben_ext_person.g_contact_prim_postal_code
332: ,ben_ext_person.g_contact_prim_country
333: ,ben_ext_person.g_contact_prim_effect_date
334: ,ben_ext_person.g_contact_prim_region;
335: if prim_address_c%notfound then
336: open prim_rltd_address_c(contact.contact_person_id);
337: fetch prim_rltd_address_c into ben_ext_person.g_contact_prim_address1
330: ,ben_ext_person.g_contact_prim_state
331: ,ben_ext_person.g_contact_prim_postal_code
332: ,ben_ext_person.g_contact_prim_country
333: ,ben_ext_person.g_contact_prim_effect_date
334: ,ben_ext_person.g_contact_prim_region;
335: if prim_address_c%notfound then
336: open prim_rltd_address_c(contact.contact_person_id);
337: fetch prim_rltd_address_c into ben_ext_person.g_contact_prim_address1
338: , ben_ext_person.g_contact_prim_address2
333: ,ben_ext_person.g_contact_prim_effect_date
334: ,ben_ext_person.g_contact_prim_region;
335: if prim_address_c%notfound then
336: open prim_rltd_address_c(contact.contact_person_id);
337: fetch prim_rltd_address_c into ben_ext_person.g_contact_prim_address1
338: , ben_ext_person.g_contact_prim_address2
339: , ben_ext_person.g_contact_prim_address3
340: , ben_ext_person.g_contact_prim_city
341: , ben_ext_person.g_contact_prim_state
334: ,ben_ext_person.g_contact_prim_region;
335: if prim_address_c%notfound then
336: open prim_rltd_address_c(contact.contact_person_id);
337: fetch prim_rltd_address_c into ben_ext_person.g_contact_prim_address1
338: , ben_ext_person.g_contact_prim_address2
339: , ben_ext_person.g_contact_prim_address3
340: , ben_ext_person.g_contact_prim_city
341: , ben_ext_person.g_contact_prim_state
342: , ben_ext_person.g_contact_prim_postal_code
335: if prim_address_c%notfound then
336: open prim_rltd_address_c(contact.contact_person_id);
337: fetch prim_rltd_address_c into ben_ext_person.g_contact_prim_address1
338: , ben_ext_person.g_contact_prim_address2
339: , ben_ext_person.g_contact_prim_address3
340: , ben_ext_person.g_contact_prim_city
341: , ben_ext_person.g_contact_prim_state
342: , ben_ext_person.g_contact_prim_postal_code
343: , ben_ext_person.g_contact_prim_country
336: open prim_rltd_address_c(contact.contact_person_id);
337: fetch prim_rltd_address_c into ben_ext_person.g_contact_prim_address1
338: , ben_ext_person.g_contact_prim_address2
339: , ben_ext_person.g_contact_prim_address3
340: , ben_ext_person.g_contact_prim_city
341: , ben_ext_person.g_contact_prim_state
342: , ben_ext_person.g_contact_prim_postal_code
343: , ben_ext_person.g_contact_prim_country
344: , ben_ext_person.g_contact_prim_effect_date
337: fetch prim_rltd_address_c into ben_ext_person.g_contact_prim_address1
338: , ben_ext_person.g_contact_prim_address2
339: , ben_ext_person.g_contact_prim_address3
340: , ben_ext_person.g_contact_prim_city
341: , ben_ext_person.g_contact_prim_state
342: , ben_ext_person.g_contact_prim_postal_code
343: , ben_ext_person.g_contact_prim_country
344: , ben_ext_person.g_contact_prim_effect_date
345: , ben_ext_person.g_contact_prim_region;
338: , ben_ext_person.g_contact_prim_address2
339: , ben_ext_person.g_contact_prim_address3
340: , ben_ext_person.g_contact_prim_city
341: , ben_ext_person.g_contact_prim_state
342: , ben_ext_person.g_contact_prim_postal_code
343: , ben_ext_person.g_contact_prim_country
344: , ben_ext_person.g_contact_prim_effect_date
345: , ben_ext_person.g_contact_prim_region;
346: close prim_rltd_address_c;
339: , ben_ext_person.g_contact_prim_address3
340: , ben_ext_person.g_contact_prim_city
341: , ben_ext_person.g_contact_prim_state
342: , ben_ext_person.g_contact_prim_postal_code
343: , ben_ext_person.g_contact_prim_country
344: , ben_ext_person.g_contact_prim_effect_date
345: , ben_ext_person.g_contact_prim_region;
346: close prim_rltd_address_c;
347: end if;
340: , ben_ext_person.g_contact_prim_city
341: , ben_ext_person.g_contact_prim_state
342: , ben_ext_person.g_contact_prim_postal_code
343: , ben_ext_person.g_contact_prim_country
344: , ben_ext_person.g_contact_prim_effect_date
345: , ben_ext_person.g_contact_prim_region;
346: close prim_rltd_address_c;
347: end if;
348: close prim_address_c;
341: , ben_ext_person.g_contact_prim_state
342: , ben_ext_person.g_contact_prim_postal_code
343: , ben_ext_person.g_contact_prim_country
344: , ben_ext_person.g_contact_prim_effect_date
345: , ben_ext_person.g_contact_prim_region;
346: close prim_rltd_address_c;
347: end if;
348: close prim_address_c;
349: end if;
350: --
351: -- retrieve dependent phone numbers if required
352: if ben_extract.g_cop_csr = 'Y' then
353: open ext_phone_c(contact.contact_person_id);
354: fetch ext_phone_c into ben_ext_person.g_contact_home_phone
355: ,ben_ext_person.g_contact_work_phone
356: ,ben_ext_person.g_contact_fax
357: ,ben_ext_person.g_contact_mobile;
358: close ext_phone_c;
351: -- retrieve dependent phone numbers if required
352: if ben_extract.g_cop_csr = 'Y' then
353: open ext_phone_c(contact.contact_person_id);
354: fetch ext_phone_c into ben_ext_person.g_contact_home_phone
355: ,ben_ext_person.g_contact_work_phone
356: ,ben_ext_person.g_contact_fax
357: ,ben_ext_person.g_contact_mobile;
358: close ext_phone_c;
359: end if;
352: if ben_extract.g_cop_csr = 'Y' then
353: open ext_phone_c(contact.contact_person_id);
354: fetch ext_phone_c into ben_ext_person.g_contact_home_phone
355: ,ben_ext_person.g_contact_work_phone
356: ,ben_ext_person.g_contact_fax
357: ,ben_ext_person.g_contact_mobile;
358: close ext_phone_c;
359: end if;
360:
353: open ext_phone_c(contact.contact_person_id);
354: fetch ext_phone_c into ben_ext_person.g_contact_home_phone
355: ,ben_ext_person.g_contact_work_phone
356: ,ben_ext_person.g_contact_fax
357: ,ben_ext_person.g_contact_mobile;
358: close ext_phone_c;
359: end if;
360:
361: -- retrieve eligible dependent flag
359: end if;
360:
361: -- retrieve eligible dependent flag
362: if ben_extract.g_coed_csr = 'Y' then
363: ben_ext_person.g_contact_is_elig_dpnt_flag := 'N';
364: open c_elig_dpnt(contact.contact_person_id);
365: fetch c_elig_dpnt into ben_ext_person.g_contact_is_elig_dpnt_flag;
366: close c_elig_dpnt;
367: end if;
361: -- retrieve eligible dependent flag
362: if ben_extract.g_coed_csr = 'Y' then
363: ben_ext_person.g_contact_is_elig_dpnt_flag := 'N';
364: open c_elig_dpnt(contact.contact_person_id);
365: fetch c_elig_dpnt into ben_ext_person.g_contact_is_elig_dpnt_flag;
366: close c_elig_dpnt;
367: end if;
368:
369: -- retrieve covered dependent flag
367: end if;
368:
369: -- retrieve covered dependent flag
370: if ben_extract.g_cocd_csr = 'Y' then
371: ben_ext_person.g_contact_is_cvrd_dpnt_flag := 'N';
372: open c_cvrd_dpnt(contact.contact_person_id);
373: fetch c_cvrd_dpnt into ben_ext_person.g_contact_is_cvrd_dpnt_flag;
374: close c_cvrd_dpnt;
375: end if;
369: -- retrieve covered dependent flag
370: if ben_extract.g_cocd_csr = 'Y' then
371: ben_ext_person.g_contact_is_cvrd_dpnt_flag := 'N';
372: open c_cvrd_dpnt(contact.contact_person_id);
373: fetch c_cvrd_dpnt into ben_ext_person.g_contact_is_cvrd_dpnt_flag;
374: close c_cvrd_dpnt;
375: end if;
376:
377: -- retrieve beneficiary flag
375: end if;
376:
377: -- retrieve beneficiary flag
378: if ben_extract.g_cob_csr = 'Y' then
379: ben_ext_person.g_contact_is_bnfcry_flag := 'N';
380: open c_beneficiary(contact.contact_person_id);
381: fetch c_beneficiary into ben_ext_person.g_contact_is_bnfcry_flag;
382: close c_beneficiary;
383: end if;
377: -- retrieve beneficiary flag
378: if ben_extract.g_cob_csr = 'Y' then
379: ben_ext_person.g_contact_is_bnfcry_flag := 'N';
380: open c_beneficiary(contact.contact_person_id);
381: fetch c_beneficiary into ben_ext_person.g_contact_is_bnfcry_flag;
382: close c_beneficiary;
383: end if;
384: --
385: -- retrieve life reason start
384: --
385: -- retrieve life reason start
386: if ben_extract.g_cosl_csr = 'Y' then
387: open c_start_ler(contact.start_life_reason_id);
388: fetch c_start_ler into ben_ext_person.g_contact_start_life_evt;
389: close c_start_ler;
390: end if;
391: --
392: -- retrieve life reason end
391: --
392: -- retrieve life reason end
393: if ben_extract.g_coel_csr = 'Y' then
394: open c_end_ler(contact.end_life_reason_id);
395: fetch c_end_ler into ben_ext_person.g_contact_end_life_evt;
396: close c_end_ler;
397: end if;
398: -- format and write
399: --