DBA Data[Home] [Help]

PACKAGE BODY: APPS.IGF_AP_ISIR_MATCHED_PKG

Source


1 PACKAGE BODY igf_ap_isir_matched_pkg AS
2 /* $Header: IGFAI09B.pls 120.2 2005/10/05 06:49:48 appldev ship $ */
3 
4   l_rowid VARCHAR2(25);
5   old_references igf_ap_isir_matched_all%ROWTYPE;
6   new_references igf_ap_isir_matched_all%ROWTYPE;
7 
8   PROCEDURE set_single_active_isir (
9     x_isir_id                           IN     NUMBER  ,
10     x_base_id                           IN     NUMBER
11   ) AS
12   /*
13   ||  Created By : cdcruz
14   ||  Created On : 03-Mar-2003
15   ||  Purpose : Ensures that there is only 1 active isir
16   ||  Who             When            What
17   ||  (reverse chronological order - newest change first)
18   */
19 
20   CURSOR get_isir( l_isir_id NUMBER,l_base_id NUMBER)
21   IS
22   select row_id from igf_ap_isir_matched
23   WHERE
24   active_isir = 'Y' and
25   base_id     = l_base_id and
26   isir_id     <> l_isir_id ;
27 
28   BEGIN
29   FOR l_isir in get_isir(x_isir_id,x_base_id)
30   LOOP
31 
32      UPDATE igf_ap_isir_matched set active_isir = 'N'
33      where row_id = l_isir.row_id;
34 
35   END LOOP;
36 
37   END set_single_active_isir;
38 
39 
40   PROCEDURE set_column_values (
41     p_action                            IN     VARCHAR2,
42     x_rowid                             IN     VARCHAR2,
43     x_isir_id                           IN     NUMBER  ,
44     x_base_id                           IN     NUMBER  ,
45     x_batch_year                        IN     NUMBER  ,
46     x_transaction_num                   IN     VARCHAR2,
47     x_current_ssn                       IN     VARCHAR2,
48     x_ssn_name_change                   IN     VARCHAR2,
49     x_original_ssn                      IN     VARCHAR2,
50     x_orig_name_id                      IN     VARCHAR2,
51     x_last_name                         IN     VARCHAR2,
52     x_first_name                        IN     VARCHAR2,
53     x_middle_initial                    IN     VARCHAR2,
54     x_perm_mail_add                     IN     VARCHAR2,
55     x_perm_city                         IN     VARCHAR2,
56     x_perm_state                        IN     VARCHAR2,
57     x_perm_zip_code                     IN     VARCHAR2,
58     x_date_of_birth                     IN     DATE    ,
59     x_phone_number                      IN     VARCHAR2,
60     x_driver_license_number             IN     VARCHAR2,
61     x_driver_license_state              IN     VARCHAR2,
62     x_citizenship_status                IN     VARCHAR2,
63     x_alien_reg_number                  IN     VARCHAR2,
64     x_s_marital_status                  IN     VARCHAR2,
65     x_s_marital_status_date             IN     DATE    ,
66     x_summ_enrl_status                  IN     VARCHAR2,
67     x_fall_enrl_status                  IN     VARCHAR2,
68     x_winter_enrl_status                IN     VARCHAR2,
69     x_spring_enrl_status                IN     VARCHAR2,
70     x_summ2_enrl_status                 IN     VARCHAR2,
71     x_fathers_highest_edu_level         IN     VARCHAR2,
72     x_mothers_highest_edu_level         IN     VARCHAR2,
73     x_s_state_legal_residence           IN     VARCHAR2,
74     x_legal_residence_before_date       IN     VARCHAR2,
75     x_s_legal_resd_date                 IN     DATE    ,
76     x_ss_r_u_male                       IN     VARCHAR2,
77     x_selective_service_reg             IN     VARCHAR2,
78     x_degree_certification              IN     VARCHAR2,
79     x_grade_level_in_college            IN     VARCHAR2,
80     x_high_school_diploma_ged           IN     VARCHAR2,
81     x_first_bachelor_deg_by_date        IN     VARCHAR2,
82     x_interest_in_loan                  IN     VARCHAR2,
83     x_interest_in_stud_employment       IN     VARCHAR2,
84     x_drug_offence_conviction           IN     VARCHAR2,
85     x_s_tax_return_status               IN     VARCHAR2,
86     x_s_type_tax_return                 IN     VARCHAR2,
87     x_s_elig_1040ez                     IN     VARCHAR2,
88     x_s_adjusted_gross_income           IN     NUMBER  ,
89     x_s_fed_taxes_paid                  IN     NUMBER  ,
90     x_s_exemptions                      IN     NUMBER  ,
91     x_s_income_from_work                IN     NUMBER  ,
92     x_spouse_income_from_work           IN     NUMBER  ,
93     x_s_toa_amt_from_wsa                IN     NUMBER  ,
94     x_s_toa_amt_from_wsb                IN     NUMBER  ,
95     x_s_toa_amt_from_wsc                IN     NUMBER  ,
96     x_s_investment_networth             IN     NUMBER  ,
97     x_s_busi_farm_networth              IN     NUMBER  ,
98     x_s_cash_savings                    IN     NUMBER  ,
99     x_va_months                         IN     NUMBER  ,
100     x_va_amount                         IN     NUMBER  ,
101     x_stud_dob_before_date              IN     VARCHAR2,
102     x_deg_beyond_bachelor               IN     VARCHAR2,
103     x_s_married                         IN     VARCHAR2,
104     x_s_have_children                   IN     VARCHAR2,
105     x_legal_dependents                  IN     VARCHAR2,
106     x_orphan_ward_of_court              IN     VARCHAR2,
107     x_s_veteran                         IN     VARCHAR2,
108     x_p_marital_status                  IN     VARCHAR2,
109     x_father_ssn                        IN     VARCHAR2,
110     x_f_last_name                       IN     VARCHAR2,
111     x_mother_ssn                        IN     VARCHAR2,
112     x_m_last_name                       IN     VARCHAR2,
113     x_p_num_family_member               IN     NUMBER  ,
114     x_p_num_in_college                  IN     NUMBER  ,
115     x_p_state_legal_residence           IN     VARCHAR2,
116     x_p_state_legal_res_before_dt       IN     VARCHAR2,
117     x_p_legal_res_date                  IN     DATE    ,
118     x_age_older_parent                  IN     NUMBER  ,
119     x_p_tax_return_status               IN     VARCHAR2,
120     x_p_type_tax_return                 IN     VARCHAR2,
121     x_p_elig_1040aez                    IN     VARCHAR2,
122     x_p_adjusted_gross_income           IN     NUMBER  ,
123     x_p_taxes_paid                      IN     NUMBER  ,
124     x_p_exemptions                      IN     NUMBER  ,
125     x_f_income_work                     IN     NUMBER  ,
126     x_m_income_work                     IN     NUMBER  ,
127     x_p_income_wsa                      IN     NUMBER  ,
128     x_p_income_wsb                      IN     NUMBER  ,
129     x_p_income_wsc                      IN     NUMBER  ,
130     x_p_investment_networth             IN     NUMBER  ,
131     x_p_business_networth               IN     NUMBER  ,
132     x_p_cash_saving                     IN     NUMBER  ,
133     x_s_num_family_members              IN     NUMBER  ,
134     x_s_num_in_college                  IN     NUMBER  ,
135     x_first_college                     IN     VARCHAR2,
136     x_first_house_plan                  IN     VARCHAR2,
137     x_second_college                    IN     VARCHAR2,
138     x_second_house_plan                 IN     VARCHAR2,
139     x_third_college                     IN     VARCHAR2,
140     x_third_house_plan                  IN     VARCHAR2,
141     x_fourth_college                    IN     VARCHAR2,
142     x_fourth_house_plan                 IN     VARCHAR2,
143     x_fifth_college                     IN     VARCHAR2,
144     x_fifth_house_plan                  IN     VARCHAR2,
145     x_sixth_college                     IN     VARCHAR2,
146     x_sixth_house_plan                  IN     VARCHAR2,
147     x_date_app_completed                IN     DATE    ,
148     x_signed_by                         IN     VARCHAR2,
149     x_preparer_ssn                      IN     VARCHAR2,
150     x_preparer_emp_id_number            IN     VARCHAR2,
151     x_preparer_sign                     IN     VARCHAR2,
152     x_transaction_receipt_date          IN     DATE    ,
153     x_dependency_override_ind           IN     VARCHAR2,
154     x_faa_fedral_schl_code              IN     VARCHAR2,
155     x_faa_adjustment                    IN     VARCHAR2,
156     x_input_record_type                 IN     VARCHAR2,
157     x_serial_number                     IN     NUMBER  ,
158     x_batch_number                      IN     VARCHAR2,
159     x_early_analysis_flag               IN     VARCHAR2,
160     x_app_entry_source_code             IN     VARCHAR2,
161     x_eti_destination_code              IN     VARCHAR2,
162     x_reject_override_b                 IN     VARCHAR2,
163     x_reject_override_n                 IN     VARCHAR2,
164     x_reject_override_w                 IN     VARCHAR2,
165     x_assum_override_1                  IN     VARCHAR2,
166     x_assum_override_2                  IN     VARCHAR2,
167     x_assum_override_3                  IN     VARCHAR2,
168     x_assum_override_4                  IN     VARCHAR2,
169     x_assum_override_5                  IN     VARCHAR2,
170     x_assum_override_6                  IN     VARCHAR2,
171     x_dependency_status                 IN     VARCHAR2,
172     x_s_email_address                   IN     VARCHAR2,
173     x_nslds_reason_code                 IN     VARCHAR2,
174     x_app_receipt_date                  IN     DATE    ,
175     x_processed_rec_type                IN     VARCHAR2,
176     x_hist_correction_for_tran_id       IN     NUMBER  ,
177     x_system_generated_indicator        IN     VARCHAR2,
178     x_dup_request_indicator             IN     VARCHAR2,
179     x_source_of_correction              IN     VARCHAR2,
180     x_p_cal_tax_status                  IN     VARCHAR2,
181     x_s_cal_tax_status                  IN     VARCHAR2,
182     x_graduate_flag                     IN     VARCHAR2,
183     x_auto_zero_efc                     IN     VARCHAR2,
184     x_efc_change_flag                   IN     VARCHAR2,
185     x_sarc_flag                         IN     VARCHAR2,
186     x_simplified_need_test              IN     VARCHAR2,
187     x_reject_reason_codes               IN     VARCHAR2,
188     x_select_service_match_flag         IN     VARCHAR2,
189     x_select_service_reg_flag           IN     VARCHAR2,
190     x_ins_match_flag                    IN     VARCHAR2,
191     x_ins_verification_number           IN     NUMBER  ,
192     x_sec_ins_match_flag                IN     VARCHAR2,
193     x_sec_ins_ver_number                IN     NUMBER  ,
194     x_ssn_match_flag                    IN     VARCHAR2,
195     x_ssa_citizenship_flag              IN     VARCHAR2,
196     x_ssn_date_of_death                 IN     DATE    ,
197     x_nslds_match_flag                  IN     VARCHAR2,
198     x_va_match_flag                     IN     VARCHAR2,
199     x_prisoner_match                    IN     VARCHAR2,
200     x_verification_flag                 IN     VARCHAR2,
201     x_subsequent_app_flag               IN     VARCHAR2,
202     x_app_source_site_code              IN     VARCHAR2,
203     x_tran_source_site_code             IN     VARCHAR2,
204     x_drn                               IN     NUMBER  ,
205     x_tran_process_date                 IN     DATE    ,
206     x_computer_batch_number             IN     NUMBER  ,
207     x_correction_flags                  IN     VARCHAR2,
208     x_highlight_flags                   IN     VARCHAR2,
209     x_paid_efc                          IN     NUMBER  ,
210     x_primary_efc                       IN     NUMBER  ,
211     x_secondary_efc                     IN     NUMBER  ,
212     x_fed_pell_grant_efc_type           IN     VARCHAR2,
213     x_primary_efc_type                  IN     VARCHAR2,
214     x_sec_efc_type                      IN     VARCHAR2,
215     x_primary_alternate_month_1         IN     NUMBER  ,
216     x_primary_alternate_month_2         IN     NUMBER  ,
217     x_primary_alternate_month_3         IN     NUMBER  ,
218     x_primary_alternate_month_4         IN     NUMBER  ,
219     x_primary_alternate_month_5         IN     NUMBER  ,
220     x_primary_alternate_month_6         IN     NUMBER  ,
221     x_primary_alternate_month_7         IN     NUMBER  ,
222     x_primary_alternate_month_8         IN     NUMBER  ,
223     x_primary_alternate_month_10        IN     NUMBER  ,
224     x_primary_alternate_month_11        IN     NUMBER  ,
225     x_primary_alternate_month_12        IN     NUMBER  ,
226     x_sec_alternate_month_1             IN     NUMBER  ,
227     x_sec_alternate_month_2             IN     NUMBER  ,
228     x_sec_alternate_month_3             IN     NUMBER  ,
229     x_sec_alternate_month_4             IN     NUMBER  ,
230     x_sec_alternate_month_5             IN     NUMBER  ,
231     x_sec_alternate_month_6             IN     NUMBER  ,
232     x_sec_alternate_month_7             IN     NUMBER  ,
233     x_sec_alternate_month_8             IN     NUMBER  ,
234     x_sec_alternate_month_10            IN     NUMBER  ,
235     x_sec_alternate_month_11            IN     NUMBER  ,
236     x_sec_alternate_month_12            IN     NUMBER  ,
237     x_total_income                      IN     NUMBER  ,
238     x_allow_total_income                IN     NUMBER  ,
239     x_state_tax_allow                   IN     NUMBER  ,
240     x_employment_allow                  IN     NUMBER  ,
241     x_income_protection_allow           IN     NUMBER  ,
242     x_available_income                  IN     NUMBER  ,
243     x_contribution_from_ai              IN     NUMBER  ,
244     x_discretionary_networth            IN     NUMBER  ,
245     x_efc_networth                      IN     NUMBER  ,
246     x_asset_protect_allow               IN     NUMBER  ,
247     x_parents_cont_from_assets          IN     NUMBER  ,
248     x_adjusted_available_income         IN     NUMBER  ,
249     x_total_student_contribution        IN     NUMBER  ,
250     x_total_parent_contribution         IN     NUMBER  ,
251     x_parents_contribution              IN     NUMBER  ,
252     x_student_total_income              IN     NUMBER  ,
253     x_sati                              IN     NUMBER  ,
254     x_sic                               IN     NUMBER  ,
255     x_sdnw                              IN     NUMBER  ,
256     x_sca                               IN     NUMBER  ,
257     x_fti                               IN     NUMBER  ,
258     x_secti                             IN     NUMBER  ,
259     x_secati                            IN     NUMBER  ,
260     x_secstx                            IN     NUMBER  ,
261     x_secea                             IN     NUMBER  ,
262     x_secipa                            IN     NUMBER  ,
263     x_secai                             IN     NUMBER  ,
264     x_seccai                            IN     NUMBER  ,
265     x_secdnw                            IN     NUMBER  ,
266     x_secnw                             IN     NUMBER  ,
267     x_secapa                            IN     NUMBER  ,
268     x_secpca                            IN     NUMBER  ,
269     x_secaai                            IN     NUMBER  ,
270     x_sectsc                            IN     NUMBER  ,
271     x_sectpc                            IN     NUMBER  ,
272     x_secpc                             IN     NUMBER  ,
273     x_secsti                            IN     NUMBER  ,
274     x_secsic                            IN     NUMBER  ,
275     x_secsati                           IN     NUMBER  ,
276     x_secsdnw                           IN     NUMBER  ,
277     x_secsca                            IN     NUMBER  ,
278     x_secfti                            IN     NUMBER  ,
279     x_a_citizenship                     IN     VARCHAR2,
280     x_a_student_marital_status          IN     VARCHAR2,
281     x_a_student_agi                     IN     NUMBER  ,
282     x_a_s_us_tax_paid                   IN     NUMBER  ,
283     x_a_s_income_work                   IN     NUMBER  ,
284     x_a_spouse_income_work              IN     NUMBER  ,
285     x_a_s_total_wsc                     IN     NUMBER  ,
286     x_a_date_of_birth                   IN     VARCHAR2,
287     x_a_student_married                 IN     VARCHAR2,
288     x_a_have_children                   IN     VARCHAR2,
289     x_a_s_have_dependents               IN     VARCHAR2,
290     x_a_va_status                       IN     VARCHAR2,
291     x_a_s_num_in_family                 IN     NUMBER  ,
292     x_a_s_num_in_college                IN     NUMBER  ,
293     x_a_p_marital_status                IN     VARCHAR2,
294     x_a_father_ssn                      IN     VARCHAR2,
295     x_a_mother_ssn                      IN     VARCHAR2,
296     x_a_parents_num_family              IN     NUMBER  ,
297     x_a_parents_num_college             IN     NUMBER  ,
298     x_a_parents_agi                     IN     NUMBER  ,
299     x_a_p_us_tax_paid                   IN     NUMBER  ,
300     x_a_f_work_income                   IN     NUMBER  ,
301     x_a_m_work_income                   IN     NUMBER  ,
302     x_a_p_total_wsc                     IN     NUMBER  ,
303     x_comment_codes                     IN     VARCHAR2,
304     x_sar_ack_comm_code                 IN     VARCHAR2,
305     x_pell_grant_elig_flag              IN     VARCHAR2,
306     x_reprocess_reason_code             IN     VARCHAR2,
307     x_duplicate_date                    IN     DATE    ,
308     x_isir_transaction_type             IN     VARCHAR2,
309     x_fedral_schl_code_indicator        IN     VARCHAR2,
310     x_multi_school_code_flags           IN     VARCHAR2,
311     x_dup_ssn_indicator                 IN     VARCHAR2,
312     x_payment_isir                      IN     VARCHAR2,
313     x_receipt_status                    IN     VARCHAR2,
314     x_isir_receipt_completed            IN     VARCHAR2,
315     x_creation_date                     IN     DATE    ,
316     x_created_by                        IN     NUMBER  ,
317     x_last_update_date                  IN     DATE    ,
318     x_last_updated_by                   IN     NUMBER  ,
319     x_last_update_login                 IN     NUMBER  ,
320     x_system_record_type                IN     VARCHAR2,
321     x_verif_track_flag                  IN     VARCHAR2,
322     x_active_isir                       IN     VARCHAR2,
323     x_fafsa_data_verify_flags           IN     VARCHAR2,
324     x_reject_override_a                 IN     VARCHAR2,
325     x_reject_override_c                 IN     VARCHAR2,
326     x_parent_marital_status_date        IN     DATE,
327     x_legacy_record_flag                IN     VARCHAR2,
328     x_father_first_name_initial         IN     VARCHAR2,
329     x_father_step_father_birth_dt       IN     DATE    ,
330     x_mother_first_name_initial         IN     VARCHAR2,
331     x_mother_step_mother_birth_dt       IN     DATE    ,
332     x_parents_email_address_txt         IN     VARCHAR2,
333     x_address_change_type               IN     VARCHAR2,
334     x_cps_pushed_isir_flag              IN     VARCHAR2,
335     x_electronic_transaction_type       IN     VARCHAR2,
336     x_sar_c_change_type                 IN     VARCHAR2,
337     x_father_ssn_match_type             IN     VARCHAR2,
338     x_mother_ssn_match_type             IN     VARCHAR2,
339     x_reject_override_g_flag            IN     VARCHAR2,
340     x_dhs_verification_num_txt          IN     VARCHAR2,
341     x_data_file_name_txt                IN     VARCHAR2,
342     x_message_class_txt                 IN     VARCHAR2,
343     x_reject_override_3_flag            IN     VARCHAR2,
344     x_reject_override_12_flag           IN     VARCHAR2,
345     x_reject_override_j_flag            IN     VARCHAR2,
346     x_reject_override_k_flag            IN     VARCHAR2,
347     x_rejected_status_change_flag       IN     VARCHAR2,
348     x_verification_selection_flag       IN     VARCHAR2
349     ) AS
350   /*
351   ||  Created By : rasingh
352   ||  Created On : 06-DEC-2000
353   ||  Purpose : Initialises the Old and New references for the columns of the table.
354   ||  Known limitations, enhancements or remarks :
355   ||  Change History :
356   ||  Who             When            What
357   ||  (reverse chronological order - newest change first)
358   */
359 
360     CURSOR cur_old_ref_values IS
361       SELECT   *
362       FROM     IGF_AP_ISIR_MATCHED_ALL
363       WHERE    rowid = x_rowid;
364 
365   BEGIN
366 
367     l_rowid := x_rowid;
368 
369     -- Code for setting the Old and New Reference Values.
370     -- Populate Old Values.
371     OPEN cur_old_ref_values;
372     FETCH cur_old_ref_values INTO old_references;
373     IF ((cur_old_ref_values%NOTFOUND) AND (p_action NOT IN ('INSERT', 'VALIDATE_INSERT'))) THEN
374       CLOSE cur_old_ref_values;
375       fnd_message.set_name ('FND', 'FORM_RECORD_DELETED');
376       igs_ge_msg_stack.add;
377       app_exception.raise_exception;
378       RETURN;
379     END IF;
380     CLOSE cur_old_ref_values;
381 
382     -- Populate New Values.
383     new_references.isir_id                           := x_isir_id;
384     new_references.base_id                           := x_base_id;
385     new_references.batch_year                        := x_batch_year;
386     new_references.transaction_num                   := x_transaction_num;
387     new_references.current_ssn                       := x_current_ssn;
388     new_references.ssn_name_change                   := x_ssn_name_change;
389     new_references.original_ssn                      := x_original_ssn;
390     new_references.orig_name_id                      := x_orig_name_id;
391     new_references.last_name                         := x_last_name;
392     new_references.first_name                        := x_first_name;
393     new_references.middle_initial                    := x_middle_initial;
394     new_references.perm_mail_add                     := x_perm_mail_add;
395     new_references.perm_city                         := x_perm_city;
396     new_references.perm_state                        := x_perm_state;
397     new_references.perm_zip_code                     := x_perm_zip_code;
398     new_references.date_of_birth                     := x_date_of_birth;
399     new_references.phone_number                      := x_phone_number;
400     new_references.driver_license_number             := x_driver_license_number;
401     new_references.driver_license_state              := x_driver_license_state;
402     new_references.citizenship_status                := x_citizenship_status;
403     new_references.alien_reg_number                  := x_alien_reg_number;
404     new_references.s_marital_status                  := x_s_marital_status;
405     new_references.s_marital_status_date             := x_s_marital_status_date;
406     new_references.summ_enrl_status                  := x_summ_enrl_status;
407     new_references.fall_enrl_status                  := x_fall_enrl_status;
408     new_references.winter_enrl_status                := x_winter_enrl_status;
409     new_references.spring_enrl_status                := x_spring_enrl_status;
410     new_references.summ2_enrl_status                 := x_summ2_enrl_status;
411     new_references.fathers_highest_edu_level         := x_fathers_highest_edu_level;
412     new_references.mothers_highest_edu_level         := x_mothers_highest_edu_level;
413     new_references.s_state_legal_residence           := x_s_state_legal_residence;
414     new_references.legal_residence_before_date       := x_legal_residence_before_date;
415     new_references.s_legal_resd_date                 := x_s_legal_resd_date;
416     new_references.ss_r_u_male                       := x_ss_r_u_male;
417     new_references.selective_service_reg             := x_selective_service_reg;
418     new_references.degree_certification              := x_degree_certification;
419     new_references.grade_level_in_college            := x_grade_level_in_college;
420     new_references.high_school_diploma_ged           := x_high_school_diploma_ged;
421     new_references.first_bachelor_deg_by_date        := x_first_bachelor_deg_by_date;
422     new_references.interest_in_loan                  := x_interest_in_loan;
423     new_references.interest_in_stud_employment       := x_interest_in_stud_employment;
424     new_references.drug_offence_conviction           := x_drug_offence_conviction;
425     new_references.s_tax_return_status               := x_s_tax_return_status;
426     new_references.s_type_tax_return                 := x_s_type_tax_return;
427     new_references.s_elig_1040ez                     := x_s_elig_1040ez;
428     new_references.s_adjusted_gross_income           := x_s_adjusted_gross_income;
429     new_references.s_fed_taxes_paid                  := x_s_fed_taxes_paid;
430     new_references.s_exemptions                      := x_s_exemptions;
431     new_references.s_income_from_work                := x_s_income_from_work;
432     new_references.spouse_income_from_work           := x_spouse_income_from_work;
433     new_references.s_toa_amt_from_wsa                := x_s_toa_amt_from_wsa;
434     new_references.s_toa_amt_from_wsb                := x_s_toa_amt_from_wsb;
435     new_references.s_toa_amt_from_wsc                := x_s_toa_amt_from_wsc;
436     new_references.s_investment_networth             := x_s_investment_networth;
437     new_references.s_busi_farm_networth              := x_s_busi_farm_networth;
438     new_references.s_cash_savings                    := x_s_cash_savings;
439     new_references.va_months                         := x_va_months;
440     new_references.va_amount                         := x_va_amount;
441     new_references.stud_dob_before_date              := x_stud_dob_before_date;
442     new_references.deg_beyond_bachelor               := x_deg_beyond_bachelor;
443     new_references.s_married                         := x_s_married;
444     new_references.s_have_children                   := x_s_have_children;
445     new_references.legal_dependents                  := x_legal_dependents;
446     new_references.orphan_ward_of_court              := x_orphan_ward_of_court;
447     new_references.s_veteran                         := x_s_veteran;
448     new_references.p_marital_status                  := x_p_marital_status;
449     new_references.father_ssn                        := x_father_ssn;
450     new_references.f_last_name                       := x_f_last_name;
451     new_references.mother_ssn                        := x_mother_ssn;
452     new_references.m_last_name                       := x_m_last_name;
453     new_references.p_num_family_member               := x_p_num_family_member;
454     new_references.p_num_in_college                  := x_p_num_in_college;
455     new_references.p_state_legal_residence           := x_p_state_legal_residence;
456     new_references.p_state_legal_res_before_dt       := x_p_state_legal_res_before_dt;
457     new_references.p_legal_res_date                  := x_p_legal_res_date;
458     new_references.age_older_parent                  := x_age_older_parent;
459     new_references.p_tax_return_status               := x_p_tax_return_status;
460     new_references.p_type_tax_return                 := x_p_type_tax_return;
461     new_references.p_elig_1040aez                    := x_p_elig_1040aez;
462     new_references.p_adjusted_gross_income           := x_p_adjusted_gross_income;
463     new_references.p_taxes_paid                      := x_p_taxes_paid;
464     new_references.p_exemptions                      := x_p_exemptions;
465     new_references.f_income_work                     := x_f_income_work;
466     new_references.m_income_work                     := x_m_income_work;
467     new_references.p_income_wsa                      := x_p_income_wsa;
468     new_references.p_income_wsb                      := x_p_income_wsb;
469     new_references.p_income_wsc                      := x_p_income_wsc;
470     new_references.p_investment_networth             := x_p_investment_networth;
471     new_references.p_business_networth               := x_p_business_networth;
472     new_references.p_cash_saving                     := x_p_cash_saving;
473     new_references.s_num_family_members              := x_s_num_family_members;
474     new_references.s_num_in_college                  := x_s_num_in_college;
475     new_references.first_college                     := x_first_college;
476     new_references.first_house_plan                  := x_first_house_plan;
477     new_references.second_college                    := x_second_college;
478     new_references.second_house_plan                 := x_second_house_plan;
479     new_references.third_college                     := x_third_college;
480     new_references.third_house_plan                  := x_third_house_plan;
481     new_references.fourth_college                    := x_fourth_college;
482     new_references.fourth_house_plan                 := x_fourth_house_plan;
483     new_references.fifth_college                     := x_fifth_college;
484     new_references.fifth_house_plan                  := x_fifth_house_plan;
485     new_references.sixth_college                     := x_sixth_college;
486     new_references.sixth_house_plan                  := x_sixth_house_plan;
487     new_references.date_app_completed                := x_date_app_completed;
488     new_references.signed_by                         := x_signed_by;
489     new_references.preparer_ssn                      := x_preparer_ssn;
490     new_references.preparer_emp_id_number            := x_preparer_emp_id_number;
491     new_references.preparer_sign                     := x_preparer_sign;
492     new_references.transaction_receipt_date          := x_transaction_receipt_date;
493     new_references.dependency_override_ind           := x_dependency_override_ind;
494     new_references.faa_fedral_schl_code              := x_faa_fedral_schl_code;
495     new_references.faa_adjustment                    := x_faa_adjustment;
496     new_references.input_record_type                 := x_input_record_type;
497     new_references.serial_number                     := x_serial_number;
498     new_references.batch_number                      := x_batch_number;
499     new_references.early_analysis_flag               := x_early_analysis_flag;
500     new_references.app_entry_source_code             := x_app_entry_source_code;
501     new_references.eti_destination_code              := x_eti_destination_code;
502     new_references.reject_override_b                 := x_reject_override_b;
503     new_references.reject_override_n                 := x_reject_override_n;
504     new_references.reject_override_w                 := x_reject_override_w;
505     new_references.assum_override_1                  := x_assum_override_1;
506     new_references.assum_override_2                  := x_assum_override_2;
507     new_references.assum_override_3                  := x_assum_override_3;
508     new_references.assum_override_4                  := x_assum_override_4;
509     new_references.assum_override_5                  := x_assum_override_5;
510     new_references.assum_override_6                  := x_assum_override_6;
511     new_references.dependency_status                 := x_dependency_status;
512     new_references.s_email_address                   := x_s_email_address;
513     new_references.nslds_reason_code                 := x_nslds_reason_code;
514     new_references.app_receipt_date                  := x_app_receipt_date;
515     new_references.processed_rec_type                := x_processed_rec_type;
516     new_references.hist_correction_for_tran_id       := x_hist_correction_for_tran_id;
517     new_references.system_generated_indicator        := x_system_generated_indicator;
518     new_references.dup_request_indicator             := x_dup_request_indicator;
519     new_references.source_of_correction              := x_source_of_correction;
520     new_references.p_cal_tax_status                  := x_p_cal_tax_status;
521     new_references.s_cal_tax_status                  := x_s_cal_tax_status;
522     new_references.graduate_flag                     := x_graduate_flag;
523     new_references.auto_zero_efc                     := x_auto_zero_efc;
524     new_references.efc_change_flag                   := x_efc_change_flag;
525     new_references.sarc_flag                         := x_sarc_flag;
526     new_references.simplified_need_test              := x_simplified_need_test;
527     new_references.reject_reason_codes               := x_reject_reason_codes;
528     new_references.select_service_match_flag         := x_select_service_match_flag;
529     new_references.select_service_reg_flag           := x_select_service_reg_flag;
530     new_references.ins_match_flag                    := x_ins_match_flag;
531     new_references.ins_verification_number           := x_ins_verification_number;
532     new_references.sec_ins_match_flag                := x_sec_ins_match_flag;
533     new_references.sec_ins_ver_number                := x_sec_ins_ver_number;
534     new_references.ssn_match_flag                    := x_ssn_match_flag;
535     new_references.ssa_citizenship_flag              := x_ssa_citizenship_flag;
536     new_references.ssn_date_of_death                 := x_ssn_date_of_death;
537     new_references.nslds_match_flag                  := x_nslds_match_flag;
538     new_references.va_match_flag                     := x_va_match_flag;
539     new_references.prisoner_match                    := x_prisoner_match;
540     new_references.verification_flag                 := x_verification_flag;
541     new_references.subsequent_app_flag               := x_subsequent_app_flag;
542     new_references.app_source_site_code              := x_app_source_site_code;
543     new_references.tran_source_site_code             := x_tran_source_site_code;
544     new_references.drn                               := x_drn;
545     new_references.tran_process_date                 := x_tran_process_date;
546     new_references.computer_batch_number             := x_computer_batch_number;
547     new_references.correction_flags                  := x_correction_flags;
548     new_references.highlight_flags                   := x_highlight_flags;
549     new_references.paid_efc                          := x_paid_efc;
550     new_references.primary_efc                       := x_primary_efc;
551     new_references.secondary_efc                     := x_secondary_efc;
552     new_references.fed_pell_grant_efc_type           := x_fed_pell_grant_efc_type;
553     new_references.primary_efc_type                  := x_primary_efc_type;
554     new_references.sec_efc_type                      := x_sec_efc_type;
555     new_references.primary_alternate_month_1         := x_primary_alternate_month_1;
556     new_references.primary_alternate_month_2         := x_primary_alternate_month_2;
557     new_references.primary_alternate_month_3         := x_primary_alternate_month_3;
558     new_references.primary_alternate_month_4         := x_primary_alternate_month_4;
559     new_references.primary_alternate_month_5         := x_primary_alternate_month_5;
560     new_references.primary_alternate_month_6         := x_primary_alternate_month_6;
561     new_references.primary_alternate_month_7         := x_primary_alternate_month_7;
562     new_references.primary_alternate_month_8         := x_primary_alternate_month_8;
563     new_references.primary_alternate_month_10        := x_primary_alternate_month_10;
564     new_references.primary_alternate_month_11        := x_primary_alternate_month_11;
565     new_references.primary_alternate_month_12        := x_primary_alternate_month_12;
566     new_references.sec_alternate_month_1             := x_sec_alternate_month_1;
567     new_references.sec_alternate_month_2             := x_sec_alternate_month_2;
568     new_references.sec_alternate_month_3             := x_sec_alternate_month_3;
569     new_references.sec_alternate_month_4             := x_sec_alternate_month_4;
570     new_references.sec_alternate_month_5             := x_sec_alternate_month_5;
571     new_references.sec_alternate_month_6             := x_sec_alternate_month_6;
572     new_references.sec_alternate_month_7             := x_sec_alternate_month_7;
573     new_references.sec_alternate_month_8             := x_sec_alternate_month_8;
574     new_references.sec_alternate_month_10            := x_sec_alternate_month_10;
575     new_references.sec_alternate_month_11            := x_sec_alternate_month_11;
576     new_references.sec_alternate_month_12            := x_sec_alternate_month_12;
577     new_references.total_income                      := x_total_income;
578     new_references.allow_total_income                := x_allow_total_income;
579     new_references.state_tax_allow                   := x_state_tax_allow;
580     new_references.employment_allow                  := x_employment_allow;
581     new_references.income_protection_allow           := x_income_protection_allow;
582     new_references.available_income                  := x_available_income;
583     new_references.contribution_from_ai              := x_contribution_from_ai;
584     new_references.discretionary_networth            := x_discretionary_networth;
585     new_references.efc_networth                      := x_efc_networth;
586     new_references.asset_protect_allow               := x_asset_protect_allow;
587     new_references.parents_cont_from_assets          := x_parents_cont_from_assets;
588     new_references.adjusted_available_income         := x_adjusted_available_income;
589     new_references.total_student_contribution        := x_total_student_contribution;
590     new_references.total_parent_contribution         := x_total_parent_contribution;
591     new_references.parents_contribution              := x_parents_contribution;
592     new_references.student_total_income              := x_student_total_income;
593     new_references.sati                              := x_sati;
594     new_references.sic                               := x_sic;
595     new_references.sdnw                              := x_sdnw;
596     new_references.sca                               := x_sca;
597     new_references.fti                               := x_fti;
598     new_references.secti                             := x_secti;
599     new_references.secati                            := x_secati;
600     new_references.secstx                            := x_secstx;
601     new_references.secea                             := x_secea;
602     new_references.secipa                            := x_secipa;
603     new_references.secai                             := x_secai;
604     new_references.seccai                            := x_seccai;
605     new_references.secdnw                            := x_secdnw;
606     new_references.secnw                             := x_secnw;
607     new_references.secapa                            := x_secapa;
608     new_references.secpca                            := x_secpca;
609     new_references.secaai                            := x_secaai;
610     new_references.sectsc                            := x_sectsc;
611     new_references.sectpc                            := x_sectpc;
612     new_references.secpc                             := x_secpc;
613     new_references.secsti                            := x_secsti;
614     new_references.secsic                            := x_secsic;
615     new_references.secsati                           := x_secsati;
616     new_references.secsdnw                           := x_secsdnw;
617     new_references.secsca                            := x_secsca;
618     new_references.secfti                            := x_secfti;
619     new_references.a_citizenship                     := x_a_citizenship;
620     new_references.a_student_marital_status          := x_a_student_marital_status;
621     new_references.a_student_agi                     := x_a_student_agi;
622     new_references.a_s_us_tax_paid                   := x_a_s_us_tax_paid;
623     new_references.a_s_income_work                   := x_a_s_income_work;
624     new_references.a_spouse_income_work              := x_a_spouse_income_work;
625     new_references.a_s_total_wsc                     := x_a_s_total_wsc;
626     new_references.a_date_of_birth                   := x_a_date_of_birth;
627     new_references.a_student_married                 := x_a_student_married;
628     new_references.a_have_children                   := x_a_have_children;
629     new_references.a_s_have_dependents               := x_a_s_have_dependents;
630     new_references.a_va_status                       := x_a_va_status;
631     new_references.a_s_num_in_family                 := x_a_s_num_in_family;
632     new_references.a_s_num_in_college                := x_a_s_num_in_college;
633     new_references.a_p_marital_status                := x_a_p_marital_status;
634     new_references.a_father_ssn                      := x_a_father_ssn;
635     new_references.a_mother_ssn                      := x_a_mother_ssn;
636     new_references.a_parents_num_family              := x_a_parents_num_family;
637     new_references.a_parents_num_college             := x_a_parents_num_college;
638     new_references.a_parents_agi                     := x_a_parents_agi;
639     new_references.a_p_us_tax_paid                   := x_a_p_us_tax_paid;
640     new_references.a_f_work_income                   := x_a_f_work_income;
641     new_references.a_m_work_income                   := x_a_m_work_income;
642     new_references.a_p_total_wsc                     := x_a_p_total_wsc;
643     new_references.comment_codes                     := x_comment_codes;
644     new_references.sar_ack_comm_code                 := x_sar_ack_comm_code;
645     new_references.pell_grant_elig_flag              := x_pell_grant_elig_flag;
646     new_references.reprocess_reason_code             := x_reprocess_reason_code;
647     new_references.duplicate_date                    := x_duplicate_date;
648     new_references.isir_transaction_type             := x_isir_transaction_type;
649     new_references.fedral_schl_code_indicator        := x_fedral_schl_code_indicator;
650     new_references.multi_school_code_flags           := x_multi_school_code_flags;
651     new_references.dup_ssn_indicator                 := x_dup_ssn_indicator;
652     new_references.payment_isir                      := x_payment_isir;
653     new_references.receipt_status                    := x_receipt_status;
654     new_references.isir_receipt_completed            := x_isir_receipt_completed;
655     new_references.system_record_type                := x_system_record_type;
656     new_references.verif_track_flag                      := x_verif_track_flag;
657     new_references.active_isir                       := x_active_isir;
658     new_references.fafsa_data_verify_flags           := x_fafsa_data_verify_flags;
659     new_references.reject_override_a                 := x_reject_override_a;
660     new_references.reject_override_c                 := x_reject_override_c;
661     new_references.parent_marital_status_date        := x_parent_marital_status_date;
662     new_references.legacy_record_flag                :=x_legacy_record_flag;
663     new_references.father_first_name_initial_txt     := x_father_first_name_initial    ;
664     new_references.father_step_father_birth_date     := x_father_step_father_birth_dt  ;
665     new_references.mother_first_name_initial_txt     := x_mother_first_name_initial    ;
666     new_references.mother_step_mother_birth_date     := x_mother_step_mother_birth_dt  ;
667     new_references.parents_email_address_txt         := x_parents_email_address_txt    ;
668     new_references.address_change_type               := x_address_change_type          ;
669     new_references.cps_pushed_isir_flag              := x_cps_pushed_isir_flag         ;
670     new_references.electronic_transaction_type       := x_electronic_transaction_type  ;
671     new_references.sar_c_change_type                 := x_sar_c_change_type            ;
672     new_references.father_ssn_match_type             := x_father_ssn_match_type        ;
673     new_references.mother_ssn_match_type             := x_mother_ssn_match_type        ;
674     new_references.reject_override_g_flag            := x_reject_override_g_flag       ;
675     new_references.dhs_verification_num_txt          := x_dhs_verification_num_txt     ;
676     new_references.data_file_name_txt                := x_data_file_name_txt           ;
677     new_references.message_class_txt                 := x_message_class_txt            ;
678     new_references.reject_override_3_flag            := x_reject_override_3_flag;
679     new_references.reject_override_12_flag           := x_reject_override_12_flag;
680     new_references.reject_override_j_flag            := x_reject_override_j_flag;
681     new_references.reject_override_k_flag            := x_reject_override_k_flag;
682     new_references.rejected_status_change_flag       := x_rejected_status_change_flag;
683     new_references.verification_selection_flag       := x_verification_selection_flag;
684 
685     IF (p_action = 'UPDATE') THEN
686       new_references.creation_date                   := old_references.creation_date;
687       new_references.created_by                      := old_references.created_by;
688     ELSE
689       new_references.creation_date                   := x_creation_date;
690       new_references.created_by                      := x_created_by;
691     END IF;
692 
693     new_references.last_update_date                  := x_last_update_date;
694     new_references.last_updated_by                   := x_last_updated_by;
695     new_references.last_update_login                 := x_last_update_login;
696 
697   END set_column_values;
698 
699 
700   PROCEDURE check_child_existance IS
701   /*
702   ||  Created By : rasingh
703   ||  Created On : 06-DEC-2000
704   ||  Purpose : Checks for the existance of Child records.
705   ||  Known limitations, enhancements or remarks :
706   ||  Change History :
707   ||  Who             When            What
708   ||  (reverse chronological order - newest change first)
709   */
710   BEGIN
711 
712     igf_ap_isir_corr_pkg.get_fk_igf_ap_isir_matched (
713       old_references.isir_id
714     );
715 
716     igf_ap_nslds_data_pkg.get_fk_igf_ap_isir_matched (
717       old_references.isir_id
718     );
719 
720   END check_child_existance;
721 
722 
723   FUNCTION get_pk_for_validation (
724     x_isir_id                           IN     NUMBER
725   ) RETURN BOOLEAN AS
726   /*
727   ||  Created By : rasingh
728   ||  Created On : 06-DEC-2000
729   ||  Purpose : Validates the Primary Key of the table.
730   ||  Known limitations, enhancements or remarks :
731   ||  Change History :
732   ||  Who             When            What
733   ||  (reverse chronological order - newest change first)
734   */
735     CURSOR cur_rowid IS
736       SELECT   rowid
737       FROM     igf_ap_isir_matched_all
738       WHERE    isir_id = x_isir_id
739       FOR UPDATE NOWAIT;
740 
741     lv_rowid cur_rowid%RowType;
742 
743   BEGIN
744 
745     OPEN cur_rowid;
746     FETCH cur_rowid INTO lv_rowid;
747     IF (cur_rowid%FOUND) THEN
748       CLOSE cur_rowid;
749       RETURN(TRUE);
750     ELSE
751       CLOSE cur_rowid;
752       RETURN(FALSE);
753     END IF;
754 
755   END get_pk_for_validation;
756 
757 
758   PROCEDURE before_dml (
759     p_action                            IN     VARCHAR2,
760     x_rowid                             IN     VARCHAR2,
761     x_isir_id                           IN     NUMBER  ,
762     x_base_id                           IN     NUMBER  ,
763     x_batch_year                        IN     NUMBER  ,
764     x_transaction_num                   IN     VARCHAR2,
765     x_current_ssn                       IN     VARCHAR2,
766     x_ssn_name_change                   IN     VARCHAR2,
767     x_original_ssn                      IN     VARCHAR2,
768     x_orig_name_id                      IN     VARCHAR2,
769     x_last_name                         IN     VARCHAR2,
770     x_first_name                        IN     VARCHAR2,
771     x_middle_initial                    IN     VARCHAR2,
772     x_perm_mail_add                     IN     VARCHAR2,
773     x_perm_city                         IN     VARCHAR2,
774     x_perm_state                        IN     VARCHAR2,
775     x_perm_zip_code                     IN     VARCHAR2,
776     x_date_of_birth                     IN     DATE    ,
777     x_phone_number                      IN     VARCHAR2,
778     x_driver_license_number             IN     VARCHAR2,
779     x_driver_license_state              IN     VARCHAR2,
780     x_citizenship_status                IN     VARCHAR2,
781     x_alien_reg_number                  IN     VARCHAR2,
782     x_s_marital_status                  IN     VARCHAR2,
783     x_s_marital_status_date             IN     DATE    ,
784     x_summ_enrl_status                  IN     VARCHAR2,
785     x_fall_enrl_status                  IN     VARCHAR2,
786     x_winter_enrl_status                IN     VARCHAR2,
787     x_spring_enrl_status                IN     VARCHAR2,
788     x_summ2_enrl_status                 IN     VARCHAR2,
789     x_fathers_highest_edu_level         IN     VARCHAR2,
790     x_mothers_highest_edu_level         IN     VARCHAR2,
791     x_s_state_legal_residence           IN     VARCHAR2,
792     x_legal_residence_before_date       IN     VARCHAR2,
793     x_s_legal_resd_date                 IN     DATE    ,
794     x_ss_r_u_male                       IN     VARCHAR2,
795     x_selective_service_reg             IN     VARCHAR2,
796     x_degree_certification              IN     VARCHAR2,
797     x_grade_level_in_college            IN     VARCHAR2,
798     x_high_school_diploma_ged           IN     VARCHAR2,
799     x_first_bachelor_deg_by_date        IN     VARCHAR2,
800     x_interest_in_loan                  IN     VARCHAR2,
801     x_interest_in_stud_employment       IN     VARCHAR2,
802     x_drug_offence_conviction           IN     VARCHAR2,
803     x_s_tax_return_status               IN     VARCHAR2,
804     x_s_type_tax_return                 IN     VARCHAR2,
805     x_s_elig_1040ez                     IN     VARCHAR2,
806     x_s_adjusted_gross_income           IN     NUMBER  ,
807     x_s_fed_taxes_paid                  IN     NUMBER  ,
808     x_s_exemptions                      IN     NUMBER  ,
809     x_s_income_from_work                IN     NUMBER  ,
810     x_spouse_income_from_work           IN     NUMBER  ,
811     x_s_toa_amt_from_wsa                IN     NUMBER  ,
812     x_s_toa_amt_from_wsb                IN     NUMBER  ,
813     x_s_toa_amt_from_wsc                IN     NUMBER  ,
814     x_s_investment_networth             IN     NUMBER  ,
815     x_s_busi_farm_networth              IN     NUMBER  ,
816     x_s_cash_savings                    IN     NUMBER  ,
817     x_va_months                         IN     NUMBER  ,
818     x_va_amount                         IN     NUMBER  ,
819     x_stud_dob_before_date              IN     VARCHAR2,
820     x_deg_beyond_bachelor               IN     VARCHAR2,
821     x_s_married                         IN     VARCHAR2,
822     x_s_have_children                   IN     VARCHAR2,
823     x_legal_dependents                  IN     VARCHAR2,
824     x_orphan_ward_of_court              IN     VARCHAR2,
825     x_s_veteran                         IN     VARCHAR2,
826     x_p_marital_status                  IN     VARCHAR2,
827     x_father_ssn                        IN     VARCHAR2,
828     x_f_last_name                       IN     VARCHAR2,
829     x_mother_ssn                        IN     VARCHAR2,
830     x_m_last_name                       IN     VARCHAR2,
831     x_p_num_family_member               IN     NUMBER  ,
832     x_p_num_in_college                  IN     NUMBER  ,
833     x_p_state_legal_residence           IN     VARCHAR2,
834     x_p_state_legal_res_before_dt       IN     VARCHAR2,
835     x_p_legal_res_date                  IN     DATE    ,
836     x_age_older_parent                  IN     NUMBER  ,
837     x_p_tax_return_status               IN     VARCHAR2,
838     x_p_type_tax_return                 IN     VARCHAR2,
839     x_p_elig_1040aez                    IN     VARCHAR2,
840     x_p_adjusted_gross_income           IN     NUMBER  ,
841     x_p_taxes_paid                      IN     NUMBER  ,
842     x_p_exemptions                      IN     NUMBER  ,
843     x_f_income_work                     IN     NUMBER  ,
844     x_m_income_work                     IN     NUMBER  ,
845     x_p_income_wsa                      IN     NUMBER  ,
846     x_p_income_wsb                      IN     NUMBER  ,
847     x_p_income_wsc                      IN     NUMBER  ,
848     x_p_investment_networth             IN     NUMBER  ,
849     x_p_business_networth               IN     NUMBER  ,
850     x_p_cash_saving                     IN     NUMBER  ,
851     x_s_num_family_members              IN     NUMBER  ,
852     x_s_num_in_college                  IN     NUMBER  ,
853     x_first_college                     IN     VARCHAR2,
854     x_first_house_plan                  IN     VARCHAR2,
855     x_second_college                    IN     VARCHAR2,
856     x_second_house_plan                 IN     VARCHAR2,
857     x_third_college                     IN     VARCHAR2,
858     x_third_house_plan                  IN     VARCHAR2,
859     x_fourth_college                    IN     VARCHAR2,
860     x_fourth_house_plan                 IN     VARCHAR2,
861     x_fifth_college                     IN     VARCHAR2,
862     x_fifth_house_plan                  IN     VARCHAR2,
863     x_sixth_college                     IN     VARCHAR2,
864     x_sixth_house_plan                  IN     VARCHAR2,
865     x_date_app_completed                IN     DATE    ,
866     x_signed_by                         IN     VARCHAR2,
867     x_preparer_ssn                      IN     VARCHAR2,
868     x_preparer_emp_id_number            IN     VARCHAR2,
869     x_preparer_sign                     IN     VARCHAR2,
870     x_transaction_receipt_date          IN     DATE    ,
871     x_dependency_override_ind           IN     VARCHAR2,
872     x_faa_fedral_schl_code              IN     VARCHAR2,
873     x_faa_adjustment                    IN     VARCHAR2,
874     x_input_record_type                 IN     VARCHAR2,
875     x_serial_number                     IN     NUMBER  ,
876     x_batch_number                      IN     VARCHAR2,
877     x_early_analysis_flag               IN     VARCHAR2,
878     x_app_entry_source_code             IN     VARCHAR2,
879     x_eti_destination_code              IN     VARCHAR2,
880     x_reject_override_b                 IN     VARCHAR2,
881     x_reject_override_n                 IN     VARCHAR2,
882     x_reject_override_w                 IN     VARCHAR2,
883     x_assum_override_1                  IN     VARCHAR2,
884     x_assum_override_2                  IN     VARCHAR2,
885     x_assum_override_3                  IN     VARCHAR2,
886     x_assum_override_4                  IN     VARCHAR2,
887     x_assum_override_5                  IN     VARCHAR2,
888     x_assum_override_6                  IN     VARCHAR2,
889     x_dependency_status                 IN     VARCHAR2,
890     x_s_email_address                   IN     VARCHAR2,
891     x_nslds_reason_code                 IN     VARCHAR2,
892     x_app_receipt_date                  IN     DATE    ,
893     x_processed_rec_type                IN     VARCHAR2,
894     x_hist_correction_for_tran_id       IN     NUMBER  ,
895     x_system_generated_indicator        IN     VARCHAR2,
896     x_dup_request_indicator             IN     VARCHAR2,
897     x_source_of_correction              IN     VARCHAR2,
898     x_p_cal_tax_status                  IN     VARCHAR2,
899     x_s_cal_tax_status                  IN     VARCHAR2,
900     x_graduate_flag                     IN     VARCHAR2,
901     x_auto_zero_efc                     IN     VARCHAR2,
902     x_efc_change_flag                   IN     VARCHAR2,
903     x_sarc_flag                         IN     VARCHAR2,
904     x_simplified_need_test              IN     VARCHAR2,
905     x_reject_reason_codes               IN     VARCHAR2,
906     x_select_service_match_flag         IN     VARCHAR2,
907     x_select_service_reg_flag           IN     VARCHAR2,
908     x_ins_match_flag                    IN     VARCHAR2,
909     x_ins_verification_number           IN     NUMBER  ,
910     x_sec_ins_match_flag                IN     VARCHAR2,
911     x_sec_ins_ver_number                IN     NUMBER  ,
912     x_ssn_match_flag                    IN     VARCHAR2,
913     x_ssa_citizenship_flag              IN     VARCHAR2,
914     x_ssn_date_of_death                 IN     DATE    ,
915     x_nslds_match_flag                  IN     VARCHAR2,
916     x_va_match_flag                     IN     VARCHAR2,
917     x_prisoner_match                    IN     VARCHAR2,
918     x_verification_flag                 IN     VARCHAR2,
919     x_subsequent_app_flag               IN     VARCHAR2,
920     x_app_source_site_code              IN     VARCHAR2,
921     x_tran_source_site_code             IN     VARCHAR2,
922     x_drn                               IN     NUMBER  ,
923     x_tran_process_date                 IN     DATE    ,
924     x_computer_batch_number             IN     NUMBER  ,
925     x_correction_flags                  IN     VARCHAR2,
926     x_highlight_flags                   IN     VARCHAR2,
927     x_paid_efc                          IN     NUMBER  ,
928     x_primary_efc                       IN     NUMBER  ,
929     x_secondary_efc                     IN     NUMBER  ,
930     x_fed_pell_grant_efc_type           IN     VARCHAR2,
931     x_primary_efc_type                  IN     VARCHAR2,
932     x_sec_efc_type                      IN     VARCHAR2,
933     x_primary_alternate_month_1         IN     NUMBER  ,
934     x_primary_alternate_month_2         IN     NUMBER  ,
935     x_primary_alternate_month_3         IN     NUMBER  ,
936     x_primary_alternate_month_4         IN     NUMBER  ,
937     x_primary_alternate_month_5         IN     NUMBER  ,
938     x_primary_alternate_month_6         IN     NUMBER  ,
939     x_primary_alternate_month_7         IN     NUMBER  ,
940     x_primary_alternate_month_8         IN     NUMBER  ,
941     x_primary_alternate_month_10        IN     NUMBER  ,
942     x_primary_alternate_month_11        IN     NUMBER  ,
943     x_primary_alternate_month_12        IN     NUMBER  ,
944     x_sec_alternate_month_1             IN     NUMBER  ,
945     x_sec_alternate_month_2             IN     NUMBER  ,
946     x_sec_alternate_month_3             IN     NUMBER  ,
947     x_sec_alternate_month_4             IN     NUMBER  ,
948     x_sec_alternate_month_5             IN     NUMBER  ,
949     x_sec_alternate_month_6             IN     NUMBER  ,
950     x_sec_alternate_month_7             IN     NUMBER  ,
951     x_sec_alternate_month_8             IN     NUMBER  ,
952     x_sec_alternate_month_10            IN     NUMBER  ,
953     x_sec_alternate_month_11            IN     NUMBER  ,
954     x_sec_alternate_month_12            IN     NUMBER  ,
955     x_total_income                      IN     NUMBER  ,
956     x_allow_total_income                IN     NUMBER  ,
957     x_state_tax_allow                   IN     NUMBER  ,
958     x_employment_allow                  IN     NUMBER  ,
959     x_income_protection_allow           IN     NUMBER  ,
960     x_available_income                  IN     NUMBER  ,
961     x_contribution_from_ai              IN     NUMBER  ,
962     x_discretionary_networth            IN     NUMBER  ,
963     x_efc_networth                      IN     NUMBER  ,
964     x_asset_protect_allow               IN     NUMBER  ,
965     x_parents_cont_from_assets          IN     NUMBER  ,
966     x_adjusted_available_income         IN     NUMBER  ,
967     x_total_student_contribution        IN     NUMBER  ,
968     x_total_parent_contribution         IN     NUMBER  ,
969     x_parents_contribution              IN     NUMBER  ,
970     x_student_total_income              IN     NUMBER  ,
971     x_sati                              IN     NUMBER  ,
972     x_sic                               IN     NUMBER  ,
973     x_sdnw                              IN     NUMBER  ,
974     x_sca                               IN     NUMBER  ,
975     x_fti                               IN     NUMBER  ,
976     x_secti                             IN     NUMBER  ,
977     x_secati                            IN     NUMBER  ,
978     x_secstx                            IN     NUMBER  ,
979     x_secea                             IN     NUMBER  ,
980     x_secipa                            IN     NUMBER  ,
981     x_secai                             IN     NUMBER  ,
982     x_seccai                            IN     NUMBER  ,
983     x_secdnw                            IN     NUMBER  ,
984     x_secnw                             IN     NUMBER  ,
985     x_secapa                            IN     NUMBER  ,
986     x_secpca                            IN     NUMBER  ,
987     x_secaai                            IN     NUMBER  ,
988     x_sectsc                            IN     NUMBER  ,
989     x_sectpc                            IN     NUMBER  ,
990     x_secpc                             IN     NUMBER  ,
991     x_secsti                            IN     NUMBER  ,
992     x_secsic                            IN     NUMBER  ,
993     x_secsati                           IN     NUMBER  ,
994     x_secsdnw                           IN     NUMBER  ,
995     x_secsca                            IN     NUMBER  ,
996     x_secfti                            IN     NUMBER  ,
997     x_a_citizenship                     IN     VARCHAR2,
998     x_a_student_marital_status          IN     VARCHAR2,
999     x_a_student_agi                     IN     NUMBER  ,
1000     x_a_s_us_tax_paid                   IN     NUMBER  ,
1001     x_a_s_income_work                   IN     NUMBER  ,
1002     x_a_spouse_income_work              IN     NUMBER  ,
1003     x_a_s_total_wsc                     IN     NUMBER  ,
1004     x_a_date_of_birth                   IN     VARCHAR2,
1005     x_a_student_married                 IN     VARCHAR2,
1006     x_a_have_children                   IN     VARCHAR2,
1007     x_a_s_have_dependents               IN     VARCHAR2,
1008     x_a_va_status                       IN     VARCHAR2,
1009     x_a_s_num_in_family                 IN     NUMBER  ,
1010     x_a_s_num_in_college                IN     NUMBER  ,
1011     x_a_p_marital_status                IN     VARCHAR2,
1012     x_a_father_ssn                      IN     VARCHAR2,
1013     x_a_mother_ssn                      IN     VARCHAR2,
1014     x_a_parents_num_family              IN     NUMBER  ,
1015     x_a_parents_num_college             IN     NUMBER  ,
1016     x_a_parents_agi                     IN     NUMBER  ,
1017     x_a_p_us_tax_paid                   IN     NUMBER  ,
1018     x_a_f_work_income                   IN     NUMBER  ,
1019     x_a_m_work_income                   IN     NUMBER  ,
1020     x_a_p_total_wsc                     IN     NUMBER  ,
1021     x_comment_codes                     IN     VARCHAR2,
1022     x_sar_ack_comm_code                 IN     VARCHAR2,
1023     x_pell_grant_elig_flag              IN     VARCHAR2,
1024     x_reprocess_reason_code             IN     VARCHAR2,
1025     x_duplicate_date                    IN     DATE    ,
1026     x_isir_transaction_type             IN     VARCHAR2,
1027     x_fedral_schl_code_indicator        IN     VARCHAR2,
1028     x_multi_school_code_flags           IN     VARCHAR2,
1029     x_dup_ssn_indicator                 IN     VARCHAR2,
1030     x_payment_isir                      IN     VARCHAR2,
1031     x_receipt_status                    IN     VARCHAR2,
1032     x_isir_receipt_completed            IN     VARCHAR2,
1033     x_creation_date                     IN     DATE    ,
1034     x_created_by                        IN     NUMBER  ,
1035     x_last_update_date                  IN     DATE    ,
1036     x_last_updated_by                   IN     NUMBER  ,
1037     x_last_update_login                 IN     NUMBER  ,
1038     x_system_record_type                IN     VARCHAR2,
1039     x_verif_track_flag                  IN     VARCHAR2,
1040     x_active_isir                       IN     VARCHAR2,
1041     x_fafsa_data_verify_flags           IN     VARCHAR2,
1042     x_reject_override_a                 IN     VARCHAR2,
1043     x_reject_override_c                 IN     VARCHAR2,
1044     x_parent_marital_status_date        IN     DATE ,
1045     x_legacy_record_flag                IN     VARCHAR2,
1046     x_father_first_name_initial         IN     VARCHAR2,
1047     x_father_step_father_birth_dt       IN     DATE    ,
1048     x_mother_first_name_initial         IN     VARCHAR2,
1049     x_mother_step_mother_birth_dt       IN     DATE    ,
1050     x_parents_email_address_txt         IN     VARCHAR2,
1051     x_address_change_type               IN     VARCHAR2,
1052     x_cps_pushed_isir_flag              IN     VARCHAR2,
1053     x_electronic_transaction_type       IN     VARCHAR2,
1054     x_sar_c_change_type                 IN     VARCHAR2,
1055     x_father_ssn_match_type             IN     VARCHAR2,
1056     x_mother_ssn_match_type             IN     VARCHAR2,
1057     x_reject_override_g_flag            IN     VARCHAR2,
1058     x_dhs_verification_num_txt          IN     VARCHAR2,
1059     x_data_file_name_txt                IN     VARCHAR2,
1060     x_message_class_txt                 IN     VARCHAR2,
1061     x_reject_override_3_flag            IN     VARCHAR2,
1062     x_reject_override_12_flag           IN     VARCHAR2,
1063     x_reject_override_j_flag            IN     VARCHAR2,
1064     x_reject_override_k_flag            IN     VARCHAR2,
1065     x_rejected_status_change_flag       IN     VARCHAR2,
1066     x_verification_selection_flag       IN     VARCHAR2
1067   ) AS
1068   /*
1069   ||  Created By : rasingh
1070   ||  Created On : 06-DEC-2000
1071   ||  Purpose : Initialises the columns, Checks Constraints, Calls the
1072   ||            Trigger Handlers for the table, before any DML operation.
1073   ||  Known limitations, enhancements or remarks :
1074   ||  Change History :
1075   ||  Who             When            What
1076   ||  (reverse chronological order - newest change first)
1077   */
1078   BEGIN
1079 
1080     set_column_values (
1081       p_action,
1082       x_rowid,
1083       x_isir_id,
1084       x_base_id,
1085       x_batch_year,
1086       x_transaction_num,
1087       x_current_ssn,
1088       x_ssn_name_change,
1089       x_original_ssn,
1090       x_orig_name_id,
1091       x_last_name,
1092       x_first_name,
1093       x_middle_initial,
1094       x_perm_mail_add,
1095       x_perm_city,
1096       x_perm_state,
1097       x_perm_zip_code,
1098       x_date_of_birth,
1099       x_phone_number,
1100       x_driver_license_number,
1101       x_driver_license_state,
1102       x_citizenship_status,
1103       x_alien_reg_number,
1104       x_s_marital_status,
1105       x_s_marital_status_date,
1106       x_summ_enrl_status,
1107       x_fall_enrl_status,
1108       x_winter_enrl_status,
1109       x_spring_enrl_status,
1110       x_summ2_enrl_status,
1111       x_fathers_highest_edu_level,
1112       x_mothers_highest_edu_level,
1113       x_s_state_legal_residence,
1114       x_legal_residence_before_date,
1115       x_s_legal_resd_date,
1116       x_ss_r_u_male,
1117       x_selective_service_reg,
1118       x_degree_certification,
1119       x_grade_level_in_college,
1120       x_high_school_diploma_ged,
1121       x_first_bachelor_deg_by_date,
1122       x_interest_in_loan,
1123       x_interest_in_stud_employment,
1124       x_drug_offence_conviction,
1125       x_s_tax_return_status,
1126       x_s_type_tax_return,
1127       x_s_elig_1040ez,
1128       x_s_adjusted_gross_income,
1129       x_s_fed_taxes_paid,
1130       x_s_exemptions,
1131       x_s_income_from_work,
1132       x_spouse_income_from_work,
1133       x_s_toa_amt_from_wsa,
1134       x_s_toa_amt_from_wsb,
1135       x_s_toa_amt_from_wsc,
1136       x_s_investment_networth,
1137       x_s_busi_farm_networth,
1138       x_s_cash_savings,
1139       x_va_months,
1140       x_va_amount,
1141       x_stud_dob_before_date,
1142       x_deg_beyond_bachelor,
1143       x_s_married,
1144       x_s_have_children,
1145       x_legal_dependents,
1146       x_orphan_ward_of_court,
1147       x_s_veteran,
1148       x_p_marital_status,
1149       x_father_ssn,
1150       x_f_last_name,
1151       x_mother_ssn,
1152       x_m_last_name,
1153       x_p_num_family_member,
1154       x_p_num_in_college,
1155       x_p_state_legal_residence,
1156       x_p_state_legal_res_before_dt,
1157       x_p_legal_res_date,
1158       x_age_older_parent,
1159       x_p_tax_return_status,
1160       x_p_type_tax_return,
1161       x_p_elig_1040aez,
1162       x_p_adjusted_gross_income,
1163       x_p_taxes_paid,
1164       x_p_exemptions,
1165       x_f_income_work,
1166       x_m_income_work,
1167       x_p_income_wsa,
1168       x_p_income_wsb,
1169       x_p_income_wsc,
1170       x_p_investment_networth,
1171       x_p_business_networth,
1172       x_p_cash_saving,
1173       x_s_num_family_members,
1174       x_s_num_in_college,
1175       x_first_college,
1176       x_first_house_plan,
1177       x_second_college,
1178       x_second_house_plan,
1179       x_third_college,
1180       x_third_house_plan,
1181       x_fourth_college,
1182       x_fourth_house_plan,
1183       x_fifth_college,
1184       x_fifth_house_plan,
1185       x_sixth_college,
1186       x_sixth_house_plan,
1187       x_date_app_completed,
1188       x_signed_by,
1189       x_preparer_ssn,
1190       x_preparer_emp_id_number,
1191       x_preparer_sign,
1192       x_transaction_receipt_date,
1193       x_dependency_override_ind,
1194       x_faa_fedral_schl_code,
1195       x_faa_adjustment,
1196       x_input_record_type,
1197       x_serial_number,
1198       x_batch_number,
1199       x_early_analysis_flag,
1200       x_app_entry_source_code,
1201       x_eti_destination_code,
1202       x_reject_override_b,
1203       x_reject_override_n,
1204       x_reject_override_w,
1205       x_assum_override_1,
1206       x_assum_override_2,
1207       x_assum_override_3,
1208       x_assum_override_4,
1209       x_assum_override_5,
1210       x_assum_override_6,
1211       x_dependency_status,
1212       x_s_email_address,
1213       x_nslds_reason_code,
1214       x_app_receipt_date,
1215       x_processed_rec_type,
1216       x_hist_correction_for_tran_id,
1217       x_system_generated_indicator,
1218       x_dup_request_indicator,
1219       x_source_of_correction,
1220       x_p_cal_tax_status,
1221       x_s_cal_tax_status,
1222       x_graduate_flag,
1223       x_auto_zero_efc,
1224       x_efc_change_flag,
1225       x_sarc_flag,
1226       x_simplified_need_test,
1227       x_reject_reason_codes,
1228       x_select_service_match_flag,
1229       x_select_service_reg_flag,
1230       x_ins_match_flag,
1231       x_ins_verification_number,
1232       x_sec_ins_match_flag,
1233       x_sec_ins_ver_number,
1234       x_ssn_match_flag,
1235       x_ssa_citizenship_flag,
1236       x_ssn_date_of_death,
1237       x_nslds_match_flag,
1238       x_va_match_flag,
1239       x_prisoner_match,
1240       x_verification_flag,
1241       x_subsequent_app_flag,
1242       x_app_source_site_code,
1243       x_tran_source_site_code,
1244       x_drn,
1245       x_tran_process_date,
1246       x_computer_batch_number,
1247       x_correction_flags,
1248       x_highlight_flags,
1249       x_paid_efc,
1250       x_primary_efc,
1251       x_secondary_efc,
1252       x_fed_pell_grant_efc_type,
1253       x_primary_efc_type,
1254       x_sec_efc_type,
1255       x_primary_alternate_month_1,
1256       x_primary_alternate_month_2,
1257       x_primary_alternate_month_3,
1258       x_primary_alternate_month_4,
1259       x_primary_alternate_month_5,
1260       x_primary_alternate_month_6,
1261       x_primary_alternate_month_7,
1262       x_primary_alternate_month_8,
1263       x_primary_alternate_month_10,
1264       x_primary_alternate_month_11,
1265       x_primary_alternate_month_12,
1266       x_sec_alternate_month_1,
1267       x_sec_alternate_month_2,
1268       x_sec_alternate_month_3,
1269       x_sec_alternate_month_4,
1270       x_sec_alternate_month_5,
1271       x_sec_alternate_month_6,
1272       x_sec_alternate_month_7,
1273       x_sec_alternate_month_8,
1274       x_sec_alternate_month_10,
1275       x_sec_alternate_month_11,
1276       x_sec_alternate_month_12,
1277       x_total_income,
1278       x_allow_total_income,
1279       x_state_tax_allow,
1280       x_employment_allow,
1281       x_income_protection_allow,
1282       x_available_income,
1283       x_contribution_from_ai,
1284       x_discretionary_networth,
1285       x_efc_networth,
1286       x_asset_protect_allow,
1287       x_parents_cont_from_assets,
1288       x_adjusted_available_income,
1289       x_total_student_contribution,
1290       x_total_parent_contribution,
1291       x_parents_contribution,
1292       x_student_total_income,
1293       x_sati,
1294       x_sic,
1295       x_sdnw,
1296       x_sca,
1297       x_fti,
1298       x_secti,
1299       x_secati,
1300       x_secstx,
1301       x_secea,
1302       x_secipa,
1303       x_secai,
1304       x_seccai,
1305       x_secdnw,
1306       x_secnw,
1307       x_secapa,
1308       x_secpca,
1309       x_secaai,
1310       x_sectsc,
1311       x_sectpc,
1312       x_secpc,
1313       x_secsti,
1314       x_secsic,
1315       x_secsati,
1316       x_secsdnw,
1317       x_secsca,
1318       x_secfti,
1319       x_a_citizenship,
1320       x_a_student_marital_status,
1321       x_a_student_agi,
1322       x_a_s_us_tax_paid,
1323       x_a_s_income_work,
1324       x_a_spouse_income_work,
1325       x_a_s_total_wsc,
1326       x_a_date_of_birth,
1327       x_a_student_married,
1328       x_a_have_children,
1329       x_a_s_have_dependents,
1330       x_a_va_status,
1331       x_a_s_num_in_family,
1332       x_a_s_num_in_college,
1333       x_a_p_marital_status,
1334       x_a_father_ssn,
1335       x_a_mother_ssn,
1336       x_a_parents_num_family,
1337       x_a_parents_num_college,
1338       x_a_parents_agi,
1339       x_a_p_us_tax_paid,
1340       x_a_f_work_income,
1341       x_a_m_work_income,
1342       x_a_p_total_wsc,
1343       x_comment_codes,
1344       x_sar_ack_comm_code,
1345       x_pell_grant_elig_flag,
1346       x_reprocess_reason_code,
1347       x_duplicate_date,
1348       x_isir_transaction_type,
1349       x_fedral_schl_code_indicator,
1350       x_multi_school_code_flags,
1351       x_dup_ssn_indicator,
1352       x_payment_isir,
1353       x_receipt_status,
1354       x_isir_receipt_completed,
1355       x_creation_date,
1356       x_created_by,
1357       x_last_update_date,
1358       x_last_updated_by,
1359       x_last_update_login,
1360       x_system_record_type,
1361       x_verif_track_flag,
1362       x_active_isir,
1363       x_fafsa_data_verify_flags,
1364       x_reject_override_a,
1365       x_reject_override_c,
1366       x_parent_marital_status_date,
1367       x_legacy_record_flag,
1368       x_father_first_name_initial,
1369       x_father_step_father_birth_dt,
1370       x_mother_first_name_initial,
1371       x_mother_step_mother_birth_dt,
1372       x_parents_email_address_txt ,
1373       x_address_change_type,
1374       x_cps_pushed_isir_flag,
1375       x_electronic_transaction_type,
1376       x_sar_c_change_type ,
1377       x_father_ssn_match_type,
1378       x_mother_ssn_match_type,
1379       x_reject_override_g_flag,
1380       x_dhs_verification_num_txt,
1381       x_data_file_name_txt,
1382       x_message_class_txt,
1383       x_reject_override_3_flag,
1384      x_reject_override_12_flag,
1385      x_reject_override_j_flag,
1386      x_reject_override_k_flag ,
1387      x_rejected_status_change_flag,
1388      x_verification_selection_flag
1389     );
1390 
1391     IF (p_action = 'INSERT') THEN
1392       -- Call all the procedures related to Before Insert.
1393       IF ( get_pk_for_validation(
1394              new_references.isir_id
1395            )
1396          ) THEN
1397         fnd_message.set_name('IGS','IGS_GE_RECORD_ALREADY_EXISTS');
1398         igs_ge_msg_stack.add;
1399         app_exception.raise_exception;
1400       END IF;
1401     ELSIF (p_action = 'DELETE') THEN
1402       -- Call all the procedures related to Before Delete.
1403       check_child_existance;
1404     ELSIF (p_action = 'VALIDATE_INSERT') THEN
1405       -- Call all the procedures related to Before Insert.
1406       IF ( get_pk_for_validation (
1407              new_references.isir_id
1408            )
1409          ) THEN
1410         fnd_message.set_name('IGS','IGS_GE_RECORD_ALREADY_EXISTS');
1411         igs_ge_msg_stack.add;
1412         app_exception.raise_exception;
1413       END IF;
1414     ELSIF (p_action = 'VALIDATE_DELETE') THEN
1415       check_child_existance;
1416     END IF;
1417 
1418   END before_dml;
1419 
1420   PROCEDURE create_party_rel AS
1421   /*
1422   ||  Created By : hkodali
1423   ||  Created On : 30-May-2005
1424   ||  Purpose : Creates an entry in the hz_relationships table between the person and the school_code (Security implementation).
1425   ||  Who             When            What
1426   ||  (reverse chronological order - newest change first)
1427   */
1428 
1429     CURSOR c_get_person_id (p_base_id igf_ap_fa_base_rec_all.base_id%TYPE) IS
1430     SELECT person_id
1431       FROM igf_ap_fa_base_rec_all
1432      WHERE base_id = p_base_id;
1433 
1434     CURSOR c_get_object_id(p_school_code igf_ap_isir_matched_all.first_college%TYPE) IS
1435     SELECT hz.party_id party_id
1436       FROM hz_parties hz,
1437            igs_or_org_alt_ids oli,
1438            igs_or_org_alt_idtyp olt
1439      WHERE oli.org_structure_id = hz.party_number
1440        AND oli.org_alternate_id_type = olt.org_alternate_id_type
1441        AND SYSDATE BETWEEN oli.start_date AND NVL(oli.end_date, SYSDATE)
1442        AND hz.status = 'A'
1443        AND olt.system_id_type = 'FED_SCH_CD'
1444        AND oli.org_alternate_id = p_school_code;
1445 
1446     CURSOR c_rel_exists(p_subject_id hz_parties.party_id%TYPE,
1447                         p_object_id  hz_parties.party_id%TYPE) IS
1448     SELECT 'X'
1449       FROM hz_relationships
1450      WHERE subject_id = p_subject_id
1451        AND object_id = p_object_id
1452        AND relationship_code='ATTENDS_INSTITUTION'
1453        AND SYSDATE BETWEEN start_date AND NVL(end_date, SYSDATE);
1454 
1455     l_subject_id                hz_parties.party_id%TYPE;
1456     l_object_id                 hz_parties.party_id%TYPE;
1457     l_school_code               igf_ap_isir_matched_all.first_college%TYPE;
1458     l_rel_exists                c_rel_exists%ROWTYPE;
1459 
1460     lv_return_status            VARCHAR2(1) ;
1461     lv_msg_count                NUMBER;
1462     lv_msg_data                 VARCHAR2(2000);
1463     lv_party_relationship_id    hz_relationships.relationship_id%TYPE ;
1464     lv_party_id                 hz_parties.party_id%TYPE ;
1465     lv_party_number             hz_parties.party_number%TYPE ;
1466     lv_last_update_date         hz_parties.last_update_date%TYPE ;
1467     lv_object_version_number    hz_relationships.object_version_number%TYPE;
1468 
1469 
1470   BEGIN
1471 
1472     -- get the party id of the person. It is to be used as the subject_id
1473     OPEN c_get_person_id(new_references.base_id);
1474     FETCH c_get_person_id into l_subject_id;
1475     CLOSE c_get_person_id;
1476 
1477     -- get the school code to which he belongs. This information is stored in the fedral_schl_code_indicator of the igf_ap_isir_matched_all table.
1478     IF new_references.fedral_schl_code_indicator = '1' THEN
1479       l_school_code := new_references.first_college;
1480     ELSIF new_references.fedral_schl_code_indicator = '2' THEN
1481       l_school_code := new_references.second_college;
1482     ELSIF new_references.fedral_schl_code_indicator = '3' THEN
1483       l_school_code := new_references.third_college;
1484     ELSIF new_references.fedral_schl_code_indicator = '4' THEN
1485       l_school_code := new_references.fourth_college;
1486     ELSIF new_references.fedral_schl_code_indicator = '5' THEN
1487       l_school_code := new_references.fifth_college;
1488     ELSIF new_references.fedral_schl_code_indicator = '6' THEN
1489       l_school_code := new_references.sixth_college;
1490     END IF;
1491 
1492     IF l_school_code IS NOT NULL THEN
1493       -- get the party_id of the school code. Multiple party_ids may exist for the same school_code.
1494       FOR l_get_object_id IN c_get_object_id(l_school_code) LOOP
1495         -- This party_id is to be used as the object_id
1496         l_object_id := l_get_object_id.party_id;
1497 
1498         IF l_object_id IS NOT NULL THEN
1499           -- check if the relationship already exists in hz_relationships
1500           OPEN c_rel_exists(l_subject_id, l_object_id);
1501           FETCH c_rel_exists into l_rel_exists;
1502           IF c_rel_exists%NOTFOUND THEN
1503             -- if relationship doesn't exist, create a new relationship with relationship code as 'ATTENDS_INSTITUTION'
1504             lv_last_update_date := SYSDATE;
1505 
1506             igs_pe_relationships_pkg.creatupdate_party_relationship ( p_action                  => 'INSERT',
1507                                                                       p_subject_id              => l_subject_id,
1508                                                                       p_object_id               => l_object_id,
1509                                                                       p_party_relationship_type => 'STUDENTINSTITUTION',
1510                                                                       p_relationship_code       => 'ATTENDS_INSTITUTION',
1511                                                                       p_comments                => '',
1512                                                                       p_start_date              => SYSDATE,
1513                                                                       p_end_date                => null,
1514                                                                       p_last_update_date        => lv_last_update_date,
1515                                                                       p_return_status           => lv_return_status,
1516                                                                       p_msg_count               => lv_msg_count,
1517                                                                       p_msg_data                => lv_msg_data,
1518                                                                       p_party_relationship_id   => lv_party_relationship_id,
1519                                                                       p_party_id                => lv_party_id,
1520                                                                       p_party_number            => lv_party_number,
1521                                                                       p_object_version_number   => lv_object_version_number,
1522                                                                       p_directional_flag        => 'F'
1523                                                                     );
1524 
1525           END IF;
1526           CLOSE c_rel_exists;
1527         END IF;
1528       END LOOP;
1529     END IF;
1530 
1531   END create_party_rel;
1532 
1533 
1534   PROCEDURE insert_row (
1535     x_rowid                             IN OUT NOCOPY VARCHAR2,
1536     x_isir_id                           IN OUT NOCOPY NUMBER,
1537     x_base_id                           IN     NUMBER,
1538     x_batch_year                        IN     NUMBER,
1539     x_transaction_num                   IN     VARCHAR2,
1540     x_current_ssn                       IN     VARCHAR2,
1541     x_ssn_name_change                   IN     VARCHAR2,
1542     x_original_ssn                      IN     VARCHAR2,
1543     x_orig_name_id                      IN     VARCHAR2,
1544     x_last_name                         IN     VARCHAR2,
1545     x_first_name                        IN     VARCHAR2,
1546     x_middle_initial                    IN     VARCHAR2,
1547     x_perm_mail_add                     IN     VARCHAR2,
1548     x_perm_city                         IN     VARCHAR2,
1549     x_perm_state                        IN     VARCHAR2,
1550     x_perm_zip_code                     IN     VARCHAR2,
1551     x_date_of_birth                     IN     DATE,
1552     x_phone_number                      IN     VARCHAR2,
1553     x_driver_license_number             IN     VARCHAR2,
1554     x_driver_license_state              IN     VARCHAR2,
1555     x_citizenship_status                IN     VARCHAR2,
1556     x_alien_reg_number                  IN     VARCHAR2,
1557     x_s_marital_status                  IN     VARCHAR2,
1558     x_s_marital_status_date             IN     DATE,
1559     x_summ_enrl_status                  IN     VARCHAR2,
1560     x_fall_enrl_status                  IN     VARCHAR2,
1561     x_winter_enrl_status                IN     VARCHAR2,
1562     x_spring_enrl_status                IN     VARCHAR2,
1563     x_summ2_enrl_status                 IN     VARCHAR2,
1564     x_fathers_highest_edu_level         IN     VARCHAR2,
1565     x_mothers_highest_edu_level         IN     VARCHAR2,
1566     x_s_state_legal_residence           IN     VARCHAR2,
1567     x_legal_residence_before_date       IN     VARCHAR2,
1568     x_s_legal_resd_date                 IN     DATE,
1569     x_ss_r_u_male                       IN     VARCHAR2,
1570     x_selective_service_reg             IN     VARCHAR2,
1571     x_degree_certification              IN     VARCHAR2,
1572     x_grade_level_in_college            IN     VARCHAR2,
1573     x_high_school_diploma_ged           IN     VARCHAR2,
1574     x_first_bachelor_deg_by_date        IN     VARCHAR2,
1575     x_interest_in_loan                  IN     VARCHAR2,
1576     x_interest_in_stud_employment       IN     VARCHAR2,
1577     x_drug_offence_conviction           IN     VARCHAR2,
1578     x_s_tax_return_status               IN     VARCHAR2,
1579     x_s_type_tax_return                 IN     VARCHAR2,
1580     x_s_elig_1040ez                     IN     VARCHAR2,
1581     x_s_adjusted_gross_income           IN     NUMBER,
1582     x_s_fed_taxes_paid                  IN     NUMBER,
1583     x_s_exemptions                      IN     NUMBER,
1584     x_s_income_from_work                IN     NUMBER,
1585     x_spouse_income_from_work           IN     NUMBER,
1586     x_s_toa_amt_from_wsa                IN     NUMBER,
1587     x_s_toa_amt_from_wsb                IN     NUMBER,
1588     x_s_toa_amt_from_wsc                IN     NUMBER,
1589     x_s_investment_networth             IN     NUMBER,
1590     x_s_busi_farm_networth              IN     NUMBER,
1591     x_s_cash_savings                    IN     NUMBER,
1592     x_va_months                         IN     NUMBER,
1593     x_va_amount                         IN     NUMBER,
1594     x_stud_dob_before_date              IN     VARCHAR2,
1595     x_deg_beyond_bachelor               IN     VARCHAR2,
1596     x_s_married                         IN     VARCHAR2,
1597     x_s_have_children                   IN     VARCHAR2,
1598     x_legal_dependents                  IN     VARCHAR2,
1599     x_orphan_ward_of_court              IN     VARCHAR2,
1600     x_s_veteran                         IN     VARCHAR2,
1601     x_p_marital_status                  IN     VARCHAR2,
1602     x_father_ssn                        IN     VARCHAR2,
1603     x_f_last_name                       IN     VARCHAR2,
1604     x_mother_ssn                        IN     VARCHAR2,
1605     x_m_last_name                       IN     VARCHAR2,
1606     x_p_num_family_member               IN     NUMBER,
1607     x_p_num_in_college                  IN     NUMBER,
1608     x_p_state_legal_residence           IN     VARCHAR2,
1609     x_p_state_legal_res_before_dt       IN     VARCHAR2,
1610     x_p_legal_res_date                  IN     DATE,
1611     x_age_older_parent                  IN     NUMBER,
1612     x_p_tax_return_status               IN     VARCHAR2,
1613     x_p_type_tax_return                 IN     VARCHAR2,
1614     x_p_elig_1040aez                    IN     VARCHAR2,
1615     x_p_adjusted_gross_income           IN     NUMBER,
1616     x_p_taxes_paid                      IN     NUMBER,
1617     x_p_exemptions                      IN     NUMBER,
1618     x_f_income_work                     IN     NUMBER,
1619     x_m_income_work                     IN     NUMBER,
1620     x_p_income_wsa                      IN     NUMBER,
1621     x_p_income_wsb                      IN     NUMBER,
1622     x_p_income_wsc                      IN     NUMBER,
1623     x_p_investment_networth             IN     NUMBER,
1624     x_p_business_networth               IN     NUMBER,
1625     x_p_cash_saving                     IN     NUMBER,
1626     x_s_num_family_members              IN     NUMBER,
1627     x_s_num_in_college                  IN     NUMBER,
1628     x_first_college                     IN     VARCHAR2,
1629     x_first_house_plan                  IN     VARCHAR2,
1630     x_second_college                    IN     VARCHAR2,
1631     x_second_house_plan                 IN     VARCHAR2,
1632     x_third_college                     IN     VARCHAR2,
1633     x_third_house_plan                  IN     VARCHAR2,
1634     x_fourth_college                    IN     VARCHAR2,
1635     x_fourth_house_plan                 IN     VARCHAR2,
1636     x_fifth_college                     IN     VARCHAR2,
1637     x_fifth_house_plan                  IN     VARCHAR2,
1638     x_sixth_college                     IN     VARCHAR2,
1639     x_sixth_house_plan                  IN     VARCHAR2,
1640     x_date_app_completed                IN     DATE,
1641     x_signed_by                         IN     VARCHAR2,
1642     x_preparer_ssn                      IN     VARCHAR2,
1643     x_preparer_emp_id_number            IN     VARCHAR2,
1644     x_preparer_sign                     IN     VARCHAR2,
1645     x_transaction_receipt_date          IN     DATE,
1646     x_dependency_override_ind           IN     VARCHAR2,
1647     x_faa_fedral_schl_code              IN     VARCHAR2,
1648     x_faa_adjustment                    IN     VARCHAR2,
1649     x_input_record_type                 IN     VARCHAR2,
1650     x_serial_number                     IN     NUMBER,
1651     x_batch_number                      IN     VARCHAR2,
1652     x_early_analysis_flag               IN     VARCHAR2,
1653     x_app_entry_source_code             IN     VARCHAR2,
1654     x_eti_destination_code              IN     VARCHAR2,
1655     x_reject_override_b                 IN     VARCHAR2,
1656     x_reject_override_n                 IN     VARCHAR2,
1657     x_reject_override_w                 IN     VARCHAR2,
1658     x_assum_override_1                  IN     VARCHAR2,
1659     x_assum_override_2                  IN     VARCHAR2,
1660     x_assum_override_3                  IN     VARCHAR2,
1661     x_assum_override_4                  IN     VARCHAR2,
1662     x_assum_override_5                  IN     VARCHAR2,
1663     x_assum_override_6                  IN     VARCHAR2,
1664     x_dependency_status                 IN     VARCHAR2,
1665     x_s_email_address                   IN     VARCHAR2,
1666     x_nslds_reason_code                 IN     VARCHAR2,
1667     x_app_receipt_date                  IN     DATE,
1668     x_processed_rec_type                IN     VARCHAR2,
1669     x_hist_correction_for_tran_id       IN     NUMBER,
1670     x_system_generated_indicator        IN     VARCHAR2,
1671     x_dup_request_indicator             IN     VARCHAR2,
1672     x_source_of_correction              IN     VARCHAR2,
1673     x_p_cal_tax_status                  IN     VARCHAR2,
1674     x_s_cal_tax_status                  IN     VARCHAR2,
1675     x_graduate_flag                     IN     VARCHAR2,
1676     x_auto_zero_efc                     IN     VARCHAR2,
1677     x_efc_change_flag                   IN     VARCHAR2,
1678     x_sarc_flag                         IN     VARCHAR2,
1679     x_simplified_need_test              IN     VARCHAR2,
1680     x_reject_reason_codes               IN     VARCHAR2,
1681     x_select_service_match_flag         IN     VARCHAR2,
1682     x_select_service_reg_flag           IN     VARCHAR2,
1683     x_ins_match_flag                    IN     VARCHAR2,
1684     x_ins_verification_number           IN     NUMBER,
1685     x_sec_ins_match_flag                IN     VARCHAR2,
1686     x_sec_ins_ver_number                IN     NUMBER,
1687     x_ssn_match_flag                    IN     VARCHAR2,
1688     x_ssa_citizenship_flag              IN     VARCHAR2,
1689     x_ssn_date_of_death                 IN     DATE,
1690     x_nslds_match_flag                  IN     VARCHAR2,
1691     x_va_match_flag                     IN     VARCHAR2,
1692     x_prisoner_match                    IN     VARCHAR2,
1693     x_verification_flag                 IN     VARCHAR2,
1694     x_subsequent_app_flag               IN     VARCHAR2,
1695     x_app_source_site_code              IN     VARCHAR2,
1696     x_tran_source_site_code             IN     VARCHAR2,
1697     x_drn                               IN     NUMBER,
1698     x_tran_process_date                 IN     DATE,
1699     x_computer_batch_number             IN     NUMBER,
1700     x_correction_flags                  IN     VARCHAR2,
1701     x_highlight_flags                   IN     VARCHAR2,
1702     x_paid_efc                          IN     NUMBER,
1703     x_primary_efc                       IN     NUMBER,
1704     x_secondary_efc                     IN     NUMBER,
1705     x_fed_pell_grant_efc_type           IN     VARCHAR2,
1706     x_primary_efc_type                  IN     VARCHAR2,
1707     x_sec_efc_type                      IN     VARCHAR2,
1708     x_primary_alternate_month_1         IN     NUMBER,
1709     x_primary_alternate_month_2         IN     NUMBER,
1710     x_primary_alternate_month_3         IN     NUMBER,
1711     x_primary_alternate_month_4         IN     NUMBER,
1712     x_primary_alternate_month_5         IN     NUMBER,
1713     x_primary_alternate_month_6         IN     NUMBER,
1714     x_primary_alternate_month_7         IN     NUMBER,
1715     x_primary_alternate_month_8         IN     NUMBER,
1716     x_primary_alternate_month_10        IN     NUMBER,
1717     x_primary_alternate_month_11        IN     NUMBER,
1718     x_primary_alternate_month_12        IN     NUMBER,
1719     x_sec_alternate_month_1             IN     NUMBER,
1720     x_sec_alternate_month_2             IN     NUMBER,
1721     x_sec_alternate_month_3             IN     NUMBER,
1722     x_sec_alternate_month_4             IN     NUMBER,
1723     x_sec_alternate_month_5             IN     NUMBER,
1724     x_sec_alternate_month_6             IN     NUMBER,
1725     x_sec_alternate_month_7             IN     NUMBER,
1726     x_sec_alternate_month_8             IN     NUMBER,
1727     x_sec_alternate_month_10            IN     NUMBER,
1728     x_sec_alternate_month_11            IN     NUMBER,
1729     x_sec_alternate_month_12            IN     NUMBER,
1730     x_total_income                      IN     NUMBER,
1731     x_allow_total_income                IN     NUMBER,
1732     x_state_tax_allow                   IN     NUMBER,
1733     x_employment_allow                  IN     NUMBER,
1734     x_income_protection_allow           IN     NUMBER,
1735     x_available_income                  IN     NUMBER,
1736     x_contribution_from_ai              IN     NUMBER,
1737     x_discretionary_networth            IN     NUMBER,
1738     x_efc_networth                      IN     NUMBER,
1739     x_asset_protect_allow               IN     NUMBER,
1740     x_parents_cont_from_assets          IN     NUMBER,
1741     x_adjusted_available_income         IN     NUMBER,
1742     x_total_student_contribution        IN     NUMBER,
1743     x_total_parent_contribution         IN     NUMBER,
1744     x_parents_contribution              IN     NUMBER,
1745     x_student_total_income              IN     NUMBER,
1746     x_sati                              IN     NUMBER,
1747     x_sic                               IN     NUMBER,
1748     x_sdnw                              IN     NUMBER,
1749     x_sca                               IN     NUMBER,
1750     x_fti                               IN     NUMBER,
1751     x_secti                             IN     NUMBER,
1752     x_secati                            IN     NUMBER,
1753     x_secstx                            IN     NUMBER,
1754     x_secea                             IN     NUMBER,
1755     x_secipa                            IN     NUMBER,
1756     x_secai                             IN     NUMBER,
1757     x_seccai                            IN     NUMBER,
1758     x_secdnw                            IN     NUMBER,
1759     x_secnw                             IN     NUMBER,
1760     x_secapa                            IN     NUMBER,
1761     x_secpca                            IN     NUMBER,
1762     x_secaai                            IN     NUMBER,
1763     x_sectsc                            IN     NUMBER,
1764     x_sectpc                            IN     NUMBER,
1765     x_secpc                             IN     NUMBER,
1766     x_secsti                            IN     NUMBER,
1767     x_secsic                            IN     NUMBER,
1768     x_secsati                           IN     NUMBER,
1769     x_secsdnw                           IN     NUMBER,
1770     x_secsca                            IN     NUMBER,
1771     x_secfti                            IN     NUMBER,
1772     x_a_citizenship                     IN     VARCHAR2,
1773     x_a_student_marital_status          IN     VARCHAR2,
1774     x_a_student_agi                     IN     NUMBER,
1775     x_a_s_us_tax_paid                   IN     NUMBER,
1776     x_a_s_income_work                   IN     NUMBER,
1777     x_a_spouse_income_work              IN     NUMBER,
1778     x_a_s_total_wsc                     IN     NUMBER,
1779     x_a_date_of_birth                   IN     VARCHAR2,
1780     x_a_student_married                 IN     VARCHAR2,
1781     x_a_have_children                   IN     VARCHAR2,
1782     x_a_s_have_dependents               IN     VARCHAR2,
1783     x_a_va_status                       IN     VARCHAR2,
1784     x_a_s_num_in_family                 IN     NUMBER,
1785     x_a_s_num_in_college                IN     NUMBER,
1786     x_a_p_marital_status                IN     VARCHAR2,
1787     x_a_father_ssn                      IN     VARCHAR2,
1788     x_a_mother_ssn                      IN     VARCHAR2,
1789     x_a_parents_num_family              IN     NUMBER,
1790     x_a_parents_num_college             IN     NUMBER,
1791     x_a_parents_agi                     IN     NUMBER,
1792     x_a_p_us_tax_paid                   IN     NUMBER,
1793     x_a_f_work_income                   IN     NUMBER,
1794     x_a_m_work_income                   IN     NUMBER,
1795     x_a_p_total_wsc                     IN     NUMBER,
1796     x_comment_codes                     IN     VARCHAR2,
1797     x_sar_ack_comm_code                 IN     VARCHAR2,
1798     x_pell_grant_elig_flag              IN     VARCHAR2,
1799     x_reprocess_reason_code             IN     VARCHAR2,
1800     x_duplicate_date                    IN     DATE,
1801     x_isir_transaction_type             IN     VARCHAR2,
1802     x_fedral_schl_code_indicator        IN     VARCHAR2,
1803     x_multi_school_code_flags           IN     VARCHAR2,
1804     x_dup_ssn_indicator                 IN     VARCHAR2,
1805     x_payment_isir                      IN     VARCHAR2,
1806     x_receipt_status                    IN     VARCHAR2,
1807     x_isir_receipt_completed            IN     VARCHAR2,
1808     x_mode                              IN     VARCHAR2,
1809     x_system_record_type                IN     VARCHAR2,
1810     x_verif_track_flag                  IN     VARCHAR2,
1811     x_active_isir                       IN     VARCHAR2,
1812     x_fafsa_data_verify_flags           IN     VARCHAR2,
1813     x_reject_override_a                 IN     VARCHAR2,
1814     x_reject_override_c                 IN     VARCHAR2,
1815     x_parent_marital_status_date        IN     DATE,
1816     x_legacy_record_flag                IN     VARCHAR2,
1817     x_father_first_name_initial         IN     VARCHAR2,
1818     x_father_step_father_birth_dt       IN     DATE    ,
1819     x_mother_first_name_initial         IN     VARCHAR2,
1820     x_mother_step_mother_birth_dt       IN     DATE    ,
1821     x_parents_email_address_txt         IN     VARCHAR2,
1822     x_address_change_type               IN     VARCHAR2,
1823     x_cps_pushed_isir_flag              IN     VARCHAR2,
1824     x_electronic_transaction_type       IN     VARCHAR2,
1825     x_sar_c_change_type                 IN     VARCHAR2,
1826     x_father_ssn_match_type             IN     VARCHAR2,
1827     x_mother_ssn_match_type             IN     VARCHAR2,
1828     x_reject_override_g_flag            IN     VARCHAR2,
1829     x_dhs_verification_num_txt          IN     VARCHAR2,
1830     x_data_file_name_txt                IN     VARCHAR2,
1831     x_message_class_txt                 IN     VARCHAR2,
1832     x_reject_override_3_flag            IN     VARCHAR2,
1833     x_reject_override_12_flag           IN     VARCHAR2,
1834     x_reject_override_j_flag            IN     VARCHAR2,
1835     x_reject_override_k_flag            IN     VARCHAR2,
1836     x_rejected_status_change_flag       IN     VARCHAR2,
1837     x_verification_selection_flag       IN     VARCHAR2
1838   ) AS
1839   /*
1840   ||  Created By : rasingh
1841   ||  Created On : 06-DEC-2000
1842   ||  Purpose : Handles the INSERT DML logic for the table.
1843   ||  Known limitations, enhancements or remarks :
1844   ||  Change History :
1845   ||  Who             When            What
1846   ||  (reverse chronological order - newest change first)
1847   */
1848     CURSOR c IS
1849       SELECT   rowid
1850       FROM     igf_ap_isir_matched_all
1851       WHERE    isir_id                           = x_isir_id;
1852 
1853     x_last_update_date           DATE;
1854     x_last_updated_by            NUMBER;
1855     x_last_update_login          NUMBER;
1856     x_request_id                 NUMBER;
1857     x_program_id                 NUMBER;
1858     x_program_application_id     NUMBER;
1859     x_program_update_date        DATE;
1860     l_org_id                     igf_ap_isir_matched_all.org_id%TYPE := igf_aw_gen.get_org_id;
1861 
1862   BEGIN
1863 
1864         SELECT igf_ap_isir_matched_s.nextval INTO x_isir_id
1865          FROM dual;
1866 
1867 
1868     x_last_update_date := SYSDATE;
1869     IF (x_mode = 'I') THEN
1870       x_last_updated_by := 1;
1871       x_last_update_login := 0;
1872     ELSIF (x_mode = 'R') THEN
1873       x_last_updated_by := fnd_global.user_id;
1874       IF (x_last_updated_by IS NULL) THEN
1875         x_last_updated_by := -1;
1876       END IF;
1877       x_last_update_login := fnd_global.login_id;
1878       IF (x_last_update_login IS NULL) THEN
1879         x_last_update_login := -1;
1880       END IF;
1881       x_request_id             := fnd_global.conc_request_id;
1882       x_program_id             := fnd_global.conc_program_id;
1883       x_program_application_id := fnd_global.prog_appl_id;
1884 
1885       IF (x_request_id = -1) THEN
1886         x_request_id             := NULL;
1887         x_program_id             := NULL;
1888         x_program_application_id := NULL;
1889         x_program_update_date    := NULL;
1890       ELSE
1891         x_program_update_date    := SYSDATE;
1892       END IF;
1893     ELSE
1894       fnd_message.set_name ('FND', 'SYSTEM-INVALID ARGS');
1895       igs_ge_msg_stack.add;
1896       app_exception.raise_exception;
1897     END IF;
1898 
1899     before_dml(
1900       p_action                            => 'INSERT',
1901       x_rowid                             => x_rowid,
1902       x_isir_id                           => x_isir_id,
1903       x_base_id                           => x_base_id,
1904       x_batch_year                        => x_batch_year,
1905       x_transaction_num                   => x_transaction_num,
1906       x_current_ssn                       => x_current_ssn,
1907       x_ssn_name_change                   => x_ssn_name_change,
1908       x_original_ssn                      => x_original_ssn,
1909       x_orig_name_id                      => x_orig_name_id,
1910       x_last_name                         => x_last_name,
1911       x_first_name                        => x_first_name,
1912       x_middle_initial                    => x_middle_initial,
1913       x_perm_mail_add                     => x_perm_mail_add,
1914       x_perm_city                         => x_perm_city,
1915       x_perm_state                        => x_perm_state,
1916       x_perm_zip_code                     => x_perm_zip_code,
1917       x_date_of_birth                     => x_date_of_birth,
1918       x_phone_number                      => x_phone_number,
1919       x_driver_license_number             => x_driver_license_number,
1920       x_driver_license_state              => x_driver_license_state,
1921       x_citizenship_status                => x_citizenship_status,
1922       x_alien_reg_number                  => x_alien_reg_number,
1923       x_s_marital_status                  => x_s_marital_status,
1924       x_s_marital_status_date             => x_s_marital_status_date,
1925       x_summ_enrl_status                  => x_summ_enrl_status,
1926       x_fall_enrl_status                  => x_fall_enrl_status,
1927       x_winter_enrl_status                => x_winter_enrl_status,
1928       x_spring_enrl_status                => x_spring_enrl_status,
1929       x_summ2_enrl_status                 => x_summ2_enrl_status,
1930       x_fathers_highest_edu_level         => x_fathers_highest_edu_level,
1931       x_mothers_highest_edu_level         => x_mothers_highest_edu_level,
1932       x_s_state_legal_residence           => x_s_state_legal_residence,
1933       x_legal_residence_before_date       => x_legal_residence_before_date,
1934       x_s_legal_resd_date                 => x_s_legal_resd_date,
1935       x_ss_r_u_male                       => x_ss_r_u_male,
1936       x_selective_service_reg             => x_selective_service_reg,
1937       x_degree_certification              => x_degree_certification,
1938       x_grade_level_in_college            => x_grade_level_in_college,
1939       x_high_school_diploma_ged           => x_high_school_diploma_ged,
1940       x_first_bachelor_deg_by_date        => x_first_bachelor_deg_by_date,
1941       x_interest_in_loan                  => x_interest_in_loan,
1942       x_interest_in_stud_employment       => x_interest_in_stud_employment,
1943       x_drug_offence_conviction           => x_drug_offence_conviction,
1944       x_s_tax_return_status               => x_s_tax_return_status,
1945       x_s_type_tax_return                 => x_s_type_tax_return,
1946       x_s_elig_1040ez                     => x_s_elig_1040ez,
1947       x_s_adjusted_gross_income           => x_s_adjusted_gross_income,
1948       x_s_fed_taxes_paid                  => x_s_fed_taxes_paid,
1949       x_s_exemptions                      => x_s_exemptions,
1950       x_s_income_from_work                => x_s_income_from_work,
1951       x_spouse_income_from_work           => x_spouse_income_from_work,
1952       x_s_toa_amt_from_wsa                => x_s_toa_amt_from_wsa,
1953       x_s_toa_amt_from_wsb                => x_s_toa_amt_from_wsb,
1954       x_s_toa_amt_from_wsc                => x_s_toa_amt_from_wsc,
1955       x_s_investment_networth             => x_s_investment_networth,
1956       x_s_busi_farm_networth              => x_s_busi_farm_networth,
1957       x_s_cash_savings                    => x_s_cash_savings,
1958       x_va_months                         => x_va_months,
1959       x_va_amount                         => x_va_amount,
1960       x_stud_dob_before_date              => x_stud_dob_before_date,
1961       x_deg_beyond_bachelor               => x_deg_beyond_bachelor,
1962       x_s_married                         => x_s_married,
1963       x_s_have_children                   => x_s_have_children,
1964       x_legal_dependents                  => x_legal_dependents,
1965       x_orphan_ward_of_court              => x_orphan_ward_of_court,
1966       x_s_veteran                         => x_s_veteran,
1967       x_p_marital_status                  => x_p_marital_status,
1968       x_father_ssn                        => x_father_ssn,
1969       x_f_last_name                       => x_f_last_name,
1970       x_mother_ssn                        => x_mother_ssn,
1971       x_m_last_name                       => x_m_last_name,
1972       x_p_num_family_member               => x_p_num_family_member,
1973       x_p_num_in_college                  => x_p_num_in_college,
1974       x_p_state_legal_residence           => x_p_state_legal_residence,
1975       x_p_state_legal_res_before_dt       => x_p_state_legal_res_before_dt,
1976       x_p_legal_res_date                  => x_p_legal_res_date,
1977       x_age_older_parent                  => x_age_older_parent,
1978       x_p_tax_return_status               => x_p_tax_return_status,
1979       x_p_type_tax_return                 => x_p_type_tax_return,
1980       x_p_elig_1040aez                    => x_p_elig_1040aez,
1981       x_p_adjusted_gross_income           => x_p_adjusted_gross_income,
1982       x_p_taxes_paid                      => x_p_taxes_paid,
1983       x_p_exemptions                      => x_p_exemptions,
1984       x_f_income_work                     => x_f_income_work,
1985       x_m_income_work                     => x_m_income_work,
1986       x_p_income_wsa                      => x_p_income_wsa,
1987       x_p_income_wsb                      => x_p_income_wsb,
1988       x_p_income_wsc                      => x_p_income_wsc,
1989       x_p_investment_networth             => x_p_investment_networth,
1990       x_p_business_networth               => x_p_business_networth,
1991       x_p_cash_saving                     => x_p_cash_saving,
1992       x_s_num_family_members              => x_s_num_family_members,
1993       x_s_num_in_college                  => x_s_num_in_college,
1994       x_first_college                     => x_first_college,
1995       x_first_house_plan                  => x_first_house_plan,
1996       x_second_college                    => x_second_college,
1997       x_second_house_plan                 => x_second_house_plan,
1998       x_third_college                     => x_third_college,
1999       x_third_house_plan                  => x_third_house_plan,
2000       x_fourth_college                    => x_fourth_college,
2001       x_fourth_house_plan                 => x_fourth_house_plan,
2002       x_fifth_college                     => x_fifth_college,
2003       x_fifth_house_plan                  => x_fifth_house_plan,
2004       x_sixth_college                     => x_sixth_college,
2005       x_sixth_house_plan                  => x_sixth_house_plan,
2006       x_date_app_completed                => x_date_app_completed,
2007       x_signed_by                         => x_signed_by,
2008       x_preparer_ssn                      => x_preparer_ssn,
2009       x_preparer_emp_id_number            => x_preparer_emp_id_number,
2010       x_preparer_sign                     => x_preparer_sign,
2011       x_transaction_receipt_date          => x_transaction_receipt_date,
2012       x_dependency_override_ind           => x_dependency_override_ind,
2013       x_faa_fedral_schl_code              => x_faa_fedral_schl_code,
2014       x_faa_adjustment                    => x_faa_adjustment,
2015       x_input_record_type                 => x_input_record_type,
2016       x_serial_number                     => x_serial_number,
2017       x_batch_number                      => x_batch_number,
2018       x_early_analysis_flag               => x_early_analysis_flag,
2019       x_app_entry_source_code             => x_app_entry_source_code,
2020       x_eti_destination_code              => x_eti_destination_code,
2021       x_reject_override_b                 => x_reject_override_b,
2022       x_reject_override_n                 => x_reject_override_n,
2023       x_reject_override_w                 => x_reject_override_w,
2024       x_assum_override_1                  => x_assum_override_1,
2025       x_assum_override_2                  => x_assum_override_2,
2026       x_assum_override_3                  => x_assum_override_3,
2027       x_assum_override_4                  => x_assum_override_4,
2028       x_assum_override_5                  => x_assum_override_5,
2029       x_assum_override_6                  => x_assum_override_6,
2030       x_dependency_status                 => x_dependency_status,
2031       x_s_email_address                   => x_s_email_address,
2032       x_nslds_reason_code                 => x_nslds_reason_code,
2033       x_app_receipt_date                  => x_app_receipt_date,
2034       x_processed_rec_type                => x_processed_rec_type,
2035       x_hist_correction_for_tran_id       => x_hist_correction_for_tran_id,
2036       x_system_generated_indicator        => x_system_generated_indicator,
2037       x_dup_request_indicator             => x_dup_request_indicator,
2038       x_source_of_correction              => x_source_of_correction,
2039       x_p_cal_tax_status                  => x_p_cal_tax_status,
2040       x_s_cal_tax_status                  => x_s_cal_tax_status,
2041       x_graduate_flag                     => x_graduate_flag,
2042       x_auto_zero_efc                     => x_auto_zero_efc,
2043       x_efc_change_flag                   => x_efc_change_flag,
2044       x_sarc_flag                         => x_sarc_flag,
2045       x_simplified_need_test              => x_simplified_need_test,
2046       x_reject_reason_codes               => x_reject_reason_codes,
2047       x_select_service_match_flag         => x_select_service_match_flag,
2048       x_select_service_reg_flag           => x_select_service_reg_flag,
2049       x_ins_match_flag                    => x_ins_match_flag,
2050       x_ins_verification_number           => x_ins_verification_number,
2051       x_sec_ins_match_flag                => x_sec_ins_match_flag,
2052       x_sec_ins_ver_number                => x_sec_ins_ver_number,
2053       x_ssn_match_flag                    => x_ssn_match_flag,
2054       x_ssa_citizenship_flag              => x_ssa_citizenship_flag,
2055       x_ssn_date_of_death                 => x_ssn_date_of_death,
2056       x_nslds_match_flag                  => x_nslds_match_flag,
2057       x_va_match_flag                     => x_va_match_flag,
2058       x_prisoner_match                    => x_prisoner_match,
2059       x_verification_flag                 => x_verification_flag,
2060       x_subsequent_app_flag               => x_subsequent_app_flag,
2061       x_app_source_site_code              => x_app_source_site_code,
2062       x_tran_source_site_code             => x_tran_source_site_code,
2063       x_drn                               => x_drn,
2064       x_tran_process_date                 => x_tran_process_date,
2065       x_computer_batch_number             => x_computer_batch_number,
2066       x_correction_flags                  => x_correction_flags,
2067       x_highlight_flags                   => x_highlight_flags,
2068       x_paid_efc                          => x_paid_efc,
2069       x_primary_efc                       => x_primary_efc,
2070       x_secondary_efc                     => x_secondary_efc,
2071       x_fed_pell_grant_efc_type           => x_fed_pell_grant_efc_type,
2072       x_primary_efc_type                  => x_primary_efc_type,
2073       x_sec_efc_type                      => x_sec_efc_type,
2074       x_primary_alternate_month_1         => x_primary_alternate_month_1,
2075       x_primary_alternate_month_2         => x_primary_alternate_month_2,
2076       x_primary_alternate_month_3         => x_primary_alternate_month_3,
2077       x_primary_alternate_month_4         => x_primary_alternate_month_4,
2078       x_primary_alternate_month_5         => x_primary_alternate_month_5,
2079       x_primary_alternate_month_6         => x_primary_alternate_month_6,
2080       x_primary_alternate_month_7         => x_primary_alternate_month_7,
2081       x_primary_alternate_month_8         => x_primary_alternate_month_8,
2082       x_primary_alternate_month_10        => x_primary_alternate_month_10,
2083       x_primary_alternate_month_11        => x_primary_alternate_month_11,
2084       x_primary_alternate_month_12        => x_primary_alternate_month_12,
2085       x_sec_alternate_month_1             => x_sec_alternate_month_1,
2086       x_sec_alternate_month_2             => x_sec_alternate_month_2,
2087       x_sec_alternate_month_3             => x_sec_alternate_month_3,
2088       x_sec_alternate_month_4             => x_sec_alternate_month_4,
2089       x_sec_alternate_month_5             => x_sec_alternate_month_5,
2090       x_sec_alternate_month_6             => x_sec_alternate_month_6,
2091       x_sec_alternate_month_7             => x_sec_alternate_month_7,
2092       x_sec_alternate_month_8             => x_sec_alternate_month_8,
2093       x_sec_alternate_month_10            => x_sec_alternate_month_10,
2094       x_sec_alternate_month_11            => x_sec_alternate_month_11,
2095       x_sec_alternate_month_12            => x_sec_alternate_month_12,
2096       x_total_income                      => x_total_income,
2097       x_allow_total_income                => x_allow_total_income,
2098       x_state_tax_allow                   => x_state_tax_allow,
2099       x_employment_allow                  => x_employment_allow,
2100       x_income_protection_allow           => x_income_protection_allow,
2101       x_available_income                  => x_available_income,
2102       x_contribution_from_ai              => x_contribution_from_ai,
2103       x_discretionary_networth            => x_discretionary_networth,
2104       x_efc_networth                      => x_efc_networth,
2105       x_asset_protect_allow               => x_asset_protect_allow,
2106       x_parents_cont_from_assets          => x_parents_cont_from_assets,
2107       x_adjusted_available_income         => x_adjusted_available_income,
2108       x_total_student_contribution        => x_total_student_contribution,
2109       x_total_parent_contribution         => x_total_parent_contribution,
2110       x_parents_contribution              => x_parents_contribution,
2111       x_student_total_income              => x_student_total_income,
2112       x_sati                              => x_sati,
2113       x_sic                               => x_sic,
2114       x_sdnw                              => x_sdnw,
2115       x_sca                               => x_sca,
2116       x_fti                               => x_fti,
2117       x_secti                             => x_secti,
2118       x_secati                            => x_secati,
2119       x_secstx                            => x_secstx,
2120       x_secea                             => x_secea,
2121       x_secipa                            => x_secipa,
2122       x_secai                             => x_secai,
2123       x_seccai                            => x_seccai,
2124       x_secdnw                            => x_secdnw,
2125       x_secnw                             => x_secnw,
2126       x_secapa                            => x_secapa,
2127       x_secpca                            => x_secpca,
2128       x_secaai                            => x_secaai,
2129       x_sectsc                            => x_sectsc,
2130       x_sectpc                            => x_sectpc,
2131       x_secpc                             => x_secpc,
2132       x_secsti                            => x_secsti,
2133       x_secsic                            => x_secsic,
2134       x_secsati                           => x_secsati,
2135       x_secsdnw                           => x_secsdnw,
2136       x_secsca                            => x_secsca,
2137       x_secfti                            => x_secfti,
2138       x_a_citizenship                     => x_a_citizenship,
2139       x_a_student_marital_status          => x_a_student_marital_status,
2140       x_a_student_agi                     => x_a_student_agi,
2141       x_a_s_us_tax_paid                   => x_a_s_us_tax_paid,
2142       x_a_s_income_work                   => x_a_s_income_work,
2143       x_a_spouse_income_work              => x_a_spouse_income_work,
2144       x_a_s_total_wsc                     => x_a_s_total_wsc,
2145       x_a_date_of_birth                   => x_a_date_of_birth,
2146       x_a_student_married                 => x_a_student_married,
2147       x_a_have_children                   => x_a_have_children,
2148       x_a_s_have_dependents               => x_a_s_have_dependents,
2149       x_a_va_status                       => x_a_va_status,
2150       x_a_s_num_in_family                 => x_a_s_num_in_family,
2151       x_a_s_num_in_college                => x_a_s_num_in_college,
2152       x_a_p_marital_status                => x_a_p_marital_status,
2153       x_a_father_ssn                      => x_a_father_ssn,
2154       x_a_mother_ssn                      => x_a_mother_ssn,
2155       x_a_parents_num_family              => x_a_parents_num_family,
2156       x_a_parents_num_college             => x_a_parents_num_college,
2157       x_a_parents_agi                     => x_a_parents_agi,
2158       x_a_p_us_tax_paid                   => x_a_p_us_tax_paid,
2159       x_a_f_work_income                   => x_a_f_work_income,
2160       x_a_m_work_income                   => x_a_m_work_income,
2161       x_a_p_total_wsc                     => x_a_p_total_wsc,
2162       x_comment_codes                     => x_comment_codes,
2163       x_sar_ack_comm_code                 => x_sar_ack_comm_code,
2164       x_pell_grant_elig_flag              => x_pell_grant_elig_flag,
2165       x_reprocess_reason_code             => x_reprocess_reason_code,
2166       x_duplicate_date                    => x_duplicate_date,
2167       x_isir_transaction_type             => x_isir_transaction_type,
2168       x_fedral_schl_code_indicator        => x_fedral_schl_code_indicator,
2169       x_multi_school_code_flags           => x_multi_school_code_flags,
2170       x_dup_ssn_indicator                 => x_dup_ssn_indicator,
2171       x_payment_isir                      => x_payment_isir,
2172       x_receipt_status                    => x_receipt_status,
2173       x_isir_receipt_completed            => x_isir_receipt_completed,
2174       x_creation_date                     => x_last_update_date,
2175       x_created_by                        => x_last_updated_by,
2176       x_last_update_date                  => x_last_update_date,
2177       x_last_updated_by                   => x_last_updated_by,
2178       x_last_update_login                 => x_last_update_login,
2179       x_system_record_type                => x_system_record_type,
2180       x_verif_track_flag                  => x_verif_track_flag,
2181       x_active_isir                       => x_active_isir,
2182       x_fafsa_data_verify_flags           => x_fafsa_data_verify_flags,
2183       x_reject_override_a                 => x_reject_override_a,
2184       x_reject_override_c                 => x_reject_override_c,
2185       x_parent_marital_status_date        => x_parent_marital_status_date ,
2186       x_legacy_record_flag                =>x_legacy_record_flag,
2187       x_father_first_name_initial         => x_father_first_name_initial,
2188       x_father_step_father_birth_dt       => x_father_step_father_birth_dt,
2189       x_mother_first_name_initial         => x_mother_first_name_initial,
2190       x_mother_step_mother_birth_dt       => x_mother_step_mother_birth_dt,
2191       x_parents_email_address_txt         => x_parents_email_address_txt,
2192       x_address_change_type               => x_address_change_type,
2193       x_cps_pushed_isir_flag              => x_cps_pushed_isir_flag,
2194       x_electronic_transaction_type       =>x_electronic_transaction_type,
2195       x_sar_c_change_type                 => x_sar_c_change_type,
2196       x_father_ssn_match_type             => x_father_ssn_match_type,
2197       x_mother_ssn_match_type             => x_mother_ssn_match_type,
2198       x_reject_override_g_flag            => x_reject_override_g_flag,
2199       x_dhs_verification_num_txt          => x_dhs_verification_num_txt,
2200       x_data_file_name_txt                => x_data_file_name_txt ,
2201       x_message_class_txt                 => x_message_class_txt,
2202       x_reject_override_3_flag            => x_reject_override_3_flag,
2203       x_reject_override_12_flag           => x_reject_override_12_flag,
2204       x_reject_override_j_flag            => x_reject_override_j_flag,
2205       x_reject_override_k_flag            => x_reject_override_k_flag,
2206       x_rejected_status_change_flag       => x_rejected_status_change_flag,
2207       x_verification_selection_flag       => x_verification_selection_flag
2208 
2209     );
2210 
2211     INSERT INTO igf_ap_isir_matched_all (
2212       isir_id,
2213       base_id,
2214       batch_year,
2215       transaction_num,
2216       current_ssn,
2217       ssn_name_change,
2218       original_ssn,
2219       orig_name_id,
2220       last_name,
2221       first_name,
2222       middle_initial,
2223       perm_mail_add,
2224       perm_city,
2225       perm_state,
2226       perm_zip_code,
2227       date_of_birth,
2228       phone_number,
2229       driver_license_number,
2230       driver_license_state,
2231       citizenship_status,
2232       alien_reg_number,
2233       s_marital_status,
2234       s_marital_status_date,
2235       summ_enrl_status,
2236       fall_enrl_status,
2237       winter_enrl_status,
2238       spring_enrl_status,
2239       summ2_enrl_status,
2240       fathers_highest_edu_level,
2241       mothers_highest_edu_level,
2242       s_state_legal_residence,
2243       legal_residence_before_date,
2244       s_legal_resd_date,
2245       ss_r_u_male,
2246       selective_service_reg,
2247       degree_certification,
2248       grade_level_in_college,
2249       high_school_diploma_ged,
2250       first_bachelor_deg_by_date,
2251       interest_in_loan,
2252       interest_in_stud_employment,
2253       drug_offence_conviction,
2254       s_tax_return_status,
2255       s_type_tax_return,
2256       s_elig_1040ez,
2257       s_adjusted_gross_income,
2258       s_fed_taxes_paid,
2259       s_exemptions,
2260       s_income_from_work,
2261       spouse_income_from_work,
2262       s_toa_amt_from_wsa,
2263       s_toa_amt_from_wsb,
2264       s_toa_amt_from_wsc,
2265       s_investment_networth,
2266       s_busi_farm_networth,
2267       s_cash_savings,
2268       va_months,
2269       va_amount,
2270       stud_dob_before_date,
2271       deg_beyond_bachelor,
2272       s_married,
2273       s_have_children,
2274       legal_dependents,
2275       orphan_ward_of_court,
2276       s_veteran,
2277       p_marital_status,
2278       father_ssn,
2279       f_last_name,
2280       mother_ssn,
2281       m_last_name,
2282       p_num_family_member,
2283       p_num_in_college,
2284       p_state_legal_residence,
2285       p_state_legal_res_before_dt,
2286       p_legal_res_date,
2287       age_older_parent,
2288       p_tax_return_status,
2289       p_type_tax_return,
2290       p_elig_1040aez,
2291       p_adjusted_gross_income,
2292       p_taxes_paid,
2293       p_exemptions,
2294       f_income_work,
2295       m_income_work,
2296       p_income_wsa,
2297       p_income_wsb,
2298       p_income_wsc,
2299       p_investment_networth,
2300       p_business_networth,
2301       p_cash_saving,
2302       s_num_family_members,
2303       s_num_in_college,
2304       first_college,
2305       first_house_plan,
2306       second_college,
2307       second_house_plan,
2308       third_college,
2309       third_house_plan,
2310       fourth_college,
2311       fourth_house_plan,
2312       fifth_college,
2313       fifth_house_plan,
2314       sixth_college,
2315       sixth_house_plan,
2316       date_app_completed,
2317       signed_by,
2318       preparer_ssn,
2319       preparer_emp_id_number,
2320       preparer_sign,
2321       transaction_receipt_date,
2322       dependency_override_ind,
2323       faa_fedral_schl_code,
2324       faa_adjustment,
2325       input_record_type,
2326       serial_number,
2327       batch_number,
2328       early_analysis_flag,
2329       app_entry_source_code,
2330       eti_destination_code,
2331       reject_override_b,
2332       reject_override_n,
2333       reject_override_w,
2334       assum_override_1,
2335       assum_override_2,
2336       assum_override_3,
2337       assum_override_4,
2338       assum_override_5,
2339       assum_override_6,
2340       dependency_status,
2341       s_email_address,
2342       nslds_reason_code,
2343       app_receipt_date,
2344       processed_rec_type,
2345       hist_correction_for_tran_id,
2346       system_generated_indicator,
2347       dup_request_indicator,
2348       source_of_correction,
2349       p_cal_tax_status,
2350       s_cal_tax_status,
2351       graduate_flag,
2352       auto_zero_efc,
2353       efc_change_flag,
2354       sarc_flag,
2355       simplified_need_test,
2356       reject_reason_codes,
2357       select_service_match_flag,
2358       select_service_reg_flag,
2359       ins_match_flag,
2360       ins_verification_number,
2361       sec_ins_match_flag,
2362       sec_ins_ver_number,
2363       ssn_match_flag,
2364       ssa_citizenship_flag,
2365       ssn_date_of_death,
2366       nslds_match_flag,
2367       va_match_flag,
2368       prisoner_match,
2369       verification_flag,
2370       subsequent_app_flag,
2371       app_source_site_code,
2372       tran_source_site_code,
2373       drn,
2374       tran_process_date,
2375       computer_batch_number,
2376       correction_flags,
2377       highlight_flags,
2378       paid_efc,
2379       primary_efc,
2380       secondary_efc,
2381       fed_pell_grant_efc_type,
2382       primary_efc_type,
2383       sec_efc_type,
2384       primary_alternate_month_1,
2385       primary_alternate_month_2,
2386       primary_alternate_month_3,
2387       primary_alternate_month_4,
2388       primary_alternate_month_5,
2389       primary_alternate_month_6,
2390       primary_alternate_month_7,
2391       primary_alternate_month_8,
2392       primary_alternate_month_10,
2393       primary_alternate_month_11,
2394       primary_alternate_month_12,
2395       sec_alternate_month_1,
2396       sec_alternate_month_2,
2397       sec_alternate_month_3,
2398       sec_alternate_month_4,
2399       sec_alternate_month_5,
2400       sec_alternate_month_6,
2401       sec_alternate_month_7,
2402       sec_alternate_month_8,
2403       sec_alternate_month_10,
2404       sec_alternate_month_11,
2405       sec_alternate_month_12,
2406       total_income,
2407       allow_total_income,
2408       state_tax_allow,
2409       employment_allow,
2410       income_protection_allow,
2411       available_income,
2412       contribution_from_ai,
2413       discretionary_networth,
2414       efc_networth,
2415       asset_protect_allow,
2416       parents_cont_from_assets,
2417       adjusted_available_income,
2418       total_student_contribution,
2419       total_parent_contribution,
2420       parents_contribution,
2421       student_total_income,
2422       sati,
2423       sic,
2424       sdnw,
2425       sca,
2426       fti,
2427       secti,
2428       secati,
2429       secstx,
2430       secea,
2431       secipa,
2432       secai,
2433       seccai,
2434       secdnw,
2435       secnw,
2436       secapa,
2437       secpca,
2438       secaai,
2439       sectsc,
2440       sectpc,
2441       secpc,
2442       secsti,
2443       secsic,
2444       secsati,
2445       secsdnw,
2446       secsca,
2447       secfti,
2448       a_citizenship,
2449       a_student_marital_status,
2450       a_student_agi,
2451       a_s_us_tax_paid,
2452       a_s_income_work,
2453       a_spouse_income_work,
2454       a_s_total_wsc,
2455       a_date_of_birth,
2456       a_student_married,
2457       a_have_children,
2458       a_s_have_dependents,
2459       a_va_status,
2460       a_s_num_in_family,
2461       a_s_num_in_college,
2462       a_p_marital_status,
2463       a_father_ssn,
2464       a_mother_ssn,
2465       a_parents_num_family,
2466       a_parents_num_college,
2467       a_parents_agi,
2468       a_p_us_tax_paid,
2469       a_f_work_income,
2470       a_m_work_income,
2471       a_p_total_wsc,
2472       comment_codes,
2473       sar_ack_comm_code,
2474       pell_grant_elig_flag,
2475       reprocess_reason_code,
2476       duplicate_date,
2477       isir_transaction_type,
2478       fedral_schl_code_indicator,
2479       multi_school_code_flags,
2480       dup_ssn_indicator,
2481       payment_isir,
2482       receipt_status,
2483       isir_receipt_completed,
2484       creation_date,
2485       created_by,
2486       last_update_date,
2487       last_updated_by,
2488       last_update_login,
2489       request_id,
2490       program_id,
2491       program_application_id,
2492       program_update_date,
2493       org_id,
2494       system_record_type,
2495       verif_track_flag,
2496       active_isir,
2497       fafsa_data_verify_flags,
2498       reject_override_a,
2499       reject_override_c,
2500       parent_marital_status_date,
2501       legacy_record_flag,
2502       father_first_name_initial_txt,
2503       father_step_father_birth_date,
2504       mother_first_name_initial_txt,
2505       mother_step_mother_birth_date,
2506       parents_email_address_txt,
2507       address_change_type,
2508       cps_pushed_isir_flag,
2509       electronic_transaction_type,
2510       sar_c_change_type,
2511       father_ssn_match_type ,
2512       mother_ssn_match_type ,
2513       reject_override_g_flag,
2514       dhs_verification_num_txt,
2515       data_file_name_txt,
2516       message_class_txt,
2517       reject_override_3_flag,
2518       reject_override_12_flag,
2519       reject_override_j_flag,
2520       reject_override_k_flag ,
2521       rejected_status_change_flag,
2522       verification_selection_flag
2523     ) VALUES (
2524       new_references.isir_id,
2525       new_references.base_id,
2526       new_references.batch_year,
2527       new_references.transaction_num,
2528       new_references.current_ssn,
2529       new_references.ssn_name_change,
2530       new_references.original_ssn,
2531       new_references.orig_name_id,
2532       new_references.last_name,
2533       new_references.first_name,
2534       new_references.middle_initial,
2535       new_references.perm_mail_add,
2536       new_references.perm_city,
2537       new_references.perm_state,
2538       new_references.perm_zip_code,
2539       new_references.date_of_birth,
2540       new_references.phone_number,
2541       new_references.driver_license_number,
2542       new_references.driver_license_state,
2543       new_references.citizenship_status,
2544       new_references.alien_reg_number,
2545       new_references.s_marital_status,
2546       new_references.s_marital_status_date,
2547       new_references.summ_enrl_status,
2548       new_references.fall_enrl_status,
2549       new_references.winter_enrl_status,
2550       new_references.spring_enrl_status,
2551       new_references.summ2_enrl_status,
2552       new_references.fathers_highest_edu_level,
2553       new_references.mothers_highest_edu_level,
2554       new_references.s_state_legal_residence,
2555       new_references.legal_residence_before_date,
2556       new_references.s_legal_resd_date,
2557       new_references.ss_r_u_male,
2558       new_references.selective_service_reg,
2559       new_references.degree_certification,
2560       new_references.grade_level_in_college,
2561       new_references.high_school_diploma_ged,
2562       new_references.first_bachelor_deg_by_date,
2563       new_references.interest_in_loan,
2564       new_references.interest_in_stud_employment,
2565       new_references.drug_offence_conviction,
2566       new_references.s_tax_return_status,
2567       new_references.s_type_tax_return,
2568       new_references.s_elig_1040ez,
2569       new_references.s_adjusted_gross_income,
2570       new_references.s_fed_taxes_paid,
2571       new_references.s_exemptions,
2572       new_references.s_income_from_work,
2573       new_references.spouse_income_from_work,
2574       new_references.s_toa_amt_from_wsa,
2575       new_references.s_toa_amt_from_wsb,
2576       new_references.s_toa_amt_from_wsc,
2577       new_references.s_investment_networth,
2578       new_references.s_busi_farm_networth,
2579       new_references.s_cash_savings,
2580       new_references.va_months,
2581       new_references.va_amount,
2582       new_references.stud_dob_before_date,
2583       new_references.deg_beyond_bachelor,
2584       new_references.s_married,
2585       new_references.s_have_children,
2586       new_references.legal_dependents,
2587       new_references.orphan_ward_of_court,
2588       new_references.s_veteran,
2589       new_references.p_marital_status,
2590       new_references.father_ssn,
2591       new_references.f_last_name,
2592       new_references.mother_ssn,
2593       new_references.m_last_name,
2594       new_references.p_num_family_member,
2595       new_references.p_num_in_college,
2596       new_references.p_state_legal_residence,
2597       new_references.p_state_legal_res_before_dt,
2598       new_references.p_legal_res_date,
2599       new_references.age_older_parent,
2600       new_references.p_tax_return_status,
2601       new_references.p_type_tax_return,
2602       new_references.p_elig_1040aez,
2603       new_references.p_adjusted_gross_income,
2604       new_references.p_taxes_paid,
2605       new_references.p_exemptions,
2606       new_references.f_income_work,
2607       new_references.m_income_work,
2608       new_references.p_income_wsa,
2609       new_references.p_income_wsb,
2610       new_references.p_income_wsc,
2611       new_references.p_investment_networth,
2612       new_references.p_business_networth,
2613       new_references.p_cash_saving,
2614       new_references.s_num_family_members,
2615       new_references.s_num_in_college,
2616       new_references.first_college,
2617       new_references.first_house_plan,
2618       new_references.second_college,
2619       new_references.second_house_plan,
2620       new_references.third_college,
2621       new_references.third_house_plan,
2622       new_references.fourth_college,
2623       new_references.fourth_house_plan,
2624       new_references.fifth_college,
2625       new_references.fifth_house_plan,
2626       new_references.sixth_college,
2627       new_references.sixth_house_plan,
2628       new_references.date_app_completed,
2629       new_references.signed_by,
2630       new_references.preparer_ssn,
2631       new_references.preparer_emp_id_number,
2632       new_references.preparer_sign,
2633       new_references.transaction_receipt_date,
2634       new_references.dependency_override_ind,
2635       new_references.faa_fedral_schl_code,
2636       new_references.faa_adjustment,
2637       new_references.input_record_type,
2638       new_references.serial_number,
2639       new_references.batch_number,
2640       new_references.early_analysis_flag,
2641       new_references.app_entry_source_code,
2642       new_references.eti_destination_code,
2643       new_references.reject_override_b,
2644       new_references.reject_override_n,
2645       new_references.reject_override_w,
2646       new_references.assum_override_1,
2647       new_references.assum_override_2,
2648       new_references.assum_override_3,
2649       new_references.assum_override_4,
2650       new_references.assum_override_5,
2651       new_references.assum_override_6,
2652       new_references.dependency_status,
2653       new_references.s_email_address,
2654       new_references.nslds_reason_code,
2655       new_references.app_receipt_date,
2656       new_references.processed_rec_type,
2657       new_references.hist_correction_for_tran_id,
2658       new_references.system_generated_indicator,
2659       new_references.dup_request_indicator,
2660       new_references.source_of_correction,
2661       new_references.p_cal_tax_status,
2662       new_references.s_cal_tax_status,
2663       new_references.graduate_flag,
2664       new_references.auto_zero_efc,
2665       new_references.efc_change_flag,
2666       new_references.sarc_flag,
2667       new_references.simplified_need_test,
2668       new_references.reject_reason_codes,
2669       new_references.select_service_match_flag,
2670       new_references.select_service_reg_flag,
2671       new_references.ins_match_flag,
2672       NULL,
2673       new_references.sec_ins_match_flag,
2674       new_references.sec_ins_ver_number,
2675       new_references.ssn_match_flag,
2676       new_references.ssa_citizenship_flag,
2677       new_references.ssn_date_of_death,
2678       new_references.nslds_match_flag,
2679       new_references.va_match_flag,
2680       new_references.prisoner_match,
2681       new_references.verification_flag,
2682       new_references.subsequent_app_flag,
2683       new_references.app_source_site_code,
2684       new_references.tran_source_site_code,
2685       new_references.drn,
2686       new_references.tran_process_date,
2687       new_references.computer_batch_number,
2688       new_references.correction_flags,
2689       new_references.highlight_flags,
2690       new_references.paid_efc,
2691       new_references.primary_efc,
2692       new_references.secondary_efc,
2693       new_references.fed_pell_grant_efc_type,
2694       new_references.primary_efc_type,
2695       new_references.sec_efc_type,
2696       new_references.primary_alternate_month_1,
2697       new_references.primary_alternate_month_2,
2698       new_references.primary_alternate_month_3,
2699       new_references.primary_alternate_month_4,
2700       new_references.primary_alternate_month_5,
2701       new_references.primary_alternate_month_6,
2702       new_references.primary_alternate_month_7,
2703       new_references.primary_alternate_month_8,
2704       new_references.primary_alternate_month_10,
2705       new_references.primary_alternate_month_11,
2706       new_references.primary_alternate_month_12,
2707       new_references.sec_alternate_month_1,
2708       new_references.sec_alternate_month_2,
2709       new_references.sec_alternate_month_3,
2710       new_references.sec_alternate_month_4,
2711       new_references.sec_alternate_month_5,
2712       new_references.sec_alternate_month_6,
2713       new_references.sec_alternate_month_7,
2714       new_references.sec_alternate_month_8,
2715       new_references.sec_alternate_month_10,
2716       new_references.sec_alternate_month_11,
2717       new_references.sec_alternate_month_12,
2718       new_references.total_income,
2719       new_references.allow_total_income,
2720       new_references.state_tax_allow,
2721       new_references.employment_allow,
2722       new_references.income_protection_allow,
2723       new_references.available_income,
2724       new_references.contribution_from_ai,
2725       new_references.discretionary_networth,
2726       new_references.efc_networth,
2727       new_references.asset_protect_allow,
2728       new_references.parents_cont_from_assets,
2729       new_references.adjusted_available_income,
2730       new_references.total_student_contribution,
2731       new_references.total_parent_contribution,
2732       new_references.parents_contribution,
2733       new_references.student_total_income,
2734       new_references.sati,
2735       new_references.sic,
2736       new_references.sdnw,
2737       new_references.sca,
2738       new_references.fti,
2739       new_references.secti,
2740       new_references.secati,
2741       new_references.secstx,
2742       new_references.secea,
2743       new_references.secipa,
2744       new_references.secai,
2745       new_references.seccai,
2746       new_references.secdnw,
2747       new_references.secnw,
2748       new_references.secapa,
2749       new_references.secpca,
2750       new_references.secaai,
2751       new_references.sectsc,
2752       new_references.sectpc,
2753       new_references.secpc,
2754       new_references.secsti,
2755       new_references.secsic,
2756       new_references.secsati,
2757       new_references.secsdnw,
2758       new_references.secsca,
2759       new_references.secfti,
2760       new_references.a_citizenship,
2761       new_references.a_student_marital_status,
2762       new_references.a_student_agi,
2763       new_references.a_s_us_tax_paid,
2764       new_references.a_s_income_work,
2765       new_references.a_spouse_income_work,
2766       new_references.a_s_total_wsc,
2767       new_references.a_date_of_birth,
2768       new_references.a_student_married,
2769       new_references.a_have_children,
2770       new_references.a_s_have_dependents,
2771       new_references.a_va_status,
2772       new_references.a_s_num_in_family,
2773       new_references.a_s_num_in_college,
2774       new_references.a_p_marital_status,
2775       new_references.a_father_ssn,
2776       new_references.a_mother_ssn,
2777       new_references.a_parents_num_family,
2778       new_references.a_parents_num_college,
2779       new_references.a_parents_agi,
2780       new_references.a_p_us_tax_paid,
2781       new_references.a_f_work_income,
2782       new_references.a_m_work_income,
2783       new_references.a_p_total_wsc,
2784       new_references.comment_codes,
2785       new_references.sar_ack_comm_code,
2786       new_references.pell_grant_elig_flag,
2787       new_references.reprocess_reason_code,
2788       new_references.duplicate_date,
2789       new_references.isir_transaction_type,
2790       new_references.fedral_schl_code_indicator,
2791       new_references.multi_school_code_flags,
2792       new_references.dup_ssn_indicator,
2793       new_references.payment_isir,
2794       new_references.receipt_status,
2795       new_references.isir_receipt_completed,
2796       x_last_update_date,
2797       x_last_updated_by,
2798       x_last_update_date,
2799       x_last_updated_by,
2800       x_last_update_login ,
2801       x_request_id,
2802       x_program_id,
2803       x_program_application_id,
2804       x_program_update_date ,
2805       l_org_id,
2806       new_references.system_record_type,
2807       new_references.verif_track_flag,
2808       new_references.active_isir,
2809       new_references.fafsa_data_verify_flags,
2810       new_references.reject_override_a,
2811       new_references.reject_override_c,
2812       new_references.parent_marital_status_date,
2813       new_references.legacy_record_flag,
2814       new_references.father_first_name_initial_txt,
2815       new_references.father_step_father_birth_date,
2816       new_references.mother_first_name_initial_txt,
2817       new_references.mother_step_mother_birth_date,
2818       new_references.parents_email_address_txt,
2819       new_references.address_change_type ,
2820       new_references.cps_pushed_isir_flag,
2821       new_references.electronic_transaction_type,
2822       new_references.sar_c_change_type ,
2823       new_references.father_ssn_match_type ,
2824       new_references.mother_ssn_match_type ,
2825       new_references.reject_override_g_flag,
2826       new_references.dhs_verification_num_txt,
2827       new_references.data_file_name_txt,
2828       new_references.message_class_txt,
2829       new_references.reject_override_3_flag,
2830       new_references.reject_override_12_flag,
2831       new_references.reject_override_j_flag,
2832       new_references.reject_override_k_flag ,
2833       new_references.rejected_status_change_flag,
2834       new_references.verification_selection_flag
2835       );
2836 
2837     OPEN c;
2838     FETCH c INTO x_rowid;
2839     IF (c%NOTFOUND) THEN
2840       CLOSE c;
2841       RAISE NO_DATA_FOUND;
2842     END IF;
2843     CLOSE c;
2844 
2845    IF new_references.active_isir = 'Y' THEN
2846      set_single_active_isir ( new_references.isir_id, new_references.base_id );
2847    END IF;
2848 
2849    -- create entry in the hz_relationships table. This entry will be used during enforcing security.
2850    create_party_rel;
2851 
2852   END insert_row;
2853 
2854 
2855   PROCEDURE lock_row (
2856     x_rowid                             IN     VARCHAR2,
2857     x_isir_id                           IN     NUMBER,
2858     x_base_id                           IN     NUMBER,
2859     x_batch_year                        IN     NUMBER,
2860     x_transaction_num                   IN     VARCHAR2,
2861     x_current_ssn                       IN     VARCHAR2,
2862     x_ssn_name_change                   IN     VARCHAR2,
2863     x_original_ssn                      IN     VARCHAR2,
2864     x_orig_name_id                      IN     VARCHAR2,
2865     x_last_name                         IN     VARCHAR2,
2866     x_first_name                        IN     VARCHAR2,
2867     x_middle_initial                    IN     VARCHAR2,
2868     x_perm_mail_add                     IN     VARCHAR2,
2869     x_perm_city                         IN     VARCHAR2,
2870     x_perm_state                        IN     VARCHAR2,
2871     x_perm_zip_code                     IN     VARCHAR2,
2872     x_date_of_birth                     IN     DATE,
2873     x_phone_number                      IN     VARCHAR2,
2874     x_driver_license_number             IN     VARCHAR2,
2875     x_driver_license_state              IN     VARCHAR2,
2876     x_citizenship_status                IN     VARCHAR2,
2877     x_alien_reg_number                  IN     VARCHAR2,
2878     x_s_marital_status                  IN     VARCHAR2,
2879     x_s_marital_status_date             IN     DATE,
2880     x_summ_enrl_status                  IN     VARCHAR2,
2881     x_fall_enrl_status                  IN     VARCHAR2,
2882     x_winter_enrl_status                IN     VARCHAR2,
2883     x_spring_enrl_status                IN     VARCHAR2,
2884     x_summ2_enrl_status                 IN     VARCHAR2,
2885     x_fathers_highest_edu_level         IN     VARCHAR2,
2886     x_mothers_highest_edu_level         IN     VARCHAR2,
2887     x_s_state_legal_residence           IN     VARCHAR2,
2888     x_legal_residence_before_date       IN     VARCHAR2,
2889     x_s_legal_resd_date                 IN     DATE,
2890     x_ss_r_u_male                       IN     VARCHAR2,
2891     x_selective_service_reg             IN     VARCHAR2,
2892     x_degree_certification              IN     VARCHAR2,
2893     x_grade_level_in_college            IN     VARCHAR2,
2894     x_high_school_diploma_ged           IN     VARCHAR2,
2895     x_first_bachelor_deg_by_date        IN     VARCHAR2,
2896     x_interest_in_loan                  IN     VARCHAR2,
2897     x_interest_in_stud_employment       IN     VARCHAR2,
2898     x_drug_offence_conviction           IN     VARCHAR2,
2899     x_s_tax_return_status               IN     VARCHAR2,
2900     x_s_type_tax_return                 IN     VARCHAR2,
2901     x_s_elig_1040ez                     IN     VARCHAR2,
2902     x_s_adjusted_gross_income           IN     NUMBER,
2903     x_s_fed_taxes_paid                  IN     NUMBER,
2904     x_s_exemptions                      IN     NUMBER,
2905     x_s_income_from_work                IN     NUMBER,
2906     x_spouse_income_from_work           IN     NUMBER,
2907     x_s_toa_amt_from_wsa                IN     NUMBER,
2908     x_s_toa_amt_from_wsb                IN     NUMBER,
2909     x_s_toa_amt_from_wsc                IN     NUMBER,
2910     x_s_investment_networth             IN     NUMBER,
2911     x_s_busi_farm_networth              IN     NUMBER,
2912     x_s_cash_savings                    IN     NUMBER,
2913     x_va_months                         IN     NUMBER,
2914     x_va_amount                         IN     NUMBER,
2915     x_stud_dob_before_date              IN     VARCHAR2,
2916     x_deg_beyond_bachelor               IN     VARCHAR2,
2917     x_s_married                         IN     VARCHAR2,
2918     x_s_have_children                   IN     VARCHAR2,
2919     x_legal_dependents                  IN     VARCHAR2,
2920     x_orphan_ward_of_court              IN     VARCHAR2,
2921     x_s_veteran                         IN     VARCHAR2,
2922     x_p_marital_status                  IN     VARCHAR2,
2923     x_father_ssn                        IN     VARCHAR2,
2924     x_f_last_name                       IN     VARCHAR2,
2925     x_mother_ssn                        IN     VARCHAR2,
2926     x_m_last_name                       IN     VARCHAR2,
2927     x_p_num_family_member               IN     NUMBER,
2928     x_p_num_in_college                  IN     NUMBER,
2929     x_p_state_legal_residence           IN     VARCHAR2,
2930     x_p_state_legal_res_before_dt       IN     VARCHAR2,
2931     x_p_legal_res_date                  IN     DATE,
2932     x_age_older_parent                  IN     NUMBER,
2933     x_p_tax_return_status               IN     VARCHAR2,
2934     x_p_type_tax_return                 IN     VARCHAR2,
2935     x_p_elig_1040aez                    IN     VARCHAR2,
2936     x_p_adjusted_gross_income           IN     NUMBER,
2937     x_p_taxes_paid                      IN     NUMBER,
2938     x_p_exemptions                      IN     NUMBER,
2939     x_f_income_work                     IN     NUMBER,
2940     x_m_income_work                     IN     NUMBER,
2941     x_p_income_wsa                      IN     NUMBER,
2942     x_p_income_wsb                      IN     NUMBER,
2943     x_p_income_wsc                      IN     NUMBER,
2944     x_p_investment_networth             IN     NUMBER,
2945     x_p_business_networth               IN     NUMBER,
2946     x_p_cash_saving                     IN     NUMBER,
2947     x_s_num_family_members              IN     NUMBER,
2948     x_s_num_in_college                  IN     NUMBER,
2949     x_first_college                     IN     VARCHAR2,
2950     x_first_house_plan                  IN     VARCHAR2,
2951     x_second_college                    IN     VARCHAR2,
2952     x_second_house_plan                 IN     VARCHAR2,
2953     x_third_college                     IN     VARCHAR2,
2954     x_third_house_plan                  IN     VARCHAR2,
2955     x_fourth_college                    IN     VARCHAR2,
2956     x_fourth_house_plan                 IN     VARCHAR2,
2957     x_fifth_college                     IN     VARCHAR2,
2958     x_fifth_house_plan                  IN     VARCHAR2,
2959     x_sixth_college                     IN     VARCHAR2,
2960     x_sixth_house_plan                  IN     VARCHAR2,
2961     x_date_app_completed                IN     DATE,
2962     x_signed_by                         IN     VARCHAR2,
2963     x_preparer_ssn                      IN     VARCHAR2,
2964     x_preparer_emp_id_number            IN     VARCHAR2,
2965     x_preparer_sign                     IN     VARCHAR2,
2966     x_transaction_receipt_date          IN     DATE,
2967     x_dependency_override_ind           IN     VARCHAR2,
2968     x_faa_fedral_schl_code              IN     VARCHAR2,
2969     x_faa_adjustment                    IN     VARCHAR2,
2970     x_input_record_type                 IN     VARCHAR2,
2971     x_serial_number                     IN     NUMBER,
2972     x_batch_number                      IN     VARCHAR2,
2973     x_early_analysis_flag               IN     VARCHAR2,
2974     x_app_entry_source_code             IN     VARCHAR2,
2975     x_eti_destination_code              IN     VARCHAR2,
2976     x_reject_override_b                 IN     VARCHAR2,
2977     x_reject_override_n                 IN     VARCHAR2,
2978     x_reject_override_w                 IN     VARCHAR2,
2979     x_assum_override_1                  IN     VARCHAR2,
2980     x_assum_override_2                  IN     VARCHAR2,
2981     x_assum_override_3                  IN     VARCHAR2,
2982     x_assum_override_4                  IN     VARCHAR2,
2983     x_assum_override_5                  IN     VARCHAR2,
2984     x_assum_override_6                  IN     VARCHAR2,
2985     x_dependency_status                 IN     VARCHAR2,
2986     x_s_email_address                   IN     VARCHAR2,
2987     x_nslds_reason_code                 IN     VARCHAR2,
2988     x_app_receipt_date                  IN     DATE,
2989     x_processed_rec_type                IN     VARCHAR2,
2990     x_hist_correction_for_tran_id       IN     NUMBER,
2991     x_system_generated_indicator        IN     VARCHAR2,
2992     x_dup_request_indicator             IN     VARCHAR2,
2993     x_source_of_correction              IN     VARCHAR2,
2994     x_p_cal_tax_status                  IN     VARCHAR2,
2995     x_s_cal_tax_status                  IN     VARCHAR2,
2996     x_graduate_flag                     IN     VARCHAR2,
2997     x_auto_zero_efc                     IN     VARCHAR2,
2998     x_efc_change_flag                   IN     VARCHAR2,
2999     x_sarc_flag                         IN     VARCHAR2,
3000     x_simplified_need_test              IN     VARCHAR2,
3001     x_reject_reason_codes               IN     VARCHAR2,
3002     x_select_service_match_flag         IN     VARCHAR2,
3003     x_select_service_reg_flag           IN     VARCHAR2,
3004     x_ins_match_flag                    IN     VARCHAR2,
3005     x_ins_verification_number           IN     NUMBER,
3006     x_sec_ins_match_flag                IN     VARCHAR2,
3007     x_sec_ins_ver_number                IN     NUMBER,
3008     x_ssn_match_flag                    IN     VARCHAR2,
3009     x_ssa_citizenship_flag              IN     VARCHAR2,
3010     x_ssn_date_of_death                 IN     DATE,
3011     x_nslds_match_flag                  IN     VARCHAR2,
3012     x_va_match_flag                     IN     VARCHAR2,
3013     x_prisoner_match                    IN     VARCHAR2,
3014     x_verification_flag                 IN     VARCHAR2,
3015     x_subsequent_app_flag               IN     VARCHAR2,
3016     x_app_source_site_code              IN     VARCHAR2,
3017     x_tran_source_site_code             IN     VARCHAR2,
3018     x_drn                               IN     NUMBER,
3019     x_tran_process_date                 IN     DATE,
3020     x_computer_batch_number             IN     NUMBER,
3021     x_correction_flags                  IN     VARCHAR2,
3022     x_highlight_flags                   IN     VARCHAR2,
3023     x_paid_efc                          IN     NUMBER,
3024     x_primary_efc                       IN     NUMBER,
3025     x_secondary_efc                     IN     NUMBER,
3026     x_fed_pell_grant_efc_type           IN     VARCHAR2,
3027     x_primary_efc_type                  IN     VARCHAR2,
3028     x_sec_efc_type                      IN     VARCHAR2,
3029     x_primary_alternate_month_1         IN     NUMBER,
3030     x_primary_alternate_month_2         IN     NUMBER,
3031     x_primary_alternate_month_3         IN     NUMBER,
3032     x_primary_alternate_month_4         IN     NUMBER,
3033     x_primary_alternate_month_5         IN     NUMBER,
3034     x_primary_alternate_month_6         IN     NUMBER,
3035     x_primary_alternate_month_7         IN     NUMBER,
3036     x_primary_alternate_month_8         IN     NUMBER,
3037     x_primary_alternate_month_10        IN     NUMBER,
3038     x_primary_alternate_month_11        IN     NUMBER,
3039     x_primary_alternate_month_12        IN     NUMBER,
3040     x_sec_alternate_month_1             IN     NUMBER,
3041     x_sec_alternate_month_2             IN     NUMBER,
3042     x_sec_alternate_month_3             IN     NUMBER,
3043     x_sec_alternate_month_4             IN     NUMBER,
3044     x_sec_alternate_month_5             IN     NUMBER,
3045     x_sec_alternate_month_6             IN     NUMBER,
3046     x_sec_alternate_month_7             IN     NUMBER,
3047     x_sec_alternate_month_8             IN     NUMBER,
3048     x_sec_alternate_month_10            IN     NUMBER,
3049     x_sec_alternate_month_11            IN     NUMBER,
3050     x_sec_alternate_month_12            IN     NUMBER,
3051     x_total_income                      IN     NUMBER,
3052     x_allow_total_income                IN     NUMBER,
3053     x_state_tax_allow                   IN     NUMBER,
3054     x_employment_allow                  IN     NUMBER,
3055     x_income_protection_allow           IN     NUMBER,
3056     x_available_income                  IN     NUMBER,
3057     x_contribution_from_ai              IN     NUMBER,
3058     x_discretionary_networth            IN     NUMBER,
3059     x_efc_networth                      IN     NUMBER,
3060     x_asset_protect_allow               IN     NUMBER,
3061     x_parents_cont_from_assets          IN     NUMBER,
3062     x_adjusted_available_income         IN     NUMBER,
3063     x_total_student_contribution        IN     NUMBER,
3064     x_total_parent_contribution         IN     NUMBER,
3065     x_parents_contribution              IN     NUMBER,
3066     x_student_total_income              IN     NUMBER,
3067     x_sati                              IN     NUMBER,
3068     x_sic                               IN     NUMBER,
3069     x_sdnw                              IN     NUMBER,
3070     x_sca                               IN     NUMBER,
3071     x_fti                               IN     NUMBER,
3072     x_secti                             IN     NUMBER,
3073     x_secati                            IN     NUMBER,
3074     x_secstx                            IN     NUMBER,
3075     x_secea                             IN     NUMBER,
3076     x_secipa                            IN     NUMBER,
3077     x_secai                             IN     NUMBER,
3078     x_seccai                            IN     NUMBER,
3079     x_secdnw                            IN     NUMBER,
3080     x_secnw                             IN     NUMBER,
3081     x_secapa                            IN     NUMBER,
3082     x_secpca                            IN     NUMBER,
3083     x_secaai                            IN     NUMBER,
3084     x_sectsc                            IN     NUMBER,
3085     x_sectpc                            IN     NUMBER,
3086     x_secpc                             IN     NUMBER,
3087     x_secsti                            IN     NUMBER,
3088     x_secsic                            IN     NUMBER,
3089     x_secsati                           IN     NUMBER,
3090     x_secsdnw                           IN     NUMBER,
3091     x_secsca                            IN     NUMBER,
3092     x_secfti                            IN     NUMBER,
3093     x_a_citizenship                     IN     VARCHAR2,
3094     x_a_student_marital_status          IN     VARCHAR2,
3095     x_a_student_agi                     IN     NUMBER,
3096     x_a_s_us_tax_paid                   IN     NUMBER,
3097     x_a_s_income_work                   IN     NUMBER,
3098     x_a_spouse_income_work              IN     NUMBER,
3099     x_a_s_total_wsc                     IN     NUMBER,
3100     x_a_date_of_birth                   IN     VARCHAR2,
3101     x_a_student_married                 IN     VARCHAR2,
3102     x_a_have_children                   IN     VARCHAR2,
3103     x_a_s_have_dependents               IN     VARCHAR2,
3104     x_a_va_status                       IN     VARCHAR2,
3105     x_a_s_num_in_family                 IN     NUMBER,
3106     x_a_s_num_in_college                IN     NUMBER,
3107     x_a_p_marital_status                IN     VARCHAR2,
3108     x_a_father_ssn                      IN     VARCHAR2,
3109     x_a_mother_ssn                      IN     VARCHAR2,
3110     x_a_parents_num_family              IN     NUMBER,
3111     x_a_parents_num_college             IN     NUMBER,
3112     x_a_parents_agi                     IN     NUMBER,
3113     x_a_p_us_tax_paid                   IN     NUMBER,
3114     x_a_f_work_income                   IN     NUMBER,
3115     x_a_m_work_income                   IN     NUMBER,
3116     x_a_p_total_wsc                     IN     NUMBER,
3117     x_comment_codes                     IN     VARCHAR2,
3118     x_sar_ack_comm_code                 IN     VARCHAR2,
3119     x_pell_grant_elig_flag              IN     VARCHAR2,
3120     x_reprocess_reason_code             IN     VARCHAR2,
3121     x_duplicate_date                    IN     DATE,
3122     x_isir_transaction_type             IN     VARCHAR2,
3123     x_fedral_schl_code_indicator        IN     VARCHAR2,
3124     x_multi_school_code_flags           IN     VARCHAR2,
3125     x_dup_ssn_indicator                 IN     VARCHAR2,
3126     x_payment_isir                      IN     VARCHAR2,
3127     x_receipt_status                    IN     VARCHAR2,
3128     x_isir_receipt_completed            IN     VARCHAR2,
3129     x_system_record_type                IN     VARCHAR2,
3130     x_verif_track_flag                  IN     VARCHAR2,
3131     x_active_isir                       IN     VARCHAR2,
3132     x_fafsa_data_verify_flags           IN     VARCHAR2,
3133     x_reject_override_a                 IN     VARCHAR2,
3134     x_reject_override_c                 IN     VARCHAR2,
3135     x_parent_marital_status_date        IN     DATE ,
3136     x_legacy_record_flag                IN     VARCHAR2,
3137     x_father_first_name_initial         IN     VARCHAR2,
3138     x_father_step_father_birth_dt       IN     DATE    ,
3139     x_mother_first_name_initial         IN     VARCHAR2,
3140     x_mother_step_mother_birth_dt       IN     DATE    ,
3141     x_parents_email_address_txt         IN     VARCHAR2,
3142     x_address_change_type               IN     VARCHAR2,
3143     x_cps_pushed_isir_flag              IN     VARCHAR2,
3144     x_electronic_transaction_type       IN     VARCHAR2,
3145     x_sar_c_change_type                 IN     VARCHAR2,
3146     x_father_ssn_match_type             IN     VARCHAR2,
3147     x_mother_ssn_match_type             IN     VARCHAR2,
3148     x_reject_override_g_flag            IN     VARCHAR2,
3149     x_dhs_verification_num_txt          IN     VARCHAR2,
3150     x_data_file_name_txt                IN     VARCHAR2,
3151     x_message_class_txt                 IN     VARCHAR2,
3152     x_reject_override_3_flag            IN     VARCHAR2,
3153     x_reject_override_12_flag           IN     VARCHAR2,
3154     x_reject_override_j_flag            IN     VARCHAR2,
3155     x_reject_override_k_flag            IN     VARCHAR2,
3156     x_rejected_status_change_flag       IN     VARCHAR2,
3157     x_verification_selection_flag       IN     VARCHAR2
3158   ) AS
3159   /*
3160   ||  Created By : rasingh
3161   ||  Created On : 06-DEC-2000
3162   ||  Purpose : Handles the LOCK mechanism for the table.
3163   ||  Known limitations, enhancements or remarks :
3164   ||  Change History :
3165   ||  Who             When            What
3166   ||  (reverse chronological order - newest change first)
3167   */
3168     CURSOR c1 IS
3169       SELECT
3170         base_id,
3171         batch_year,
3172         transaction_num,
3173         current_ssn,
3174         ssn_name_change,
3175         original_ssn,
3176         orig_name_id,
3177         last_name,
3178         first_name,
3179         middle_initial,
3180         perm_mail_add,
3181         perm_city,
3182         perm_state,
3183         perm_zip_code,
3184         date_of_birth,
3185         phone_number,
3186         driver_license_number,
3187         driver_license_state,
3188         citizenship_status,
3189         alien_reg_number,
3190         s_marital_status,
3191         s_marital_status_date,
3192         summ_enrl_status,
3193         fall_enrl_status,
3194         winter_enrl_status,
3195         spring_enrl_status,
3196         summ2_enrl_status,
3197         fathers_highest_edu_level,
3198         mothers_highest_edu_level,
3199         s_state_legal_residence,
3200         legal_residence_before_date,
3201         s_legal_resd_date,
3202         ss_r_u_male,
3203         selective_service_reg,
3204         degree_certification,
3205         grade_level_in_college,
3206         high_school_diploma_ged,
3207         first_bachelor_deg_by_date,
3208         interest_in_loan,
3209         interest_in_stud_employment,
3210         drug_offence_conviction,
3211         s_tax_return_status,
3212         s_type_tax_return,
3213         s_elig_1040ez,
3214         s_adjusted_gross_income,
3215         s_fed_taxes_paid,
3216         s_exemptions,
3217         s_income_from_work,
3218         spouse_income_from_work,
3219         s_toa_amt_from_wsa,
3220         s_toa_amt_from_wsb,
3221         s_toa_amt_from_wsc,
3222         s_investment_networth,
3223         s_busi_farm_networth,
3224         s_cash_savings,
3225         va_months,
3226         va_amount,
3227         stud_dob_before_date,
3228         deg_beyond_bachelor,
3229         s_married,
3230         s_have_children,
3231         legal_dependents,
3232         orphan_ward_of_court,
3233         s_veteran,
3234         p_marital_status,
3235         father_ssn,
3236         f_last_name,
3237         mother_ssn,
3238         m_last_name,
3239         p_num_family_member,
3240         p_num_in_college,
3241         p_state_legal_residence,
3242         p_state_legal_res_before_dt,
3243         p_legal_res_date,
3244         age_older_parent,
3245         p_tax_return_status,
3246         p_type_tax_return,
3247         p_elig_1040aez,
3248         p_adjusted_gross_income,
3249         p_taxes_paid,
3250         p_exemptions,
3251         f_income_work,
3252         m_income_work,
3253         p_income_wsa,
3254         p_income_wsb,
3255         p_income_wsc,
3256         p_investment_networth,
3257         p_business_networth,
3258         p_cash_saving,
3259         s_num_family_members,
3260         s_num_in_college,
3261         first_college,
3262         first_house_plan,
3263         second_college,
3264         second_house_plan,
3265         third_college,
3266         third_house_plan,
3267         fourth_college,
3268         fourth_house_plan,
3269         fifth_college,
3270         fifth_house_plan,
3271         sixth_college,
3272         sixth_house_plan,
3273         date_app_completed,
3274         signed_by,
3275         preparer_ssn,
3276         preparer_emp_id_number,
3277         preparer_sign,
3278         transaction_receipt_date,
3279         dependency_override_ind,
3280         faa_fedral_schl_code,
3281         faa_adjustment,
3282         input_record_type,
3283         serial_number,
3284         batch_number,
3285         early_analysis_flag,
3286         app_entry_source_code,
3287         eti_destination_code,
3288         reject_override_b,
3289         reject_override_n,
3290         reject_override_w,
3291         assum_override_1,
3292         assum_override_2,
3293         assum_override_3,
3294         assum_override_4,
3295         assum_override_5,
3296         assum_override_6,
3297         dependency_status,
3298         s_email_address,
3299         nslds_reason_code,
3300         app_receipt_date,
3301         processed_rec_type,
3302         hist_correction_for_tran_id,
3303         system_generated_indicator,
3304         dup_request_indicator,
3305         source_of_correction,
3306         p_cal_tax_status,
3307         s_cal_tax_status,
3308         graduate_flag,
3309         auto_zero_efc,
3310         efc_change_flag,
3311         sarc_flag,
3312         simplified_need_test,
3313         reject_reason_codes,
3314         select_service_match_flag,
3315         select_service_reg_flag,
3316         ins_match_flag,
3317         ins_verification_number,
3318         sec_ins_match_flag,
3319         sec_ins_ver_number,
3320         ssn_match_flag,
3321         ssa_citizenship_flag,
3322         ssn_date_of_death,
3323         nslds_match_flag,
3324         va_match_flag,
3325         prisoner_match,
3326         verification_flag,
3327         subsequent_app_flag,
3328         app_source_site_code,
3329         tran_source_site_code,
3330         drn,
3331         tran_process_date,
3332         computer_batch_number,
3333         correction_flags,
3334         highlight_flags,
3335         paid_efc,
3336         primary_efc,
3337         secondary_efc,
3338         fed_pell_grant_efc_type,
3339         primary_efc_type,
3340         sec_efc_type,
3341         primary_alternate_month_1,
3342         primary_alternate_month_2,
3343         primary_alternate_month_3,
3344         primary_alternate_month_4,
3345         primary_alternate_month_5,
3346         primary_alternate_month_6,
3347         primary_alternate_month_7,
3348         primary_alternate_month_8,
3349         primary_alternate_month_10,
3350         primary_alternate_month_11,
3351         primary_alternate_month_12,
3352         sec_alternate_month_1,
3353         sec_alternate_month_2,
3354         sec_alternate_month_3,
3355         sec_alternate_month_4,
3356         sec_alternate_month_5,
3357         sec_alternate_month_6,
3358         sec_alternate_month_7,
3359         sec_alternate_month_8,
3360         sec_alternate_month_10,
3361         sec_alternate_month_11,
3362         sec_alternate_month_12,
3363         total_income,
3364         allow_total_income,
3365         state_tax_allow,
3366         employment_allow,
3367         income_protection_allow,
3368         available_income,
3369         contribution_from_ai,
3370         discretionary_networth,
3371         efc_networth,
3372         asset_protect_allow,
3373         parents_cont_from_assets,
3374         adjusted_available_income,
3375         total_student_contribution,
3376         total_parent_contribution,
3377         parents_contribution,
3378         student_total_income,
3379         sati,
3380         sic,
3381         sdnw,
3382         sca,
3383         fti,
3384         secti,
3385         secati,
3386         secstx,
3387         secea,
3388         secipa,
3389         secai,
3390         seccai,
3391         secdnw,
3392         secnw,
3393         secapa,
3394         secpca,
3395         secaai,
3396         sectsc,
3397         sectpc,
3398         secpc,
3399         secsti,
3400         secsic,
3401         secsati,
3402         secsdnw,
3403         secsca,
3404         secfti,
3405         a_citizenship,
3406         a_student_marital_status,
3407         a_student_agi,
3408         a_s_us_tax_paid,
3409         a_s_income_work,
3410         a_spouse_income_work,
3411         a_s_total_wsc,
3412         a_date_of_birth,
3413         a_student_married,
3414         a_have_children,
3415         a_s_have_dependents,
3416         a_va_status,
3417         a_s_num_in_family,
3418         a_s_num_in_college,
3419         a_p_marital_status,
3420         a_father_ssn,
3421         a_mother_ssn,
3422         a_parents_num_family,
3423         a_parents_num_college,
3424         a_parents_agi,
3425         a_p_us_tax_paid,
3426         a_f_work_income,
3427         a_m_work_income,
3428         a_p_total_wsc,
3429         comment_codes,
3430         sar_ack_comm_code,
3431         pell_grant_elig_flag,
3432         reprocess_reason_code,
3433         duplicate_date,
3434         isir_transaction_type,
3435         fedral_schl_code_indicator,
3436         multi_school_code_flags,
3437         dup_ssn_indicator,
3438         payment_isir,
3439         receipt_status,
3440         isir_receipt_completed,
3441         org_id,
3442         system_record_type,
3443               verif_track_flag,
3444               active_isir,
3445         fafsa_data_verify_flags,
3446         reject_override_a,
3447         reject_override_c,
3448         parent_marital_status_date,
3449         legacy_record_flag,
3450         father_first_name_initial_txt,
3451         father_step_father_birth_date,
3452         mother_first_name_initial_txt,
3453         mother_step_mother_birth_date,
3454         parents_email_address_txt,
3455         address_change_type,
3456         cps_pushed_isir_flag,
3457         electronic_transaction_type,
3458         sar_c_change_type,
3459         father_ssn_match_type,
3460         mother_ssn_match_type,
3461         reject_override_g_flag,
3462         dhs_verification_num_txt,
3463         data_file_name_txt,
3464         message_class_txt,
3465         reject_override_3_flag,
3466         reject_override_12_flag,
3467         reject_override_j_flag,
3468         reject_override_k_flag ,
3469         rejected_status_change_flag,
3470         verification_selection_flag
3471       FROM  igf_ap_isir_matched_all
3472       WHERE rowid = x_rowid
3473       FOR UPDATE NOWAIT;
3474 
3475     tlinfo c1%ROWTYPE;
3476 
3477   BEGIN
3478 
3479     OPEN c1;
3480     FETCH c1 INTO tlinfo;
3481     IF (c1%notfound) THEN
3482       fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
3483       igs_ge_msg_stack.add;
3484       CLOSE c1;
3485       app_exception.raise_exception;
3486       RETURN;
3487     END IF;
3488     CLOSE c1;
3489 
3490     IF (
3491         (tlinfo.base_id = x_base_id)
3492         AND (tlinfo.batch_year = x_batch_year)
3493         AND (tlinfo.transaction_num = x_transaction_num)
3494         AND (tlinfo.current_ssn = x_current_ssn)
3495         AND ((tlinfo.ssn_name_change = x_ssn_name_change) OR ((tlinfo.ssn_name_change IS NULL) AND (X_ssn_name_change IS NULL)))
3496         AND ((tlinfo.original_ssn = x_original_ssn) OR ((tlinfo.original_ssn IS NULL) AND (X_original_ssn IS NULL)))
3497         AND ((tlinfo.orig_name_id = x_orig_name_id) OR ((tlinfo.orig_name_id IS NULL) AND (X_orig_name_id IS NULL)))
3498         AND ((tlinfo.last_name = x_last_name) OR ((tlinfo.last_name IS NULL) AND (X_last_name IS NULL)))
3499         AND ((tlinfo.first_name = x_first_name) OR ((tlinfo.first_name IS NULL) AND (X_first_name IS NULL)))
3500         AND ((tlinfo.middle_initial = x_middle_initial) OR ((tlinfo.middle_initial IS NULL) AND (X_middle_initial IS NULL)))
3501         AND ((tlinfo.perm_mail_add = x_perm_mail_add) OR ((tlinfo.perm_mail_add IS NULL) AND (X_perm_mail_add IS NULL)))
3502         AND ((tlinfo.perm_city = x_perm_city) OR ((tlinfo.perm_city IS NULL) AND (X_perm_city IS NULL)))
3503         AND ((tlinfo.perm_state = x_perm_state) OR ((tlinfo.perm_state IS NULL) AND (X_perm_state IS NULL)))
3504         AND ((tlinfo.perm_zip_code = x_perm_zip_code) OR ((tlinfo.perm_zip_code IS NULL) AND (X_perm_zip_code IS NULL)))
3505         AND ((tlinfo.date_of_birth = x_date_of_birth) OR ((tlinfo.date_of_birth IS NULL) AND (X_date_of_birth IS NULL)))
3506         AND ((tlinfo.phone_number = x_phone_number) OR ((tlinfo.phone_number IS NULL) AND (X_phone_number IS NULL)))
3507         AND ((tlinfo.driver_license_number = x_driver_license_number) OR ((tlinfo.driver_license_number IS NULL) AND (X_driver_license_number IS NULL)))
3508         AND ((tlinfo.driver_license_state = x_driver_license_state) OR ((tlinfo.driver_license_state IS NULL) AND (X_driver_license_state IS NULL)))
3509         AND ((tlinfo.citizenship_status = x_citizenship_status) OR ((tlinfo.citizenship_status IS NULL) AND (X_citizenship_status IS NULL)))
3510         AND ((tlinfo.alien_reg_number = x_alien_reg_number) OR ((tlinfo.alien_reg_number IS NULL) AND (X_alien_reg_number IS NULL)))
3511         AND ((tlinfo.s_marital_status = x_s_marital_status) OR ((tlinfo.s_marital_status IS NULL) AND (X_s_marital_status IS NULL)))
3512         AND ((tlinfo.s_marital_status_date = x_s_marital_status_date) OR ((tlinfo.s_marital_status_date IS NULL) AND (X_s_marital_status_date IS NULL)))
3513         AND ((tlinfo.summ_enrl_status = x_summ_enrl_status) OR ((tlinfo.summ_enrl_status IS NULL) AND (X_summ_enrl_status IS NULL)))
3514         AND ((tlinfo.fall_enrl_status = x_fall_enrl_status) OR ((tlinfo.fall_enrl_status IS NULL) AND (X_fall_enrl_status IS NULL)))
3515         AND ((tlinfo.winter_enrl_status = x_winter_enrl_status) OR ((tlinfo.winter_enrl_status IS NULL) AND (X_winter_enrl_status IS NULL)))
3516         AND ((tlinfo.spring_enrl_status = x_spring_enrl_status) OR ((tlinfo.spring_enrl_status IS NULL) AND (X_spring_enrl_status IS NULL)))
3517         AND ((tlinfo.summ2_enrl_status = x_summ2_enrl_status) OR ((tlinfo.summ2_enrl_status IS NULL) AND (X_summ2_enrl_status IS NULL)))
3518         AND ((tlinfo.fathers_highest_edu_level = x_fathers_highest_edu_level) OR ((tlinfo.fathers_highest_edu_level IS NULL) AND (X_fathers_highest_edu_level IS NULL)))
3519         AND ((tlinfo.mothers_highest_edu_level = x_mothers_highest_edu_level) OR ((tlinfo.mothers_highest_edu_level IS NULL) AND (X_mothers_highest_edu_level IS NULL)))
3520         AND ((tlinfo.s_state_legal_residence = x_s_state_legal_residence) OR ((tlinfo.s_state_legal_residence IS NULL) AND (X_s_state_legal_residence IS NULL)))
3521         AND ((tlinfo.legal_residence_before_date = x_legal_residence_before_date) OR ((tlinfo.legal_residence_before_date IS NULL) AND (X_legal_residence_before_date IS NULL)))
3522         AND ((tlinfo.s_legal_resd_date = x_s_legal_resd_date) OR ((tlinfo.s_legal_resd_date IS NULL) AND (X_s_legal_resd_date IS NULL)))
3523         AND ((tlinfo.ss_r_u_male = x_ss_r_u_male) OR ((tlinfo.ss_r_u_male IS NULL) AND (X_ss_r_u_male IS NULL)))
3524         AND ((tlinfo.selective_service_reg = x_selective_service_reg) OR ((tlinfo.selective_service_reg IS NULL) AND (X_selective_service_reg IS NULL)))
3525         AND ((tlinfo.degree_certification = x_degree_certification) OR ((tlinfo.degree_certification IS NULL) AND (X_degree_certification IS NULL)))
3526         AND ((tlinfo.grade_level_in_college = x_grade_level_in_college) OR ((tlinfo.grade_level_in_college IS NULL) AND (X_grade_level_in_college IS NULL)))
3527         AND ((tlinfo.high_school_diploma_ged = x_high_school_diploma_ged) OR ((tlinfo.high_school_diploma_ged IS NULL) AND (X_high_school_diploma_ged IS NULL)))
3528         AND ((tlinfo.first_bachelor_deg_by_date = x_first_bachelor_deg_by_date) OR ((tlinfo.first_bachelor_deg_by_date IS NULL) AND (X_first_bachelor_deg_by_date IS NULL)))
3529         AND ((tlinfo.interest_in_loan = x_interest_in_loan) OR ((tlinfo.interest_in_loan IS NULL) AND (X_interest_in_loan IS NULL)))
3530         AND ((tlinfo.interest_in_stud_employment = x_interest_in_stud_employment) OR ((tlinfo.interest_in_stud_employment IS NULL) AND (X_interest_in_stud_employment IS NULL)))
3531         AND ((tlinfo.drug_offence_conviction = x_drug_offence_conviction) OR ((tlinfo.drug_offence_conviction IS NULL) AND (X_drug_offence_conviction IS NULL)))
3532         AND ((tlinfo.s_tax_return_status = x_s_tax_return_status) OR ((tlinfo.s_tax_return_status IS NULL) AND (X_s_tax_return_status IS NULL)))
3533         AND ((tlinfo.s_type_tax_return = x_s_type_tax_return) OR ((tlinfo.s_type_tax_return IS NULL) AND (X_s_type_tax_return IS NULL)))
3534         AND ((tlinfo.s_elig_1040ez = x_s_elig_1040ez) OR ((tlinfo.s_elig_1040ez IS NULL) AND (X_s_elig_1040ez IS NULL)))
3535         AND ((tlinfo.s_adjusted_gross_income = x_s_adjusted_gross_income) OR ((tlinfo.s_adjusted_gross_income IS NULL) AND (X_s_adjusted_gross_income IS NULL)))
3536         AND ((tlinfo.s_fed_taxes_paid = x_s_fed_taxes_paid) OR ((tlinfo.s_fed_taxes_paid IS NULL) AND (X_s_fed_taxes_paid IS NULL)))
3537         AND ((tlinfo.s_exemptions = x_s_exemptions) OR ((tlinfo.s_exemptions IS NULL) AND (X_s_exemptions IS NULL)))
3538         AND ((tlinfo.s_income_from_work = x_s_income_from_work) OR ((tlinfo.s_income_from_work IS NULL) AND (X_s_income_from_work IS NULL)))
3539         AND ((tlinfo.spouse_income_from_work = x_spouse_income_from_work) OR ((tlinfo.spouse_income_from_work IS NULL) AND (X_spouse_income_from_work IS NULL)))
3540         AND ((tlinfo.s_toa_amt_from_wsa = x_s_toa_amt_from_wsa) OR ((tlinfo.s_toa_amt_from_wsa IS NULL) AND (X_s_toa_amt_from_wsa IS NULL)))
3541         AND ((tlinfo.s_toa_amt_from_wsb = x_s_toa_amt_from_wsb) OR ((tlinfo.s_toa_amt_from_wsb IS NULL) AND (X_s_toa_amt_from_wsb IS NULL)))
3542         AND ((tlinfo.s_toa_amt_from_wsc = x_s_toa_amt_from_wsc) OR ((tlinfo.s_toa_amt_from_wsc IS NULL) AND (X_s_toa_amt_from_wsc IS NULL)))
3543         AND ((tlinfo.s_investment_networth = x_s_investment_networth) OR ((tlinfo.s_investment_networth IS NULL) AND (X_s_investment_networth IS NULL)))
3544         AND ((tlinfo.s_busi_farm_networth = x_s_busi_farm_networth) OR ((tlinfo.s_busi_farm_networth IS NULL) AND (X_s_busi_farm_networth IS NULL)))
3545         AND ((tlinfo.s_cash_savings = x_s_cash_savings) OR ((tlinfo.s_cash_savings IS NULL) AND (X_s_cash_savings IS NULL)))
3546         AND ((tlinfo.va_months = x_va_months) OR ((tlinfo.va_months IS NULL) AND (X_va_months IS NULL)))
3547         AND ((tlinfo.va_amount = x_va_amount) OR ((tlinfo.va_amount IS NULL) AND (X_va_amount IS NULL)))
3548         AND ((tlinfo.stud_dob_before_date = x_stud_dob_before_date) OR ((tlinfo.stud_dob_before_date IS NULL) AND (X_stud_dob_before_date IS NULL)))
3549         AND ((tlinfo.deg_beyond_bachelor = x_deg_beyond_bachelor) OR ((tlinfo.deg_beyond_bachelor IS NULL) AND (X_deg_beyond_bachelor IS NULL)))
3550         AND ((tlinfo.s_married = x_s_married) OR ((tlinfo.s_married IS NULL) AND (X_s_married IS NULL)))
3551         AND ((tlinfo.s_have_children = x_s_have_children) OR ((tlinfo.s_have_children IS NULL) AND (X_s_have_children IS NULL)))
3552         AND ((tlinfo.legal_dependents = x_legal_dependents) OR ((tlinfo.legal_dependents IS NULL) AND (X_legal_dependents IS NULL)))
3553         AND ((tlinfo.orphan_ward_of_court = x_orphan_ward_of_court) OR ((tlinfo.orphan_ward_of_court IS NULL) AND (X_orphan_ward_of_court IS NULL)))
3554         AND ((tlinfo.s_veteran = x_s_veteran) OR ((tlinfo.s_veteran IS NULL) AND (X_s_veteran IS NULL)))
3555         AND ((tlinfo.p_marital_status = x_p_marital_status) OR ((tlinfo.p_marital_status IS NULL) AND (X_p_marital_status IS NULL)))
3556         AND ((tlinfo.father_ssn = x_father_ssn) OR ((tlinfo.father_ssn IS NULL) AND (X_father_ssn IS NULL)))
3557         AND ((tlinfo.f_last_name = x_f_last_name) OR ((tlinfo.f_last_name IS NULL) AND (X_f_last_name IS NULL)))
3558         AND ((tlinfo.mother_ssn = x_mother_ssn) OR ((tlinfo.mother_ssn IS NULL) AND (X_mother_ssn IS NULL)))
3559         AND ((tlinfo.m_last_name = x_m_last_name) OR ((tlinfo.m_last_name IS NULL) AND (X_m_last_name IS NULL)))
3560         AND ((tlinfo.p_num_family_member = x_p_num_family_member) OR ((tlinfo.p_num_family_member IS NULL) AND (X_p_num_family_member IS NULL)))
3561         AND ((tlinfo.p_num_in_college = x_p_num_in_college) OR ((tlinfo.p_num_in_college IS NULL) AND (X_p_num_in_college IS NULL)))
3562         AND ((tlinfo.p_state_legal_residence = x_p_state_legal_residence) OR ((tlinfo.p_state_legal_residence IS NULL) AND (X_p_state_legal_residence IS NULL)))
3563         AND ((tlinfo.p_state_legal_res_before_dt = x_p_state_legal_res_before_dt) OR ((tlinfo.p_state_legal_res_before_dt IS NULL) AND (X_p_state_legal_res_before_dt IS NULL)))
3564         AND ((tlinfo.p_legal_res_date = x_p_legal_res_date) OR ((tlinfo.p_legal_res_date IS NULL) AND (X_p_legal_res_date IS NULL)))
3565         AND ((tlinfo.age_older_parent = x_age_older_parent) OR ((tlinfo.age_older_parent IS NULL) AND (X_age_older_parent IS NULL)))
3566         AND ((tlinfo.p_tax_return_status = x_p_tax_return_status) OR ((tlinfo.p_tax_return_status IS NULL) AND (X_p_tax_return_status IS NULL)))
3567         AND ((tlinfo.p_type_tax_return = x_p_type_tax_return) OR ((tlinfo.p_type_tax_return IS NULL) AND (X_p_type_tax_return IS NULL)))
3568         AND ((tlinfo.p_elig_1040aez = x_p_elig_1040aez) OR ((tlinfo.p_elig_1040aez IS NULL) AND (X_p_elig_1040aez IS NULL)))
3569         AND ((tlinfo.p_adjusted_gross_income = x_p_adjusted_gross_income) OR ((tlinfo.p_adjusted_gross_income IS NULL) AND (X_p_adjusted_gross_income IS NULL)))
3570         AND ((tlinfo.p_taxes_paid = x_p_taxes_paid) OR ((tlinfo.p_taxes_paid IS NULL) AND (X_p_taxes_paid IS NULL)))
3571         AND ((tlinfo.p_exemptions = x_p_exemptions) OR ((tlinfo.p_exemptions IS NULL) AND (X_p_exemptions IS NULL)))
3572         AND ((tlinfo.f_income_work = x_f_income_work) OR ((tlinfo.f_income_work IS NULL) AND (X_f_income_work IS NULL)))
3573         AND ((tlinfo.m_income_work = x_m_income_work) OR ((tlinfo.m_income_work IS NULL) AND (X_m_income_work IS NULL)))
3574         AND ((tlinfo.p_income_wsa = x_p_income_wsa) OR ((tlinfo.p_income_wsa IS NULL) AND (X_p_income_wsa IS NULL)))
3575         AND ((tlinfo.p_income_wsb = x_p_income_wsb) OR ((tlinfo.p_income_wsb IS NULL) AND (X_p_income_wsb IS NULL)))
3576         AND ((tlinfo.p_income_wsc = x_p_income_wsc) OR ((tlinfo.p_income_wsc IS NULL) AND (X_p_income_wsc IS NULL)))
3577         AND ((tlinfo.p_investment_networth = x_p_investment_networth) OR ((tlinfo.p_investment_networth IS NULL) AND (X_p_investment_networth IS NULL)))
3578         AND ((tlinfo.p_business_networth = x_p_business_networth) OR ((tlinfo.p_business_networth IS NULL) AND (X_p_business_networth IS NULL)))
3579         AND ((tlinfo.p_cash_saving = x_p_cash_saving) OR ((tlinfo.p_cash_saving IS NULL) AND (X_p_cash_saving IS NULL)))
3580         AND ((tlinfo.s_num_family_members = x_s_num_family_members) OR ((tlinfo.s_num_family_members IS NULL) AND (X_s_num_family_members IS NULL)))
3581         AND ((tlinfo.s_num_in_college = x_s_num_in_college) OR ((tlinfo.s_num_in_college IS NULL) AND (X_s_num_in_college IS NULL)))
3582         AND ((tlinfo.first_college = x_first_college) OR ((tlinfo.first_college IS NULL) AND (X_first_college IS NULL)))
3583         AND ((tlinfo.first_house_plan = x_first_house_plan) OR ((tlinfo.first_house_plan IS NULL) AND (X_first_house_plan IS NULL)))
3584         AND ((tlinfo.second_college = x_second_college) OR ((tlinfo.second_college IS NULL) AND (X_second_college IS NULL)))
3585         AND ((tlinfo.second_house_plan = x_second_house_plan) OR ((tlinfo.second_house_plan IS NULL) AND (X_second_house_plan IS NULL)))
3586         AND ((tlinfo.third_college = x_third_college) OR ((tlinfo.third_college IS NULL) AND (X_third_college IS NULL)))
3587         AND ((tlinfo.third_house_plan = x_third_house_plan) OR ((tlinfo.third_house_plan IS NULL) AND (X_third_house_plan IS NULL)))
3588         AND ((tlinfo.fourth_college = x_fourth_college) OR ((tlinfo.fourth_college IS NULL) AND (X_fourth_college IS NULL)))
3589         AND ((tlinfo.fourth_house_plan = x_fourth_house_plan) OR ((tlinfo.fourth_house_plan IS NULL) AND (X_fourth_house_plan IS NULL)))
3590         AND ((tlinfo.fifth_college = x_fifth_college) OR ((tlinfo.fifth_college IS NULL) AND (X_fifth_college IS NULL)))
3591         AND ((tlinfo.fifth_house_plan = x_fifth_house_plan) OR ((tlinfo.fifth_house_plan IS NULL) AND (X_fifth_house_plan IS NULL)))
3592         AND ((tlinfo.sixth_college = x_sixth_college) OR ((tlinfo.sixth_college IS NULL) AND (X_sixth_college IS NULL)))
3593         AND ((tlinfo.sixth_house_plan = x_sixth_house_plan) OR ((tlinfo.sixth_house_plan IS NULL) AND (X_sixth_house_plan IS NULL)))
3594         AND ((tlinfo.date_app_completed = x_date_app_completed) OR ((tlinfo.date_app_completed IS NULL) AND (X_date_app_completed IS NULL)))
3595         AND ((tlinfo.signed_by = x_signed_by) OR ((tlinfo.signed_by IS NULL) AND (X_signed_by IS NULL)))
3596         AND ((tlinfo.preparer_ssn = x_preparer_ssn) OR ((tlinfo.preparer_ssn IS NULL) AND (X_preparer_ssn IS NULL)))
3597         AND ((tlinfo.preparer_emp_id_number = x_preparer_emp_id_number) OR ((tlinfo.preparer_emp_id_number IS NULL) AND (X_preparer_emp_id_number IS NULL)))
3598         AND ((tlinfo.preparer_sign = x_preparer_sign) OR ((tlinfo.preparer_sign IS NULL) AND (X_preparer_sign IS NULL)))
3599         AND ((tlinfo.transaction_receipt_date = x_transaction_receipt_date) OR ((tlinfo.transaction_receipt_date IS NULL) AND (X_transaction_receipt_date IS NULL)))
3600         AND ((tlinfo.dependency_override_ind = x_dependency_override_ind) OR ((tlinfo.dependency_override_ind IS NULL) AND (X_dependency_override_ind IS NULL)))
3601         AND ((tlinfo.faa_fedral_schl_code = x_faa_fedral_schl_code) OR ((tlinfo.faa_fedral_schl_code IS NULL) AND (X_faa_fedral_schl_code IS NULL)))
3602         AND ((tlinfo.faa_adjustment = x_faa_adjustment) OR ((tlinfo.faa_adjustment IS NULL) AND (X_faa_adjustment IS NULL)))
3603         AND ((tlinfo.input_record_type = x_input_record_type) OR ((tlinfo.input_record_type IS NULL) AND (X_input_record_type IS NULL)))
3604         AND ((tlinfo.serial_number = x_serial_number) OR ((tlinfo.serial_number IS NULL) AND (X_serial_number IS NULL)))
3605         AND ((tlinfo.batch_number = x_batch_number) OR ((tlinfo.batch_number IS NULL) AND (X_batch_number IS NULL)))
3606         AND ((tlinfo.early_analysis_flag = x_early_analysis_flag) OR ((tlinfo.early_analysis_flag IS NULL) AND (X_early_analysis_flag IS NULL)))
3607         AND ((tlinfo.app_entry_source_code = x_app_entry_source_code) OR ((tlinfo.app_entry_source_code IS NULL) AND (X_app_entry_source_code IS NULL)))
3608         AND ((tlinfo.eti_destination_code = x_eti_destination_code) OR ((tlinfo.eti_destination_code IS NULL) AND (X_eti_destination_code IS NULL)))
3609         AND ((tlinfo.reject_override_b = x_reject_override_b) OR ((tlinfo.reject_override_b IS NULL) AND (X_reject_override_b IS NULL)))
3610         AND ((tlinfo.reject_override_n = x_reject_override_n) OR ((tlinfo.reject_override_n IS NULL) AND (X_reject_override_n IS NULL)))
3611         AND ((tlinfo.reject_override_w = x_reject_override_w) OR ((tlinfo.reject_override_w IS NULL) AND (X_reject_override_w IS NULL)))
3612         AND ((tlinfo.assum_override_1 = x_assum_override_1) OR ((tlinfo.assum_override_1 IS NULL) AND (X_assum_override_1 IS NULL)))
3613         AND ((tlinfo.assum_override_2 = x_assum_override_2) OR ((tlinfo.assum_override_2 IS NULL) AND (X_assum_override_2 IS NULL)))
3614         AND ((tlinfo.assum_override_3 = x_assum_override_3) OR ((tlinfo.assum_override_3 IS NULL) AND (X_assum_override_3 IS NULL)))
3615         AND ((tlinfo.assum_override_4 = x_assum_override_4) OR ((tlinfo.assum_override_4 IS NULL) AND (X_assum_override_4 IS NULL)))
3616         AND ((tlinfo.assum_override_5 = x_assum_override_5) OR ((tlinfo.assum_override_5 IS NULL) AND (X_assum_override_5 IS NULL)))
3617         AND ((tlinfo.assum_override_6 = x_assum_override_6) OR ((tlinfo.assum_override_6 IS NULL) AND (X_assum_override_6 IS NULL)))
3618         AND ((tlinfo.dependency_status = x_dependency_status) OR ((tlinfo.dependency_status IS NULL) AND (X_dependency_status IS NULL)))
3619         AND ((tlinfo.s_email_address = x_s_email_address) OR ((tlinfo.s_email_address IS NULL) AND (X_s_email_address IS NULL)))
3620         AND ((tlinfo.nslds_reason_code = x_nslds_reason_code) OR ((tlinfo.nslds_reason_code IS NULL) AND (X_nslds_reason_code IS NULL)))
3621         AND ((tlinfo.app_receipt_date = x_app_receipt_date) OR ((tlinfo.app_receipt_date IS NULL) AND (X_app_receipt_date IS NULL)))
3622         AND ((tlinfo.processed_rec_type = x_processed_rec_type) OR ((tlinfo.processed_rec_type IS NULL) AND (X_processed_rec_type IS NULL)))
3623         AND ((tlinfo.hist_correction_for_tran_id = x_hist_correction_for_tran_id) OR ((tlinfo.hist_correction_for_tran_id IS NULL) AND (X_hist_correction_for_tran_id IS NULL)))
3624         AND ((tlinfo.system_generated_indicator = x_system_generated_indicator) OR ((tlinfo.system_generated_indicator IS NULL) AND (X_system_generated_indicator IS NULL)))
3625         AND ((tlinfo.dup_request_indicator = x_dup_request_indicator) OR ((tlinfo.dup_request_indicator IS NULL) AND (X_dup_request_indicator IS NULL)))
3626         AND ((tlinfo.source_of_correction = x_source_of_correction) OR ((tlinfo.source_of_correction IS NULL) AND (X_source_of_correction IS NULL)))
3627         AND ((tlinfo.p_cal_tax_status = x_p_cal_tax_status) OR ((tlinfo.p_cal_tax_status IS NULL) AND (X_p_cal_tax_status IS NULL)))
3628         AND ((tlinfo.s_cal_tax_status = x_s_cal_tax_status) OR ((tlinfo.s_cal_tax_status IS NULL) AND (X_s_cal_tax_status IS NULL)))
3629         AND ((tlinfo.graduate_flag = x_graduate_flag) OR ((tlinfo.graduate_flag IS NULL) AND (X_graduate_flag IS NULL)))
3630         AND ((tlinfo.auto_zero_efc = x_auto_zero_efc) OR ((tlinfo.auto_zero_efc IS NULL) AND (X_auto_zero_efc IS NULL)))
3631         AND ((tlinfo.efc_change_flag = x_efc_change_flag) OR ((tlinfo.efc_change_flag IS NULL) AND (X_efc_change_flag IS NULL)))
3632         AND ((tlinfo.sarc_flag = x_sarc_flag) OR ((tlinfo.sarc_flag IS NULL) AND (X_sarc_flag IS NULL)))
3633         AND ((tlinfo.simplified_need_test = x_simplified_need_test) OR ((tlinfo.simplified_need_test IS NULL) AND (X_simplified_need_test IS NULL)))
3634         AND ((tlinfo.reject_reason_codes = x_reject_reason_codes) OR ((tlinfo.reject_reason_codes IS NULL) AND (X_reject_reason_codes IS NULL)))
3635         AND ((tlinfo.select_service_match_flag = x_select_service_match_flag) OR ((tlinfo.select_service_match_flag IS NULL) AND (X_select_service_match_flag IS NULL)))
3636         AND ((tlinfo.select_service_reg_flag = x_select_service_reg_flag) OR ((tlinfo.select_service_reg_flag IS NULL) AND (X_select_service_reg_flag IS NULL)))
3637         AND ((tlinfo.ins_match_flag = x_ins_match_flag) OR ((tlinfo.ins_match_flag IS NULL) AND (X_ins_match_flag IS NULL)))
3638         AND ((tlinfo.sec_ins_match_flag = x_sec_ins_match_flag) OR ((tlinfo.sec_ins_match_flag IS NULL) AND (X_sec_ins_match_flag IS NULL)))
3639         AND ((tlinfo.sec_ins_ver_number = x_sec_ins_ver_number) OR ((tlinfo.sec_ins_ver_number IS NULL) AND (X_sec_ins_ver_number IS NULL)))
3640         AND ((tlinfo.ssn_match_flag = x_ssn_match_flag) OR ((tlinfo.ssn_match_flag IS NULL) AND (X_ssn_match_flag IS NULL)))
3641         AND ((tlinfo.ssa_citizenship_flag = x_ssa_citizenship_flag) OR ((tlinfo.ssa_citizenship_flag IS NULL) AND (X_ssa_citizenship_flag IS NULL)))
3642         AND ((tlinfo.ssn_date_of_death = x_ssn_date_of_death) OR ((tlinfo.ssn_date_of_death IS NULL) AND (X_ssn_date_of_death IS NULL)))
3643         AND ((tlinfo.nslds_match_flag = x_nslds_match_flag) OR ((tlinfo.nslds_match_flag IS NULL) AND (X_nslds_match_flag IS NULL)))
3644         AND ((tlinfo.va_match_flag = x_va_match_flag) OR ((tlinfo.va_match_flag IS NULL) AND (X_va_match_flag IS NULL)))
3645         AND ((tlinfo.prisoner_match = x_prisoner_match) OR ((tlinfo.prisoner_match IS NULL) AND (X_prisoner_match IS NULL)))
3646         AND ((tlinfo.verification_flag = x_verification_flag) OR ((tlinfo.verification_flag IS NULL) AND (X_verification_flag IS NULL)))
3647         AND ((tlinfo.subsequent_app_flag = x_subsequent_app_flag) OR ((tlinfo.subsequent_app_flag IS NULL) AND (X_subsequent_app_flag IS NULL)))
3648         AND ((tlinfo.app_source_site_code = x_app_source_site_code) OR ((tlinfo.app_source_site_code IS NULL) AND (X_app_source_site_code IS NULL)))
3649         AND ((tlinfo.tran_source_site_code = x_tran_source_site_code) OR ((tlinfo.tran_source_site_code IS NULL) AND (X_tran_source_site_code IS NULL)))
3650         AND ((tlinfo.drn = x_drn) OR ((tlinfo.drn IS NULL) AND (X_drn IS NULL)))
3651         AND ((tlinfo.tran_process_date = x_tran_process_date) OR ((tlinfo.tran_process_date IS NULL) AND (X_tran_process_date IS NULL)))
3652         AND ((tlinfo.computer_batch_number = x_computer_batch_number) OR ((tlinfo.computer_batch_number IS NULL) AND (X_computer_batch_number IS NULL)))
3653         AND ((tlinfo.correction_flags = x_correction_flags) OR ((tlinfo.correction_flags IS NULL) AND (X_correction_flags IS NULL)))
3654         AND ((tlinfo.highlight_flags = x_highlight_flags) OR ((tlinfo.highlight_flags IS NULL) AND (X_highlight_flags IS NULL)))
3655         AND ((tlinfo.paid_efc = x_paid_efc) OR ((tlinfo.paid_efc IS NULL) AND (X_paid_efc IS NULL)))
3656         AND ((tlinfo.primary_efc = x_primary_efc) OR ((tlinfo.primary_efc IS NULL) AND (X_primary_efc IS NULL)))
3657         AND ((tlinfo.secondary_efc = x_secondary_efc) OR ((tlinfo.secondary_efc IS NULL) AND (X_secondary_efc IS NULL)))
3658         AND ((tlinfo.fed_pell_grant_efc_type = x_fed_pell_grant_efc_type) OR ((tlinfo.fed_pell_grant_efc_type IS NULL) AND (X_fed_pell_grant_efc_type IS NULL)))
3659         AND ((tlinfo.primary_efc_type = x_primary_efc_type) OR ((tlinfo.primary_efc_type IS NULL) AND (X_primary_efc_type IS NULL)))
3660         AND ((tlinfo.sec_efc_type = x_sec_efc_type) OR ((tlinfo.sec_efc_type IS NULL) AND (X_sec_efc_type IS NULL)))
3661         AND ((tlinfo.primary_alternate_month_1 = x_primary_alternate_month_1) OR ((tlinfo.primary_alternate_month_1 IS NULL) AND (X_primary_alternate_month_1 IS NULL)))
3662         AND ((tlinfo.primary_alternate_month_2 = x_primary_alternate_month_2) OR ((tlinfo.primary_alternate_month_2 IS NULL) AND (X_primary_alternate_month_2 IS NULL)))
3663         AND ((tlinfo.primary_alternate_month_3 = x_primary_alternate_month_3) OR ((tlinfo.primary_alternate_month_3 IS NULL) AND (X_primary_alternate_month_3 IS NULL)))
3664         AND ((tlinfo.primary_alternate_month_4 = x_primary_alternate_month_4) OR ((tlinfo.primary_alternate_month_4 IS NULL) AND (X_primary_alternate_month_4 IS NULL)))
3665         AND ((tlinfo.primary_alternate_month_5 = x_primary_alternate_month_5) OR ((tlinfo.primary_alternate_month_5 IS NULL) AND (X_primary_alternate_month_5 IS NULL)))
3666         AND ((tlinfo.primary_alternate_month_6 = x_primary_alternate_month_6) OR ((tlinfo.primary_alternate_month_6 IS NULL) AND (X_primary_alternate_month_6 IS NULL)))
3667         AND ((tlinfo.primary_alternate_month_7 = x_primary_alternate_month_7) OR ((tlinfo.primary_alternate_month_7 IS NULL) AND (X_primary_alternate_month_7 IS NULL)))
3668         AND ((tlinfo.primary_alternate_month_8 = x_primary_alternate_month_8) OR ((tlinfo.primary_alternate_month_8 IS NULL) AND (X_primary_alternate_month_8 IS NULL)))
3669         AND ((tlinfo.primary_alternate_month_10 = x_primary_alternate_month_10) OR ((tlinfo.primary_alternate_month_10 IS NULL) AND (X_primary_alternate_month_10 IS NULL)))
3670         AND ((tlinfo.primary_alternate_month_11 = x_primary_alternate_month_11) OR ((tlinfo.primary_alternate_month_11 IS NULL) AND (X_primary_alternate_month_11 IS NULL)))
3671         AND ((tlinfo.primary_alternate_month_12 = x_primary_alternate_month_12) OR ((tlinfo.primary_alternate_month_12 IS NULL) AND (X_primary_alternate_month_12 IS NULL)))
3672         AND ((tlinfo.sec_alternate_month_1 = x_sec_alternate_month_1) OR ((tlinfo.sec_alternate_month_1 IS NULL) AND (X_sec_alternate_month_1 IS NULL)))
3673         AND ((tlinfo.sec_alternate_month_2 = x_sec_alternate_month_2) OR ((tlinfo.sec_alternate_month_2 IS NULL) AND (X_sec_alternate_month_2 IS NULL)))
3674         AND ((tlinfo.sec_alternate_month_3 = x_sec_alternate_month_3) OR ((tlinfo.sec_alternate_month_3 IS NULL) AND (X_sec_alternate_month_3 IS NULL)))
3675         AND ((tlinfo.sec_alternate_month_4 = x_sec_alternate_month_4) OR ((tlinfo.sec_alternate_month_4 IS NULL) AND (X_sec_alternate_month_4 IS NULL)))
3676         AND ((tlinfo.sec_alternate_month_5 = x_sec_alternate_month_5) OR ((tlinfo.sec_alternate_month_5 IS NULL) AND (X_sec_alternate_month_5 IS NULL)))
3677         AND ((tlinfo.sec_alternate_month_6 = x_sec_alternate_month_6) OR ((tlinfo.sec_alternate_month_6 IS NULL) AND (X_sec_alternate_month_6 IS NULL)))
3678         AND ((tlinfo.sec_alternate_month_7 = x_sec_alternate_month_7) OR ((tlinfo.sec_alternate_month_7 IS NULL) AND (X_sec_alternate_month_7 IS NULL)))
3679         AND ((tlinfo.sec_alternate_month_8 = x_sec_alternate_month_8) OR ((tlinfo.sec_alternate_month_8 IS NULL) AND (X_sec_alternate_month_8 IS NULL)))
3680         AND ((tlinfo.sec_alternate_month_10 = x_sec_alternate_month_10) OR ((tlinfo.sec_alternate_month_10 IS NULL) AND (X_sec_alternate_month_10 IS NULL)))
3681         AND ((tlinfo.sec_alternate_month_11 = x_sec_alternate_month_11) OR ((tlinfo.sec_alternate_month_11 IS NULL) AND (X_sec_alternate_month_11 IS NULL)))
3682         AND ((tlinfo.sec_alternate_month_12 = x_sec_alternate_month_12) OR ((tlinfo.sec_alternate_month_12 IS NULL) AND (X_sec_alternate_month_12 IS NULL)))
3683         AND ((tlinfo.total_income = x_total_income) OR ((tlinfo.total_income IS NULL) AND (X_total_income IS NULL)))
3684         AND ((tlinfo.allow_total_income = x_allow_total_income) OR ((tlinfo.allow_total_income IS NULL) AND (X_allow_total_income IS NULL)))
3685         AND ((tlinfo.state_tax_allow = x_state_tax_allow) OR ((tlinfo.state_tax_allow IS NULL) AND (X_state_tax_allow IS NULL)))
3686         AND ((tlinfo.employment_allow = x_employment_allow) OR ((tlinfo.employment_allow IS NULL) AND (X_employment_allow IS NULL)))
3687         AND ((tlinfo.income_protection_allow = x_income_protection_allow) OR ((tlinfo.income_protection_allow IS NULL) AND (X_income_protection_allow IS NULL)))
3688         AND ((tlinfo.available_income = x_available_income) OR ((tlinfo.available_income IS NULL) AND (X_available_income IS NULL)))
3689         AND ((tlinfo.contribution_from_ai = x_contribution_from_ai) OR ((tlinfo.contribution_from_ai IS NULL) AND (X_contribution_from_ai IS NULL)))
3690         AND ((tlinfo.discretionary_networth = x_discretionary_networth) OR ((tlinfo.discretionary_networth IS NULL) AND (X_discretionary_networth IS NULL)))
3691         AND ((tlinfo.efc_networth = x_efc_networth) OR ((tlinfo.efc_networth IS NULL) AND (X_efc_networth IS NULL)))
3692         AND ((tlinfo.asset_protect_allow = x_asset_protect_allow) OR ((tlinfo.asset_protect_allow IS NULL) AND (X_asset_protect_allow IS NULL)))
3693         AND ((tlinfo.parents_cont_from_assets = x_parents_cont_from_assets) OR ((tlinfo.parents_cont_from_assets IS NULL) AND (X_parents_cont_from_assets IS NULL)))
3694         AND ((tlinfo.adjusted_available_income = x_adjusted_available_income) OR ((tlinfo.adjusted_available_income IS NULL) AND (X_adjusted_available_income IS NULL)))
3695         AND ((tlinfo.total_student_contribution = x_total_student_contribution) OR ((tlinfo.total_student_contribution IS NULL) AND (X_total_student_contribution IS NULL)))
3696         AND ((tlinfo.total_parent_contribution = x_total_parent_contribution) OR ((tlinfo.total_parent_contribution IS NULL) AND (X_total_parent_contribution IS NULL)))
3697         AND ((tlinfo.parents_contribution = x_parents_contribution) OR ((tlinfo.parents_contribution IS NULL) AND (X_parents_contribution IS NULL)))
3698         AND ((tlinfo.student_total_income = x_student_total_income) OR ((tlinfo.student_total_income IS NULL) AND (X_student_total_income IS NULL)))
3699         AND ((tlinfo.sati = x_sati) OR ((tlinfo.sati IS NULL) AND (X_sati IS NULL)))
3700         AND ((tlinfo.sic = x_sic) OR ((tlinfo.sic IS NULL) AND (X_sic IS NULL)))
3701         AND ((tlinfo.sdnw = x_sdnw) OR ((tlinfo.sdnw IS NULL) AND (X_sdnw IS NULL)))
3702         AND ((tlinfo.sca = x_sca) OR ((tlinfo.sca IS NULL) AND (X_sca IS NULL)))
3703         AND ((tlinfo.fti = x_fti) OR ((tlinfo.fti IS NULL) AND (X_fti IS NULL)))
3704         AND ((tlinfo.secti = x_secti) OR ((tlinfo.secti IS NULL) AND (X_secti IS NULL)))
3705         AND ((tlinfo.secati = x_secati) OR ((tlinfo.secati IS NULL) AND (X_secati IS NULL)))
3706         AND ((tlinfo.secstx = x_secstx) OR ((tlinfo.secstx IS NULL) AND (X_secstx IS NULL)))
3707         AND ((tlinfo.secea = x_secea) OR ((tlinfo.secea IS NULL) AND (X_secea IS NULL)))
3708         AND ((tlinfo.secipa = x_secipa) OR ((tlinfo.secipa IS NULL) AND (X_secipa IS NULL)))
3709         AND ((tlinfo.secai = x_secai) OR ((tlinfo.secai IS NULL) AND (X_secai IS NULL)))
3710         AND ((tlinfo.seccai = x_seccai) OR ((tlinfo.seccai IS NULL) AND (X_seccai IS NULL)))
3711         AND ((tlinfo.secdnw = x_secdnw) OR ((tlinfo.secdnw IS NULL) AND (X_secdnw IS NULL)))
3712         AND ((tlinfo.secnw = x_secnw) OR ((tlinfo.secnw IS NULL) AND (X_secnw IS NULL)))
3713         AND ((tlinfo.secapa = x_secapa) OR ((tlinfo.secapa IS NULL) AND (X_secapa IS NULL)))
3714         AND ((tlinfo.secpca = x_secpca) OR ((tlinfo.secpca IS NULL) AND (X_secpca IS NULL)))
3715         AND ((tlinfo.secaai = x_secaai) OR ((tlinfo.secaai IS NULL) AND (X_secaai IS NULL)))
3716         AND ((tlinfo.sectsc = x_sectsc) OR ((tlinfo.sectsc IS NULL) AND (X_sectsc IS NULL)))
3717         AND ((tlinfo.sectpc = x_sectpc) OR ((tlinfo.sectpc IS NULL) AND (X_sectpc IS NULL)))
3718         AND ((tlinfo.secpc = x_secpc) OR ((tlinfo.secpc IS NULL) AND (X_secpc IS NULL)))
3719         AND ((tlinfo.secsti = x_secsti) OR ((tlinfo.secsti IS NULL) AND (X_secsti IS NULL)))
3720         AND ((tlinfo.secsic = x_secsic) OR ((tlinfo.secsic IS NULL) AND (X_secsic IS NULL)))
3721         AND ((tlinfo.secsati = x_secsati) OR ((tlinfo.secsati IS NULL) AND (X_secsati IS NULL)))
3722         AND ((tlinfo.secsdnw = x_secsdnw) OR ((tlinfo.secsdnw IS NULL) AND (X_secsdnw IS NULL)))
3723         AND ((tlinfo.secsca = x_secsca) OR ((tlinfo.secsca IS NULL) AND (X_secsca IS NULL)))
3724         AND ((tlinfo.secfti = x_secfti) OR ((tlinfo.secfti IS NULL) AND (X_secfti IS NULL)))
3725         AND ((tlinfo.a_citizenship = x_a_citizenship) OR ((tlinfo.a_citizenship IS NULL) AND (X_a_citizenship IS NULL)))
3726         AND ((tlinfo.a_student_marital_status = x_a_student_marital_status) OR ((tlinfo.a_student_marital_status IS NULL) AND (X_a_student_marital_status IS NULL)))
3727         AND ((tlinfo.a_student_agi = x_a_student_agi) OR ((tlinfo.a_student_agi IS NULL) AND (X_a_student_agi IS NULL)))
3728         AND ((tlinfo.a_s_us_tax_paid = x_a_s_us_tax_paid) OR ((tlinfo.a_s_us_tax_paid IS NULL) AND (X_a_s_us_tax_paid IS NULL)))
3729         AND ((tlinfo.a_s_income_work = x_a_s_income_work) OR ((tlinfo.a_s_income_work IS NULL) AND (X_a_s_income_work IS NULL)))
3730         AND ((tlinfo.a_spouse_income_work = x_a_spouse_income_work) OR ((tlinfo.a_spouse_income_work IS NULL) AND (X_a_spouse_income_work IS NULL)))
3731         AND ((tlinfo.a_s_total_wsc = x_a_s_total_wsc) OR ((tlinfo.a_s_total_wsc IS NULL) AND (X_a_s_total_wsc IS NULL)))
3732         AND ((tlinfo.a_date_of_birth = x_a_date_of_birth) OR ((tlinfo.a_date_of_birth IS NULL) AND (X_a_date_of_birth IS NULL)))
3733         AND ((tlinfo.a_student_married = x_a_student_married) OR ((tlinfo.a_student_married IS NULL) AND (X_a_student_married IS NULL)))
3734         AND ((tlinfo.a_have_children = x_a_have_children) OR ((tlinfo.a_have_children IS NULL) AND (X_a_have_children IS NULL)))
3735         AND ((tlinfo.a_s_have_dependents = x_a_s_have_dependents) OR ((tlinfo.a_s_have_dependents IS NULL) AND (X_a_s_have_dependents IS NULL)))
3736         AND ((tlinfo.a_va_status = x_a_va_status) OR ((tlinfo.a_va_status IS NULL) AND (X_a_va_status IS NULL)))
3737         AND ((tlinfo.a_s_num_in_family = x_a_s_num_in_family) OR ((tlinfo.a_s_num_in_family IS NULL) AND (X_a_s_num_in_family IS NULL)))
3738         AND ((tlinfo.a_s_num_in_college = x_a_s_num_in_college) OR ((tlinfo.a_s_num_in_college IS NULL) AND (X_a_s_num_in_college IS NULL)))
3739         AND ((tlinfo.a_p_marital_status = x_a_p_marital_status) OR ((tlinfo.a_p_marital_status IS NULL) AND (X_a_p_marital_status IS NULL)))
3740         AND ((tlinfo.a_father_ssn = x_a_father_ssn) OR ((tlinfo.a_father_ssn IS NULL) AND (X_a_father_ssn IS NULL)))
3741         AND ((tlinfo.a_mother_ssn = x_a_mother_ssn) OR ((tlinfo.a_mother_ssn IS NULL) AND (X_a_mother_ssn IS NULL)))
3742         AND ((tlinfo.a_parents_num_family = x_a_parents_num_family) OR ((tlinfo.a_parents_num_family IS NULL) AND (X_a_parents_num_family IS NULL)))
3743         AND ((tlinfo.a_parents_num_college = x_a_parents_num_college) OR ((tlinfo.a_parents_num_college IS NULL) AND (X_a_parents_num_college IS NULL)))
3744         AND ((tlinfo.a_parents_agi = x_a_parents_agi) OR ((tlinfo.a_parents_agi IS NULL) AND (X_a_parents_agi IS NULL)))
3745         AND ((tlinfo.a_p_us_tax_paid = x_a_p_us_tax_paid) OR ((tlinfo.a_p_us_tax_paid IS NULL) AND (X_a_p_us_tax_paid IS NULL)))
3746         AND ((tlinfo.a_f_work_income = x_a_f_work_income) OR ((tlinfo.a_f_work_income IS NULL) AND (X_a_f_work_income IS NULL)))
3747         AND ((tlinfo.a_m_work_income = x_a_m_work_income) OR ((tlinfo.a_m_work_income IS NULL) AND (X_a_m_work_income IS NULL)))
3748         AND ((tlinfo.a_p_total_wsc = x_a_p_total_wsc) OR ((tlinfo.a_p_total_wsc IS NULL) AND (X_a_p_total_wsc IS NULL)))
3749         AND ((tlinfo.comment_codes = x_comment_codes) OR ((tlinfo.comment_codes IS NULL) AND (X_comment_codes IS NULL)))
3750         AND ((tlinfo.sar_ack_comm_code = x_sar_ack_comm_code) OR ((tlinfo.sar_ack_comm_code IS NULL) AND (X_sar_ack_comm_code IS NULL)))
3751         AND ((tlinfo.pell_grant_elig_flag = x_pell_grant_elig_flag) OR ((tlinfo.pell_grant_elig_flag IS NULL) AND (X_pell_grant_elig_flag IS NULL)))
3752         AND ((tlinfo.reprocess_reason_code = x_reprocess_reason_code) OR ((tlinfo.reprocess_reason_code IS NULL) AND (X_reprocess_reason_code IS NULL)))
3753         AND ((tlinfo.duplicate_date = x_duplicate_date) OR ((tlinfo.duplicate_date IS NULL) AND (X_duplicate_date IS NULL)))
3754         AND ((tlinfo.isir_transaction_type = x_isir_transaction_type) OR ((tlinfo.isir_transaction_type IS NULL) AND (X_isir_transaction_type IS NULL)))
3755         AND ((tlinfo.fedral_schl_code_indicator = x_fedral_schl_code_indicator) OR ((tlinfo.fedral_schl_code_indicator IS NULL) AND (X_fedral_schl_code_indicator IS NULL)))
3756         AND ((tlinfo.multi_school_code_flags = x_multi_school_code_flags) OR ((tlinfo.multi_school_code_flags IS NULL) AND (X_multi_school_code_flags IS NULL)))
3757         AND ((tlinfo.dup_ssn_indicator = x_dup_ssn_indicator) OR ((tlinfo.dup_ssn_indicator IS NULL) AND (X_dup_ssn_indicator IS NULL)))
3758         AND ((tlinfo.payment_isir = x_payment_isir) OR ((tlinfo.payment_isir IS NULL) AND (X_payment_isir IS NULL)))
3759         AND ((tlinfo.receipt_status = x_receipt_status) OR ((tlinfo.receipt_status IS NULL) AND (X_receipt_status IS NULL)))
3760         AND ((tlinfo.isir_receipt_completed = x_isir_receipt_completed) OR ((tlinfo.isir_receipt_completed IS NULL) AND (X_isir_receipt_completed IS NULL)))
3761         AND ((tlinfo.system_record_type = x_system_record_type) OR ((tlinfo.system_record_type IS NULL) AND (X_system_record_type IS NULL)))
3762         AND ((tlinfo.verif_track_flag = x_verif_track_flag) OR ((tlinfo.verif_track_flag IS NULL) AND (x_verif_track_flag IS NULL)))
3763         AND ((tlinfo.active_isir = x_active_isir )OR ((tlinfo.active_isir IS NULL) AND (x_active_isir IS NULL)))
3764         AND ((tlinfo.fafsa_data_verify_flags = x_fafsa_data_verify_flags )OR ((tlinfo.fafsa_data_verify_flags IS NULL) AND (x_fafsa_data_verify_flags IS NULL)))
3765         AND ((tlinfo.reject_override_a = x_reject_override_a )OR ((tlinfo.reject_override_a IS NULL) AND (x_reject_override_a IS NULL)))
3766         AND ((tlinfo.reject_override_c = x_reject_override_c )OR ((tlinfo.reject_override_c IS NULL) AND (x_reject_override_c IS NULL)))
3767         AND ((tlinfo.parent_marital_status_date = x_parent_marital_status_date )OR ((tlinfo.parent_marital_status_date IS NULL) AND (x_parent_marital_status_date IS NULL)))
3768         AND ((tlinfo.legacy_record_flag = x_legacy_record_flag )OR ((tlinfo.legacy_record_flag IS NULL) AND (x_legacy_record_flag IS NULL)))
3769         AND ((tlinfo.father_first_name_initial_txt = x_father_first_name_initial )OR ((tlinfo.father_first_name_initial_txt IS NULL) AND (x_father_first_name_initial IS NULL)))
3770         AND ((tlinfo.father_step_father_birth_date = x_father_step_father_birth_dt )OR ((tlinfo.father_step_father_birth_date IS NULL) AND (x_father_step_father_birth_dt IS NULL)))
3771         AND ((tlinfo.mother_first_name_initial_txt = x_mother_first_name_initial )OR ((tlinfo.mother_first_name_initial_txt IS NULL) AND (x_mother_first_name_initial IS NULL)))
3772         AND ((tlinfo.mother_step_mother_birth_date = x_mother_step_mother_birth_dt )OR ((tlinfo.mother_step_mother_birth_date IS NULL) AND (x_mother_step_mother_birth_dt IS NULL)))
3773         AND ((tlinfo.parents_email_address_txt = x_parents_email_address_txt )OR ((tlinfo.parents_email_address_txt IS NULL) AND (x_parents_email_address_txt IS NULL)))
3774         AND ((tlinfo.address_change_type = x_address_change_type )OR ((tlinfo.address_change_type IS NULL) AND (x_address_change_type IS NULL)))
3775         AND ((tlinfo.cps_pushed_isir_flag = x_cps_pushed_isir_flag )OR ((tlinfo.cps_pushed_isir_flag IS NULL) AND (x_cps_pushed_isir_flag IS NULL)))
3776         AND ((tlinfo.electronic_transaction_type = x_electronic_transaction_type )OR ((tlinfo.electronic_transaction_type IS NULL) AND (x_electronic_transaction_type IS NULL)))
3777         AND ((tlinfo.sar_c_change_type = x_sar_c_change_type )OR ((tlinfo.sar_c_change_type IS NULL) AND (x_sar_c_change_type IS NULL)))
3778         AND ((tlinfo.father_ssn_match_type = x_father_ssn_match_type )OR ((tlinfo.father_ssn_match_type IS NULL) AND (x_father_ssn_match_type IS NULL)))
3779         AND ((tlinfo.mother_ssn_match_type = x_mother_ssn_match_type )OR ((tlinfo.mother_ssn_match_type IS NULL) AND (x_mother_ssn_match_type IS NULL)))
3780         AND ((tlinfo.reject_override_g_flag = x_reject_override_g_flag )OR ((tlinfo.reject_override_g_flag IS NULL) AND (x_reject_override_g_flag IS NULL)))
3781         AND ((tlinfo.dhs_verification_num_txt = x_dhs_verification_num_txt )OR ((tlinfo.dhs_verification_num_txt IS NULL) AND (x_dhs_verification_num_txt IS NULL)))
3782         AND ((tlinfo.data_file_name_txt = x_data_file_name_txt )OR ((tlinfo.data_file_name_txt IS NULL) AND (x_data_file_name_txt IS NULL)))
3783         AND ((tlinfo.message_class_txt = x_message_class_txt )OR ((tlinfo.message_class_txt IS NULL) AND (x_message_class_txt IS NULL)))
3784         AND ((tlinfo.reject_override_3_flag = x_reject_override_3_flag )OR ((tlinfo.reject_override_3_flag IS NULL) AND (x_reject_override_3_flag IS NULL)))
3785         AND ((tlinfo.reject_override_12_flag = x_reject_override_12_flag )OR ((tlinfo.reject_override_12_flag IS NULL) AND (x_reject_override_12_flag IS NULL)))
3786         AND ((tlinfo.reject_override_j_flag = x_reject_override_j_flag )OR ((tlinfo.reject_override_j_flag IS NULL) AND (x_reject_override_j_flag IS NULL)))
3787         AND ((tlinfo.reject_override_k_flag = x_reject_override_k_flag )OR ((tlinfo.reject_override_k_flag IS NULL) AND (x_reject_override_k_flag IS NULL)))
3788         AND ((tlinfo.rejected_status_change_flag = x_rejected_status_change_flag )OR ((tlinfo.rejected_status_change_flag IS NULL) AND (x_rejected_status_change_flag IS NULL)))
3789         AND ((tlinfo.verification_selection_flag = x_verification_selection_flag )OR ((tlinfo.verification_selection_flag IS NULL) AND (x_verification_selection_flag IS NULL)))
3790        ) THEN
3791       NULL;
3792     ELSE
3793       fnd_message.set_name('FND', 'FORM_RECORD_CHANGED');
3794       igs_ge_msg_stack.add;
3795       app_exception.raise_exception;
3796     END IF;
3797 
3798     RETURN;
3799 
3800   END lock_row;
3801 
3802 
3803   PROCEDURE update_row (
3804     x_rowid                             IN     VARCHAR2,
3805     x_isir_id                           IN     NUMBER,
3806     x_base_id                           IN     NUMBER,
3807     x_batch_year                        IN     NUMBER,
3808     x_transaction_num                   IN     VARCHAR2,
3809     x_current_ssn                       IN     VARCHAR2,
3810     x_ssn_name_change                   IN     VARCHAR2,
3811     x_original_ssn                      IN     VARCHAR2,
3812     x_orig_name_id                      IN     VARCHAR2,
3813     x_last_name                         IN     VARCHAR2,
3814     x_first_name                        IN     VARCHAR2,
3815     x_middle_initial                    IN     VARCHAR2,
3816     x_perm_mail_add                     IN     VARCHAR2,
3817     x_perm_city                         IN     VARCHAR2,
3818     x_perm_state                        IN     VARCHAR2,
3819     x_perm_zip_code                     IN     VARCHAR2,
3820     x_date_of_birth                     IN     DATE,
3821     x_phone_number                      IN     VARCHAR2,
3822     x_driver_license_number             IN     VARCHAR2,
3823     x_driver_license_state              IN     VARCHAR2,
3824     x_citizenship_status                IN     VARCHAR2,
3825     x_alien_reg_number                  IN     VARCHAR2,
3826     x_s_marital_status                  IN     VARCHAR2,
3827     x_s_marital_status_date             IN     DATE,
3828     x_summ_enrl_status                  IN     VARCHAR2,
3829     x_fall_enrl_status                  IN     VARCHAR2,
3830     x_winter_enrl_status                IN     VARCHAR2,
3831     x_spring_enrl_status                IN     VARCHAR2,
3832     x_summ2_enrl_status                 IN     VARCHAR2,
3833     x_fathers_highest_edu_level         IN     VARCHAR2,
3834     x_mothers_highest_edu_level         IN     VARCHAR2,
3835     x_s_state_legal_residence           IN     VARCHAR2,
3836     x_legal_residence_before_date       IN     VARCHAR2,
3837     x_s_legal_resd_date                 IN     DATE,
3838     x_ss_r_u_male                       IN     VARCHAR2,
3839     x_selective_service_reg             IN     VARCHAR2,
3840     x_degree_certification              IN     VARCHAR2,
3841     x_grade_level_in_college            IN     VARCHAR2,
3842     x_high_school_diploma_ged           IN     VARCHAR2,
3843     x_first_bachelor_deg_by_date        IN     VARCHAR2,
3844     x_interest_in_loan                  IN     VARCHAR2,
3845     x_interest_in_stud_employment       IN     VARCHAR2,
3846     x_drug_offence_conviction           IN     VARCHAR2,
3847     x_s_tax_return_status               IN     VARCHAR2,
3848     x_s_type_tax_return                 IN     VARCHAR2,
3849     x_s_elig_1040ez                     IN     VARCHAR2,
3850     x_s_adjusted_gross_income           IN     NUMBER,
3851     x_s_fed_taxes_paid                  IN     NUMBER,
3852     x_s_exemptions                      IN     NUMBER,
3853     x_s_income_from_work                IN     NUMBER,
3854     x_spouse_income_from_work           IN     NUMBER,
3855     x_s_toa_amt_from_wsa                IN     NUMBER,
3856     x_s_toa_amt_from_wsb                IN     NUMBER,
3857     x_s_toa_amt_from_wsc                IN     NUMBER,
3858     x_s_investment_networth             IN     NUMBER,
3859     x_s_busi_farm_networth              IN     NUMBER,
3860     x_s_cash_savings                    IN     NUMBER,
3861     x_va_months                         IN     NUMBER,
3862     x_va_amount                         IN     NUMBER,
3863     x_stud_dob_before_date              IN     VARCHAR2,
3864     x_deg_beyond_bachelor               IN     VARCHAR2,
3865     x_s_married                         IN     VARCHAR2,
3866     x_s_have_children                   IN     VARCHAR2,
3867     x_legal_dependents                  IN     VARCHAR2,
3868     x_orphan_ward_of_court              IN     VARCHAR2,
3869     x_s_veteran                         IN     VARCHAR2,
3870     x_p_marital_status                  IN     VARCHAR2,
3871     x_father_ssn                        IN     VARCHAR2,
3872     x_f_last_name                       IN     VARCHAR2,
3873     x_mother_ssn                        IN     VARCHAR2,
3874     x_m_last_name                       IN     VARCHAR2,
3875     x_p_num_family_member               IN     NUMBER,
3876     x_p_num_in_college                  IN     NUMBER,
3877     x_p_state_legal_residence           IN     VARCHAR2,
3878     x_p_state_legal_res_before_dt       IN     VARCHAR2,
3879     x_p_legal_res_date                  IN     DATE,
3880     x_age_older_parent                  IN     NUMBER,
3881     x_p_tax_return_status               IN     VARCHAR2,
3882     x_p_type_tax_return                 IN     VARCHAR2,
3883     x_p_elig_1040aez                    IN     VARCHAR2,
3884     x_p_adjusted_gross_income           IN     NUMBER,
3885     x_p_taxes_paid                      IN     NUMBER,
3886     x_p_exemptions                      IN     NUMBER,
3887     x_f_income_work                     IN     NUMBER,
3888     x_m_income_work                     IN     NUMBER,
3889     x_p_income_wsa                      IN     NUMBER,
3890     x_p_income_wsb                      IN     NUMBER,
3891     x_p_income_wsc                      IN     NUMBER,
3892     x_p_investment_networth             IN     NUMBER,
3893     x_p_business_networth               IN     NUMBER,
3894     x_p_cash_saving                     IN     NUMBER,
3895     x_s_num_family_members              IN     NUMBER,
3896     x_s_num_in_college                  IN     NUMBER,
3897     x_first_college                     IN     VARCHAR2,
3898     x_first_house_plan                  IN     VARCHAR2,
3899     x_second_college                    IN     VARCHAR2,
3900     x_second_house_plan                 IN     VARCHAR2,
3901     x_third_college                     IN     VARCHAR2,
3902     x_third_house_plan                  IN     VARCHAR2,
3903     x_fourth_college                    IN     VARCHAR2,
3904     x_fourth_house_plan                 IN     VARCHAR2,
3905     x_fifth_college                     IN     VARCHAR2,
3906     x_fifth_house_plan                  IN     VARCHAR2,
3907     x_sixth_college                     IN     VARCHAR2,
3908     x_sixth_house_plan                  IN     VARCHAR2,
3909     x_date_app_completed                IN     DATE,
3910     x_signed_by                         IN     VARCHAR2,
3911     x_preparer_ssn                      IN     VARCHAR2,
3912     x_preparer_emp_id_number            IN     VARCHAR2,
3913     x_preparer_sign                     IN     VARCHAR2,
3914     x_transaction_receipt_date          IN     DATE,
3915     x_dependency_override_ind           IN     VARCHAR2,
3916     x_faa_fedral_schl_code              IN     VARCHAR2,
3917     x_faa_adjustment                    IN     VARCHAR2,
3918     x_input_record_type                 IN     VARCHAR2,
3919     x_serial_number                     IN     NUMBER,
3920     x_batch_number                      IN     VARCHAR2,
3921     x_early_analysis_flag               IN     VARCHAR2,
3922     x_app_entry_source_code             IN     VARCHAR2,
3923     x_eti_destination_code              IN     VARCHAR2,
3924     x_reject_override_b                 IN     VARCHAR2,
3925     x_reject_override_n                 IN     VARCHAR2,
3926     x_reject_override_w                 IN     VARCHAR2,
3927     x_assum_override_1                  IN     VARCHAR2,
3928     x_assum_override_2                  IN     VARCHAR2,
3929     x_assum_override_3                  IN     VARCHAR2,
3930     x_assum_override_4                  IN     VARCHAR2,
3931     x_assum_override_5                  IN     VARCHAR2,
3932     x_assum_override_6                  IN     VARCHAR2,
3933     x_dependency_status                 IN     VARCHAR2,
3934     x_s_email_address                   IN     VARCHAR2,
3935     x_nslds_reason_code                 IN     VARCHAR2,
3936     x_app_receipt_date                  IN     DATE,
3937     x_processed_rec_type                IN     VARCHAR2,
3938     x_hist_correction_for_tran_id       IN     NUMBER,
3939     x_system_generated_indicator        IN     VARCHAR2,
3940     x_dup_request_indicator             IN     VARCHAR2,
3941     x_source_of_correction              IN     VARCHAR2,
3942     x_p_cal_tax_status                  IN     VARCHAR2,
3943     x_s_cal_tax_status                  IN     VARCHAR2,
3944     x_graduate_flag                     IN     VARCHAR2,
3945     x_auto_zero_efc                     IN     VARCHAR2,
3946     x_efc_change_flag                   IN     VARCHAR2,
3947     x_sarc_flag                         IN     VARCHAR2,
3948     x_simplified_need_test              IN     VARCHAR2,
3949     x_reject_reason_codes               IN     VARCHAR2,
3950     x_select_service_match_flag         IN     VARCHAR2,
3951     x_select_service_reg_flag           IN     VARCHAR2,
3952     x_ins_match_flag                    IN     VARCHAR2,
3953     x_ins_verification_number           IN     NUMBER,
3954     x_sec_ins_match_flag                IN     VARCHAR2,
3955     x_sec_ins_ver_number                IN     NUMBER,
3956     x_ssn_match_flag                    IN     VARCHAR2,
3957     x_ssa_citizenship_flag              IN     VARCHAR2,
3958     x_ssn_date_of_death                 IN     DATE,
3959     x_nslds_match_flag                  IN     VARCHAR2,
3960     x_va_match_flag                     IN     VARCHAR2,
3961     x_prisoner_match                    IN     VARCHAR2,
3962     x_verification_flag                 IN     VARCHAR2,
3963     x_subsequent_app_flag               IN     VARCHAR2,
3964     x_app_source_site_code              IN     VARCHAR2,
3965     x_tran_source_site_code             IN     VARCHAR2,
3966     x_drn                               IN     NUMBER,
3967     x_tran_process_date                 IN     DATE,
3968     x_computer_batch_number             IN     NUMBER,
3969     x_correction_flags                  IN     VARCHAR2,
3970     x_highlight_flags                   IN     VARCHAR2,
3971     x_paid_efc                          IN     NUMBER,
3972     x_primary_efc                       IN     NUMBER,
3973     x_secondary_efc                     IN     NUMBER,
3974     x_fed_pell_grant_efc_type           IN     VARCHAR2,
3975     x_primary_efc_type                  IN     VARCHAR2,
3976     x_sec_efc_type                      IN     VARCHAR2,
3977     x_primary_alternate_month_1         IN     NUMBER,
3978     x_primary_alternate_month_2         IN     NUMBER,
3979     x_primary_alternate_month_3         IN     NUMBER,
3980     x_primary_alternate_month_4         IN     NUMBER,
3981     x_primary_alternate_month_5         IN     NUMBER,
3982     x_primary_alternate_month_6         IN     NUMBER,
3983     x_primary_alternate_month_7         IN     NUMBER,
3984     x_primary_alternate_month_8         IN     NUMBER,
3985     x_primary_alternate_month_10        IN     NUMBER,
3986     x_primary_alternate_month_11        IN     NUMBER,
3987     x_primary_alternate_month_12        IN     NUMBER,
3988     x_sec_alternate_month_1             IN     NUMBER,
3989     x_sec_alternate_month_2             IN     NUMBER,
3990     x_sec_alternate_month_3             IN     NUMBER,
3991     x_sec_alternate_month_4             IN     NUMBER,
3992     x_sec_alternate_month_5             IN     NUMBER,
3993     x_sec_alternate_month_6             IN     NUMBER,
3994     x_sec_alternate_month_7             IN     NUMBER,
3995     x_sec_alternate_month_8             IN     NUMBER,
3996     x_sec_alternate_month_10            IN     NUMBER,
3997     x_sec_alternate_month_11            IN     NUMBER,
3998     x_sec_alternate_month_12            IN     NUMBER,
3999     x_total_income                      IN     NUMBER,
4000     x_allow_total_income                IN     NUMBER,
4001     x_state_tax_allow                   IN     NUMBER,
4002     x_employment_allow                  IN     NUMBER,
4003     x_income_protection_allow           IN     NUMBER,
4004     x_available_income                  IN     NUMBER,
4005     x_contribution_from_ai              IN     NUMBER,
4006     x_discretionary_networth            IN     NUMBER,
4007     x_efc_networth                      IN     NUMBER,
4008     x_asset_protect_allow               IN     NUMBER,
4009     x_parents_cont_from_assets          IN     NUMBER,
4010     x_adjusted_available_income         IN     NUMBER,
4011     x_total_student_contribution        IN     NUMBER,
4012     x_total_parent_contribution         IN     NUMBER,
4013     x_parents_contribution              IN     NUMBER,
4014     x_student_total_income              IN     NUMBER,
4015     x_sati                              IN     NUMBER,
4016     x_sic                               IN     NUMBER,
4017     x_sdnw                              IN     NUMBER,
4018     x_sca                               IN     NUMBER,
4019     x_fti                               IN     NUMBER,
4020     x_secti                             IN     NUMBER,
4021     x_secati                            IN     NUMBER,
4022     x_secstx                            IN     NUMBER,
4023     x_secea                             IN     NUMBER,
4024     x_secipa                            IN     NUMBER,
4025     x_secai                             IN     NUMBER,
4026     x_seccai                            IN     NUMBER,
4027     x_secdnw                            IN     NUMBER,
4028     x_secnw                             IN     NUMBER,
4029     x_secapa                            IN     NUMBER,
4030     x_secpca                            IN     NUMBER,
4031     x_secaai                            IN     NUMBER,
4032     x_sectsc                            IN     NUMBER,
4033     x_sectpc                            IN     NUMBER,
4034     x_secpc                             IN     NUMBER,
4035     x_secsti                            IN     NUMBER,
4036     x_secsic                            IN     NUMBER,
4037     x_secsati                           IN     NUMBER,
4038     x_secsdnw                           IN     NUMBER,
4039     x_secsca                            IN     NUMBER,
4040     x_secfti                            IN     NUMBER,
4041     x_a_citizenship                     IN     VARCHAR2,
4042     x_a_student_marital_status          IN     VARCHAR2,
4043     x_a_student_agi                     IN     NUMBER,
4044     x_a_s_us_tax_paid                   IN     NUMBER,
4045     x_a_s_income_work                   IN     NUMBER,
4046     x_a_spouse_income_work              IN     NUMBER,
4047     x_a_s_total_wsc                     IN     NUMBER,
4048     x_a_date_of_birth                   IN     VARCHAR2,
4049     x_a_student_married                 IN     VARCHAR2,
4050     x_a_have_children                   IN     VARCHAR2,
4051     x_a_s_have_dependents               IN     VARCHAR2,
4052     x_a_va_status                       IN     VARCHAR2,
4053     x_a_s_num_in_family                 IN     NUMBER,
4054     x_a_s_num_in_college                IN     NUMBER,
4055     x_a_p_marital_status                IN     VARCHAR2,
4056     x_a_father_ssn                      IN     VARCHAR2,
4057     x_a_mother_ssn                      IN     VARCHAR2,
4058     x_a_parents_num_family              IN     NUMBER,
4059     x_a_parents_num_college             IN     NUMBER,
4060     x_a_parents_agi                     IN     NUMBER,
4061     x_a_p_us_tax_paid                   IN     NUMBER,
4062     x_a_f_work_income                   IN     NUMBER,
4063     x_a_m_work_income                   IN     NUMBER,
4064     x_a_p_total_wsc                     IN     NUMBER,
4065     x_comment_codes                     IN     VARCHAR2,
4066     x_sar_ack_comm_code                 IN     VARCHAR2,
4067     x_pell_grant_elig_flag              IN     VARCHAR2,
4068     x_reprocess_reason_code             IN     VARCHAR2,
4069     x_duplicate_date                    IN     DATE,
4070     x_isir_transaction_type             IN     VARCHAR2,
4071     x_fedral_schl_code_indicator        IN     VARCHAR2,
4072     x_multi_school_code_flags           IN     VARCHAR2,
4073     x_dup_ssn_indicator                 IN     VARCHAR2,
4074     x_payment_isir                      IN     VARCHAR2,
4075     x_receipt_status                    IN     VARCHAR2,
4076     x_isir_receipt_completed            IN     VARCHAR2,
4077     x_mode                              IN     VARCHAR2,
4078     x_system_record_type                IN     VARCHAR2,
4079     x_verif_track_flag                  IN     VARCHAR2,
4080     x_active_isir                       IN     VARCHAR2,
4081     x_fafsa_data_verify_flags           IN     VARCHAR2,
4082     x_reject_override_a                 IN     VARCHAR2,
4083     x_reject_override_c                 IN     VARCHAR2,
4084     x_parent_marital_status_date        IN     DATE,
4085     x_legacy_record_flag                IN     VARCHAR2,
4086     x_father_first_name_initial         IN     VARCHAR2,
4087     x_father_step_father_birth_dt       IN     DATE    ,
4088     x_mother_first_name_initial         IN     VARCHAR2,
4089     x_mother_step_mother_birth_dt       IN     DATE    ,
4090     x_parents_email_address_txt         IN     VARCHAR2,
4091     x_address_change_type               IN     VARCHAR2,
4092     x_cps_pushed_isir_flag              IN     VARCHAR2,
4093     x_electronic_transaction_type       IN     VARCHAR2,
4094     x_sar_c_change_type                 IN     VARCHAR2,
4095     x_father_ssn_match_type             IN     VARCHAR2,
4096     x_mother_ssn_match_type             IN     VARCHAR2,
4097     x_reject_override_g_flag            IN     VARCHAR2,
4098     x_dhs_verification_num_txt          IN     VARCHAR2,
4099     x_data_file_name_txt                IN     VARCHAR2,
4100     x_message_class_txt                 IN     VARCHAR2,
4101     x_reject_override_3_flag            IN     VARCHAR2,
4102     x_reject_override_12_flag           IN     VARCHAR2,
4103     x_reject_override_j_flag            IN     VARCHAR2,
4104     x_reject_override_k_flag            IN     VARCHAR2,
4105     x_rejected_status_change_flag       IN     VARCHAR2,
4106     x_verification_selection_flag       IN     VARCHAR2
4107   ) AS
4108   /*
4109   ||  Created By : rasingh
4110   ||  Created On : 06-DEC-2000
4111   ||  Purpose : Handles the UPDATE DML logic for the table.
4112   ||  Known limitations, enhancements or remarks :
4113   ||  Change History :
4114   ||  Who             When            What
4115   ||  (reverse chronological order - newest change first)
4116   */
4117 
4118     -- fetch the student details
4119     CURSOR cur_fa_base( cp_base_id igf_ap_fa_base_rec_all.base_id%TYPE) IS
4120       SELECT *
4121         FROM igf_ap_fa_base_rec
4122        WHERE base_id = cp_base_id
4123        FOR UPDATE NOWAIT ;
4124 
4125     lcur_fa_base_rec             cur_fa_base%ROWTYPE;
4126 
4127     x_last_update_date           DATE ;
4128     x_last_updated_by            NUMBER;
4129     x_last_update_login          NUMBER;
4130     x_request_id                 NUMBER;
4131     x_program_id                 NUMBER;
4132     x_program_application_id     NUMBER;
4133     x_program_update_date        DATE;
4134 
4135   BEGIN
4136 
4137     x_last_update_date := SYSDATE;
4138     IF (X_MODE = 'I') THEN
4139       x_last_updated_by := 1;
4140       x_last_update_login := 0;
4141     ELSIF (x_mode = 'R') THEN
4142       x_last_updated_by := fnd_global.user_id;
4143       IF x_last_updated_by IS NULL THEN
4144         x_last_updated_by := -1;
4145       END IF;
4146       x_last_update_login := fnd_global.login_id;
4147       IF (x_last_update_login IS NULL) THEN
4148         x_last_update_login := -1;
4149       END IF;
4150     ELSE
4151       fnd_message.set_name( 'FND', 'SYSTEM-INVALID ARGS');
4152       igs_ge_msg_stack.add;
4153       app_exception.raise_exception;
4154     END IF;
4155 
4156     before_dml(
4157       p_action                            => 'UPDATE',
4158       x_rowid                             => x_rowid,
4159       x_isir_id                           => x_isir_id,
4160       x_base_id                           => x_base_id,
4161       x_batch_year                        => x_batch_year,
4162       x_transaction_num                   => x_transaction_num,
4163       x_current_ssn                       => x_current_ssn,
4164       x_ssn_name_change                   => x_ssn_name_change,
4165       x_original_ssn                      => x_original_ssn,
4166       x_orig_name_id                      => x_orig_name_id,
4167       x_last_name                         => x_last_name,
4168       x_first_name                        => x_first_name,
4169       x_middle_initial                    => x_middle_initial,
4170       x_perm_mail_add                     => x_perm_mail_add,
4171       x_perm_city                         => x_perm_city,
4172       x_perm_state                        => x_perm_state,
4173       x_perm_zip_code                     => x_perm_zip_code,
4174       x_date_of_birth                     => x_date_of_birth,
4175       x_phone_number                      => x_phone_number,
4176       x_driver_license_number             => x_driver_license_number,
4177       x_driver_license_state              => x_driver_license_state,
4178       x_citizenship_status                => x_citizenship_status,
4179       x_alien_reg_number                  => x_alien_reg_number,
4180       x_s_marital_status                  => x_s_marital_status,
4181       x_s_marital_status_date             => x_s_marital_status_date,
4182       x_summ_enrl_status                  => x_summ_enrl_status,
4183       x_fall_enrl_status                  => x_fall_enrl_status,
4184       x_winter_enrl_status                => x_winter_enrl_status,
4185       x_spring_enrl_status                => x_spring_enrl_status,
4186       x_summ2_enrl_status                 => x_summ2_enrl_status,
4187       x_fathers_highest_edu_level         => x_fathers_highest_edu_level,
4188       x_mothers_highest_edu_level         => x_mothers_highest_edu_level,
4189       x_s_state_legal_residence           => x_s_state_legal_residence,
4190       x_legal_residence_before_date       => x_legal_residence_before_date,
4191       x_s_legal_resd_date                 => x_s_legal_resd_date,
4192       x_ss_r_u_male                       => x_ss_r_u_male,
4193       x_selective_service_reg             => x_selective_service_reg,
4194       x_degree_certification              => x_degree_certification,
4195       x_grade_level_in_college            => x_grade_level_in_college,
4196       x_high_school_diploma_ged           => x_high_school_diploma_ged,
4197       x_first_bachelor_deg_by_date        => x_first_bachelor_deg_by_date,
4198       x_interest_in_loan                  => x_interest_in_loan,
4199       x_interest_in_stud_employment       => x_interest_in_stud_employment,
4200       x_drug_offence_conviction           => x_drug_offence_conviction,
4201       x_s_tax_return_status               => x_s_tax_return_status,
4202       x_s_type_tax_return                 => x_s_type_tax_return,
4203       x_s_elig_1040ez                     => x_s_elig_1040ez,
4204       x_s_adjusted_gross_income           => x_s_adjusted_gross_income,
4205       x_s_fed_taxes_paid                  => x_s_fed_taxes_paid,
4206       x_s_exemptions                      => x_s_exemptions,
4207       x_s_income_from_work                => x_s_income_from_work,
4208       x_spouse_income_from_work           => x_spouse_income_from_work,
4209       x_s_toa_amt_from_wsa                => x_s_toa_amt_from_wsa,
4210       x_s_toa_amt_from_wsb                => x_s_toa_amt_from_wsb,
4211       x_s_toa_amt_from_wsc                => x_s_toa_amt_from_wsc,
4212       x_s_investment_networth             => x_s_investment_networth,
4213       x_s_busi_farm_networth              => x_s_busi_farm_networth,
4214       x_s_cash_savings                    => x_s_cash_savings,
4215       x_va_months                         => x_va_months,
4216       x_va_amount                         => x_va_amount,
4217       x_stud_dob_before_date              => x_stud_dob_before_date,
4218       x_deg_beyond_bachelor               => x_deg_beyond_bachelor,
4219       x_s_married                         => x_s_married,
4220       x_s_have_children                   => x_s_have_children,
4221       x_legal_dependents                  => x_legal_dependents,
4222       x_orphan_ward_of_court              => x_orphan_ward_of_court,
4223       x_s_veteran                         => x_s_veteran,
4224       x_p_marital_status                  => x_p_marital_status,
4225       x_father_ssn                        => x_father_ssn,
4226       x_f_last_name                       => x_f_last_name,
4227       x_mother_ssn                        => x_mother_ssn,
4228       x_m_last_name                       => x_m_last_name,
4229       x_p_num_family_member               => x_p_num_family_member,
4230       x_p_num_in_college                  => x_p_num_in_college,
4231       x_p_state_legal_residence           => x_p_state_legal_residence,
4232       x_p_state_legal_res_before_dt       => x_p_state_legal_res_before_dt,
4233       x_p_legal_res_date                  => x_p_legal_res_date,
4234       x_age_older_parent                  => x_age_older_parent,
4235       x_p_tax_return_status               => x_p_tax_return_status,
4236       x_p_type_tax_return                 => x_p_type_tax_return,
4237       x_p_elig_1040aez                    => x_p_elig_1040aez,
4238       x_p_adjusted_gross_income           => x_p_adjusted_gross_income,
4239       x_p_taxes_paid                      => x_p_taxes_paid,
4240       x_p_exemptions                      => x_p_exemptions,
4241       x_f_income_work                     => x_f_income_work,
4242       x_m_income_work                     => x_m_income_work,
4243       x_p_income_wsa                      => x_p_income_wsa,
4244       x_p_income_wsb                      => x_p_income_wsb,
4245       x_p_income_wsc                      => x_p_income_wsc,
4246       x_p_investment_networth             => x_p_investment_networth,
4247       x_p_business_networth               => x_p_business_networth,
4248       x_p_cash_saving                     => x_p_cash_saving,
4249       x_s_num_family_members              => x_s_num_family_members,
4250       x_s_num_in_college                  => x_s_num_in_college,
4251       x_first_college                     => x_first_college,
4252       x_first_house_plan                  => x_first_house_plan,
4253       x_second_college                    => x_second_college,
4254       x_second_house_plan                 => x_second_house_plan,
4255       x_third_college                     => x_third_college,
4256       x_third_house_plan                  => x_third_house_plan,
4257       x_fourth_college                    => x_fourth_college,
4258       x_fourth_house_plan                 => x_fourth_house_plan,
4259       x_fifth_college                     => x_fifth_college,
4260       x_fifth_house_plan                  => x_fifth_house_plan,
4261       x_sixth_college                     => x_sixth_college,
4262       x_sixth_house_plan                  => x_sixth_house_plan,
4263       x_date_app_completed                => x_date_app_completed,
4264       x_signed_by                         => x_signed_by,
4265       x_preparer_ssn                      => x_preparer_ssn,
4266       x_preparer_emp_id_number            => x_preparer_emp_id_number,
4267       x_preparer_sign                     => x_preparer_sign,
4268       x_transaction_receipt_date          => x_transaction_receipt_date,
4269       x_dependency_override_ind           => x_dependency_override_ind,
4270       x_faa_fedral_schl_code              => x_faa_fedral_schl_code,
4271       x_faa_adjustment                    => x_faa_adjustment,
4272       x_input_record_type                 => x_input_record_type,
4273       x_serial_number                     => x_serial_number,
4274       x_batch_number                      => x_batch_number,
4275       x_early_analysis_flag               => x_early_analysis_flag,
4276       x_app_entry_source_code             => x_app_entry_source_code,
4277       x_eti_destination_code              => x_eti_destination_code,
4278       x_reject_override_b                 => x_reject_override_b,
4279       x_reject_override_n                 => x_reject_override_n,
4280       x_reject_override_w                 => x_reject_override_w,
4281       x_assum_override_1                  => x_assum_override_1,
4282       x_assum_override_2                  => x_assum_override_2,
4283       x_assum_override_3                  => x_assum_override_3,
4284       x_assum_override_4                  => x_assum_override_4,
4285       x_assum_override_5                  => x_assum_override_5,
4286       x_assum_override_6                  => x_assum_override_6,
4287       x_dependency_status                 => x_dependency_status,
4288       x_s_email_address                   => x_s_email_address,
4289       x_nslds_reason_code                 => x_nslds_reason_code,
4290       x_app_receipt_date                  => x_app_receipt_date,
4291       x_processed_rec_type                => x_processed_rec_type,
4292       x_hist_correction_for_tran_id       => x_hist_correction_for_tran_id,
4293       x_system_generated_indicator        => x_system_generated_indicator,
4294       x_dup_request_indicator             => x_dup_request_indicator,
4295       x_source_of_correction              => x_source_of_correction,
4296       x_p_cal_tax_status                  => x_p_cal_tax_status,
4297       x_s_cal_tax_status                  => x_s_cal_tax_status,
4298       x_graduate_flag                     => x_graduate_flag,
4299       x_auto_zero_efc                     => x_auto_zero_efc,
4300       x_efc_change_flag                   => x_efc_change_flag,
4301       x_sarc_flag                         => x_sarc_flag,
4302       x_simplified_need_test              => x_simplified_need_test,
4303       x_reject_reason_codes               => x_reject_reason_codes,
4304       x_select_service_match_flag         => x_select_service_match_flag,
4305       x_select_service_reg_flag           => x_select_service_reg_flag,
4306       x_ins_match_flag                    => x_ins_match_flag,
4307       x_ins_verification_number           => x_ins_verification_number,
4308       x_sec_ins_match_flag                => x_sec_ins_match_flag,
4309       x_sec_ins_ver_number                => x_sec_ins_ver_number,
4310       x_ssn_match_flag                    => x_ssn_match_flag,
4311       x_ssa_citizenship_flag              => x_ssa_citizenship_flag,
4312       x_ssn_date_of_death                 => x_ssn_date_of_death,
4313       x_nslds_match_flag                  => x_nslds_match_flag,
4314       x_va_match_flag                     => x_va_match_flag,
4315       x_prisoner_match                    => x_prisoner_match,
4316       x_verification_flag                 => x_verification_flag,
4317       x_subsequent_app_flag               => x_subsequent_app_flag,
4318       x_app_source_site_code              => x_app_source_site_code,
4319       x_tran_source_site_code             => x_tran_source_site_code,
4320       x_drn                               => x_drn,
4321       x_tran_process_date                 => x_tran_process_date,
4322       x_computer_batch_number             => x_computer_batch_number,
4323       x_correction_flags                  => x_correction_flags,
4324       x_highlight_flags                   => x_highlight_flags,
4325       x_paid_efc                          => x_paid_efc,
4326       x_primary_efc                       => x_primary_efc,
4327       x_secondary_efc                     => x_secondary_efc,
4328       x_fed_pell_grant_efc_type           => x_fed_pell_grant_efc_type,
4329       x_primary_efc_type                  => x_primary_efc_type,
4330       x_sec_efc_type                      => x_sec_efc_type,
4331       x_primary_alternate_month_1         => x_primary_alternate_month_1,
4332       x_primary_alternate_month_2         => x_primary_alternate_month_2,
4333       x_primary_alternate_month_3         => x_primary_alternate_month_3,
4334       x_primary_alternate_month_4         => x_primary_alternate_month_4,
4335       x_primary_alternate_month_5         => x_primary_alternate_month_5,
4336       x_primary_alternate_month_6         => x_primary_alternate_month_6,
4337       x_primary_alternate_month_7         => x_primary_alternate_month_7,
4338       x_primary_alternate_month_8         => x_primary_alternate_month_8,
4339       x_primary_alternate_month_10        => x_primary_alternate_month_10,
4340       x_primary_alternate_month_11        => x_primary_alternate_month_11,
4341       x_primary_alternate_month_12        => x_primary_alternate_month_12,
4342       x_sec_alternate_month_1             => x_sec_alternate_month_1,
4343       x_sec_alternate_month_2             => x_sec_alternate_month_2,
4344       x_sec_alternate_month_3             => x_sec_alternate_month_3,
4345       x_sec_alternate_month_4             => x_sec_alternate_month_4,
4346       x_sec_alternate_month_5             => x_sec_alternate_month_5,
4347       x_sec_alternate_month_6             => x_sec_alternate_month_6,
4348       x_sec_alternate_month_7             => x_sec_alternate_month_7,
4349       x_sec_alternate_month_8             => x_sec_alternate_month_8,
4350       x_sec_alternate_month_10            => x_sec_alternate_month_10,
4351       x_sec_alternate_month_11            => x_sec_alternate_month_11,
4352       x_sec_alternate_month_12            => x_sec_alternate_month_12,
4353       x_total_income                      => x_total_income,
4354       x_allow_total_income                => x_allow_total_income,
4355       x_state_tax_allow                   => x_state_tax_allow,
4356       x_employment_allow                  => x_employment_allow,
4357       x_income_protection_allow           => x_income_protection_allow,
4358       x_available_income                  => x_available_income,
4359       x_contribution_from_ai              => x_contribution_from_ai,
4360       x_discretionary_networth            => x_discretionary_networth,
4361       x_efc_networth                      => x_efc_networth,
4362       x_asset_protect_allow               => x_asset_protect_allow,
4363       x_parents_cont_from_assets          => x_parents_cont_from_assets,
4364       x_adjusted_available_income         => x_adjusted_available_income,
4365       x_total_student_contribution        => x_total_student_contribution,
4366       x_total_parent_contribution         => x_total_parent_contribution,
4367       x_parents_contribution              => x_parents_contribution,
4368       x_student_total_income              => x_student_total_income,
4369       x_sati                              => x_sati,
4370       x_sic                               => x_sic,
4371       x_sdnw                              => x_sdnw,
4372       x_sca                               => x_sca,
4373       x_fti                               => x_fti,
4374       x_secti                             => x_secti,
4375       x_secati                            => x_secati,
4376       x_secstx                            => x_secstx,
4377       x_secea                             => x_secea,
4378       x_secipa                            => x_secipa,
4379       x_secai                             => x_secai,
4380       x_seccai                            => x_seccai,
4381       x_secdnw                            => x_secdnw,
4382       x_secnw                             => x_secnw,
4383       x_secapa                            => x_secapa,
4384       x_secpca                            => x_secpca,
4385       x_secaai                            => x_secaai,
4386       x_sectsc                            => x_sectsc,
4387       x_sectpc                            => x_sectpc,
4388       x_secpc                             => x_secpc,
4389       x_secsti                            => x_secsti,
4390       x_secsic                            => x_secsic,
4391       x_secsati                           => x_secsati,
4392       x_secsdnw                           => x_secsdnw,
4393       x_secsca                            => x_secsca,
4394       x_secfti                            => x_secfti,
4395       x_a_citizenship                     => x_a_citizenship,
4396       x_a_student_marital_status          => x_a_student_marital_status,
4397       x_a_student_agi                     => x_a_student_agi,
4398       x_a_s_us_tax_paid                   => x_a_s_us_tax_paid,
4399       x_a_s_income_work                   => x_a_s_income_work,
4400       x_a_spouse_income_work              => x_a_spouse_income_work,
4401       x_a_s_total_wsc                     => x_a_s_total_wsc,
4402       x_a_date_of_birth                   => x_a_date_of_birth,
4403       x_a_student_married                 => x_a_student_married,
4404       x_a_have_children                   => x_a_have_children,
4405       x_a_s_have_dependents               => x_a_s_have_dependents,
4406       x_a_va_status                       => x_a_va_status,
4407       x_a_s_num_in_family                 => x_a_s_num_in_family,
4408       x_a_s_num_in_college                => x_a_s_num_in_college,
4409       x_a_p_marital_status                => x_a_p_marital_status,
4410       x_a_father_ssn                      => x_a_father_ssn,
4411       x_a_mother_ssn                      => x_a_mother_ssn,
4412       x_a_parents_num_family              => x_a_parents_num_family,
4413       x_a_parents_num_college             => x_a_parents_num_college,
4414       x_a_parents_agi                     => x_a_parents_agi,
4415       x_a_p_us_tax_paid                   => x_a_p_us_tax_paid,
4416       x_a_f_work_income                   => x_a_f_work_income,
4417       x_a_m_work_income                   => x_a_m_work_income,
4418       x_a_p_total_wsc                     => x_a_p_total_wsc,
4419       x_comment_codes                     => x_comment_codes,
4420       x_sar_ack_comm_code                 => x_sar_ack_comm_code,
4421       x_pell_grant_elig_flag              => x_pell_grant_elig_flag,
4422       x_reprocess_reason_code             => x_reprocess_reason_code,
4423       x_duplicate_date                    => x_duplicate_date,
4424       x_isir_transaction_type             => x_isir_transaction_type,
4425       x_fedral_schl_code_indicator        => x_fedral_schl_code_indicator,
4426       x_multi_school_code_flags           => x_multi_school_code_flags,
4427       x_dup_ssn_indicator                 => x_dup_ssn_indicator,
4428       x_payment_isir                      => x_payment_isir,
4429       x_receipt_status                    => x_receipt_status,
4430       x_isir_receipt_completed            => x_isir_receipt_completed,
4431       x_creation_date                     => x_last_update_date,
4432       x_created_by                        => x_last_updated_by,
4433       x_last_update_date                  => x_last_update_date,
4434       x_last_updated_by                   => x_last_updated_by,
4435       x_last_update_login                 => x_last_update_login,
4436       x_system_record_type                => X_system_record_type,
4437       x_verif_track_flag                  => x_verif_track_flag,
4438       x_active_isir                       => x_active_isir,
4439       x_fafsa_data_verify_flags           => x_fafsa_data_verify_flags,
4440       x_reject_override_a                 => x_reject_override_a,
4441       x_reject_override_c                 => x_reject_override_c,
4442       x_parent_marital_status_date        => x_parent_marital_status_date,
4443       x_legacy_record_flag                => x_legacy_record_flag,
4444        x_father_first_name_initial        => x_father_first_name_initial,
4445       x_father_step_father_birth_dt       => x_father_step_father_birth_dt,
4446       x_mother_first_name_initial         => x_mother_first_name_initial,
4447       x_mother_step_mother_birth_dt       => x_mother_step_mother_birth_dt,
4448       x_parents_email_address_txt         => x_parents_email_address_txt,
4449       x_address_change_type               => x_address_change_type,
4450       x_cps_pushed_isir_flag              => x_cps_pushed_isir_flag,
4451       x_electronic_transaction_type       => x_electronic_transaction_type,
4452       x_sar_c_change_type                 => x_sar_c_change_type,
4453       x_father_ssn_match_type             => x_father_ssn_match_type,
4454       x_mother_ssn_match_type             => x_mother_ssn_match_type,
4455       x_reject_override_g_flag            => x_reject_override_g_flag,
4456       x_dhs_verification_num_txt          => x_dhs_verification_num_txt,
4457       x_data_file_name_txt                => x_data_file_name_txt,
4458       x_message_class_txt                 => x_message_class_txt,
4459       x_reject_override_3_flag            => x_reject_override_3_flag,
4460       x_reject_override_12_flag           => x_reject_override_12_flag,
4461       x_reject_override_j_flag            => x_reject_override_j_flag,
4462       x_reject_override_k_flag            => x_reject_override_k_flag,
4463       x_rejected_status_change_flag       => x_rejected_status_change_flag,
4464       x_verification_selection_flag       => x_verification_selection_flag
4465     );
4466 
4467     IF (x_mode = 'R') THEN
4468       x_request_id := fnd_global.conc_request_id;
4469       x_program_id := fnd_global.conc_program_id;
4470       x_program_application_id := fnd_global.prog_appl_id;
4471       IF (x_request_id =  -1) THEN
4472         x_request_id := old_references.request_id;
4473         x_program_id := old_references.program_id;
4474         x_program_application_id := old_references.program_application_id;
4475         x_program_update_date := old_references.program_update_date;
4476       ELSE
4477         x_program_update_date := SYSDATE;
4478       END IF;
4479     END IF;
4480 
4481     UPDATE igf_ap_isir_matched_all
4482       SET
4483         base_id                           = new_references.base_id,
4484         batch_year                        = new_references.batch_year,
4485         transaction_num                   = new_references.transaction_num,
4486         current_ssn                       = new_references.current_ssn,
4487         ssn_name_change                   = new_references.ssn_name_change,
4488         original_ssn                      = new_references.original_ssn,
4489         orig_name_id                      = new_references.orig_name_id,
4490         last_name                         = new_references.last_name,
4491         first_name                        = new_references.first_name,
4492         middle_initial                    = new_references.middle_initial,
4493         perm_mail_add                     = new_references.perm_mail_add,
4494         perm_city                         = new_references.perm_city,
4495         perm_state                        = new_references.perm_state,
4496         perm_zip_code                     = new_references.perm_zip_code,
4497         date_of_birth                     = new_references.date_of_birth,
4498         phone_number                      = new_references.phone_number,
4499         driver_license_number             = new_references.driver_license_number,
4500         driver_license_state              = new_references.driver_license_state,
4501         citizenship_status                = new_references.citizenship_status,
4502         alien_reg_number                  = new_references.alien_reg_number,
4503         s_marital_status                  = new_references.s_marital_status,
4504         s_marital_status_date             = new_references.s_marital_status_date,
4505         summ_enrl_status                  = new_references.summ_enrl_status,
4506         fall_enrl_status                  = new_references.fall_enrl_status,
4507         winter_enrl_status                = new_references.winter_enrl_status,
4508         spring_enrl_status                = new_references.spring_enrl_status,
4509         summ2_enrl_status                 = new_references.summ2_enrl_status,
4510         fathers_highest_edu_level         = new_references.fathers_highest_edu_level,
4511         mothers_highest_edu_level         = new_references.mothers_highest_edu_level,
4512         s_state_legal_residence           = new_references.s_state_legal_residence,
4513         legal_residence_before_date       = new_references.legal_residence_before_date,
4514         s_legal_resd_date                 = new_references.s_legal_resd_date,
4515         ss_r_u_male                       = new_references.ss_r_u_male,
4516         selective_service_reg             = new_references.selective_service_reg,
4517         degree_certification              = new_references.degree_certification,
4518         grade_level_in_college            = new_references.grade_level_in_college,
4519         high_school_diploma_ged           = new_references.high_school_diploma_ged,
4520         first_bachelor_deg_by_date        = new_references.first_bachelor_deg_by_date,
4521         interest_in_loan                  = new_references.interest_in_loan,
4522         interest_in_stud_employment       = new_references.interest_in_stud_employment,
4523         drug_offence_conviction           = new_references.drug_offence_conviction,
4524         s_tax_return_status               = new_references.s_tax_return_status,
4525         s_type_tax_return                 = new_references.s_type_tax_return,
4526         s_elig_1040ez                     = new_references.s_elig_1040ez,
4527         s_adjusted_gross_income           = new_references.s_adjusted_gross_income,
4528         s_fed_taxes_paid                  = new_references.s_fed_taxes_paid,
4529         s_exemptions                      = new_references.s_exemptions,
4530         s_income_from_work                = new_references.s_income_from_work,
4531         spouse_income_from_work           = new_references.spouse_income_from_work,
4532         s_toa_amt_from_wsa                = new_references.s_toa_amt_from_wsa,
4533         s_toa_amt_from_wsb                = new_references.s_toa_amt_from_wsb,
4534         s_toa_amt_from_wsc                = new_references.s_toa_amt_from_wsc,
4535         s_investment_networth             = new_references.s_investment_networth,
4536         s_busi_farm_networth              = new_references.s_busi_farm_networth,
4537         s_cash_savings                    = new_references.s_cash_savings,
4538         va_months                         = new_references.va_months,
4539         va_amount                         = new_references.va_amount,
4540         stud_dob_before_date              = new_references.stud_dob_before_date,
4541         deg_beyond_bachelor               = new_references.deg_beyond_bachelor,
4542         s_married                         = new_references.s_married,
4543         s_have_children                   = new_references.s_have_children,
4544         legal_dependents                  = new_references.legal_dependents,
4545         orphan_ward_of_court              = new_references.orphan_ward_of_court,
4546         s_veteran                         = new_references.s_veteran,
4547         p_marital_status                  = new_references.p_marital_status,
4548         father_ssn                        = new_references.father_ssn,
4549         f_last_name                       = new_references.f_last_name,
4550         mother_ssn                        = new_references.mother_ssn,
4551         m_last_name                       = new_references.m_last_name,
4552         p_num_family_member               = new_references.p_num_family_member,
4553         p_num_in_college                  = new_references.p_num_in_college,
4554         p_state_legal_residence           = new_references.p_state_legal_residence,
4555         p_state_legal_res_before_dt       = new_references.p_state_legal_res_before_dt,
4556         p_legal_res_date                  = new_references.p_legal_res_date,
4557         age_older_parent                  = new_references.age_older_parent,
4558         p_tax_return_status               = new_references.p_tax_return_status,
4559         p_type_tax_return                 = new_references.p_type_tax_return,
4560         p_elig_1040aez                    = new_references.p_elig_1040aez,
4561         p_adjusted_gross_income           = new_references.p_adjusted_gross_income,
4562         p_taxes_paid                      = new_references.p_taxes_paid,
4563         p_exemptions                      = new_references.p_exemptions,
4564         f_income_work                     = new_references.f_income_work,
4565         m_income_work                     = new_references.m_income_work,
4566         p_income_wsa                      = new_references.p_income_wsa,
4567         p_income_wsb                      = new_references.p_income_wsb,
4568         p_income_wsc                      = new_references.p_income_wsc,
4569         p_investment_networth             = new_references.p_investment_networth,
4570         p_business_networth               = new_references.p_business_networth,
4571         p_cash_saving                     = new_references.p_cash_saving,
4572         s_num_family_members              = new_references.s_num_family_members,
4573         s_num_in_college                  = new_references.s_num_in_college,
4574         first_college                     = new_references.first_college,
4575         first_house_plan                  = new_references.first_house_plan,
4576         second_college                    = new_references.second_college,
4577         second_house_plan                 = new_references.second_house_plan,
4578         third_college                     = new_references.third_college,
4579         third_house_plan                  = new_references.third_house_plan,
4580         fourth_college                    = new_references.fourth_college,
4581         fourth_house_plan                 = new_references.fourth_house_plan,
4582         fifth_college                     = new_references.fifth_college,
4583         fifth_house_plan                  = new_references.fifth_house_plan,
4584         sixth_college                     = new_references.sixth_college,
4585         sixth_house_plan                  = new_references.sixth_house_plan,
4586         date_app_completed                = new_references.date_app_completed,
4587         signed_by                         = new_references.signed_by,
4588         preparer_ssn                      = new_references.preparer_ssn,
4589         preparer_emp_id_number            = new_references.preparer_emp_id_number,
4590         preparer_sign                     = new_references.preparer_sign,
4591         transaction_receipt_date          = new_references.transaction_receipt_date,
4592         dependency_override_ind           = new_references.dependency_override_ind,
4593         faa_fedral_schl_code              = new_references.faa_fedral_schl_code,
4594         faa_adjustment                    = new_references.faa_adjustment,
4595         input_record_type                 = new_references.input_record_type,
4596         serial_number                     = new_references.serial_number,
4597         batch_number                      = new_references.batch_number,
4598         early_analysis_flag               = new_references.early_analysis_flag,
4599         app_entry_source_code             = new_references.app_entry_source_code,
4600         eti_destination_code              = new_references.eti_destination_code,
4601         reject_override_b                 = new_references.reject_override_b,
4602         reject_override_n                 = new_references.reject_override_n,
4603         reject_override_w                 = new_references.reject_override_w,
4604         assum_override_1                  = new_references.assum_override_1,
4605         assum_override_2                  = new_references.assum_override_2,
4606         assum_override_3                  = new_references.assum_override_3,
4607         assum_override_4                  = new_references.assum_override_4,
4608         assum_override_5                  = new_references.assum_override_5,
4609         assum_override_6                  = new_references.assum_override_6,
4610         dependency_status                 = new_references.dependency_status,
4611         s_email_address                   = new_references.s_email_address,
4612         nslds_reason_code                 = new_references.nslds_reason_code,
4613         app_receipt_date                  = new_references.app_receipt_date,
4614         processed_rec_type                = new_references.processed_rec_type,
4615         hist_correction_for_tran_id       = new_references.hist_correction_for_tran_id,
4616         system_generated_indicator        = new_references.system_generated_indicator,
4617         dup_request_indicator             = new_references.dup_request_indicator,
4618         source_of_correction              = new_references.source_of_correction,
4619         p_cal_tax_status                  = new_references.p_cal_tax_status,
4620         s_cal_tax_status                  = new_references.s_cal_tax_status,
4621         graduate_flag                     = new_references.graduate_flag,
4622         auto_zero_efc                     = new_references.auto_zero_efc,
4623         efc_change_flag                   = new_references.efc_change_flag,
4624         sarc_flag                         = new_references.sarc_flag,
4625         simplified_need_test              = new_references.simplified_need_test,
4626         reject_reason_codes               = new_references.reject_reason_codes,
4627         select_service_match_flag         = new_references.select_service_match_flag,
4628         select_service_reg_flag           = new_references.select_service_reg_flag,
4629         ins_match_flag                    = new_references.ins_match_flag,
4630         sec_ins_match_flag                = new_references.sec_ins_match_flag,
4631         sec_ins_ver_number                = new_references.sec_ins_ver_number,
4632         ssn_match_flag                    = new_references.ssn_match_flag,
4633         ssa_citizenship_flag              = new_references.ssa_citizenship_flag,
4634         ssn_date_of_death                 = new_references.ssn_date_of_death,
4635         nslds_match_flag                  = new_references.nslds_match_flag,
4636         va_match_flag                     = new_references.va_match_flag,
4637         prisoner_match                    = new_references.prisoner_match,
4638         verification_flag                 = new_references.verification_flag,
4639         subsequent_app_flag               = new_references.subsequent_app_flag,
4640         app_source_site_code              = new_references.app_source_site_code,
4641         tran_source_site_code             = new_references.tran_source_site_code,
4642         drn                               = new_references.drn,
4643         tran_process_date                 = new_references.tran_process_date,
4644         computer_batch_number             = new_references.computer_batch_number,
4645         correction_flags                  = new_references.correction_flags,
4646         highlight_flags                   = new_references.highlight_flags,
4647         paid_efc                          = new_references.paid_efc,
4648         primary_efc                       = new_references.primary_efc,
4649         secondary_efc                     = new_references.secondary_efc,
4650         fed_pell_grant_efc_type           = new_references.fed_pell_grant_efc_type,
4651         primary_efc_type                  = new_references.primary_efc_type,
4652         sec_efc_type                      = new_references.sec_efc_type,
4653         primary_alternate_month_1         = new_references.primary_alternate_month_1,
4654         primary_alternate_month_2         = new_references.primary_alternate_month_2,
4655         primary_alternate_month_3         = new_references.primary_alternate_month_3,
4656         primary_alternate_month_4         = new_references.primary_alternate_month_4,
4657         primary_alternate_month_5         = new_references.primary_alternate_month_5,
4658         primary_alternate_month_6         = new_references.primary_alternate_month_6,
4659         primary_alternate_month_7         = new_references.primary_alternate_month_7,
4660         primary_alternate_month_8         = new_references.primary_alternate_month_8,
4661         primary_alternate_month_10        = new_references.primary_alternate_month_10,
4662         primary_alternate_month_11        = new_references.primary_alternate_month_11,
4663         primary_alternate_month_12        = new_references.primary_alternate_month_12,
4664         sec_alternate_month_1             = new_references.sec_alternate_month_1,
4665         sec_alternate_month_2             = new_references.sec_alternate_month_2,
4666         sec_alternate_month_3             = new_references.sec_alternate_month_3,
4667         sec_alternate_month_4             = new_references.sec_alternate_month_4,
4668         sec_alternate_month_5             = new_references.sec_alternate_month_5,
4669         sec_alternate_month_6             = new_references.sec_alternate_month_6,
4670         sec_alternate_month_7             = new_references.sec_alternate_month_7,
4671         sec_alternate_month_8             = new_references.sec_alternate_month_8,
4672         sec_alternate_month_10            = new_references.sec_alternate_month_10,
4673         sec_alternate_month_11            = new_references.sec_alternate_month_11,
4674         sec_alternate_month_12            = new_references.sec_alternate_month_12,
4675         total_income                      = new_references.total_income,
4676         allow_total_income                = new_references.allow_total_income,
4677         state_tax_allow                   = new_references.state_tax_allow,
4678         employment_allow                  = new_references.employment_allow,
4679         income_protection_allow           = new_references.income_protection_allow,
4680         available_income                  = new_references.available_income,
4681         contribution_from_ai              = new_references.contribution_from_ai,
4682         discretionary_networth            = new_references.discretionary_networth,
4683         efc_networth                      = new_references.efc_networth,
4684         asset_protect_allow               = new_references.asset_protect_allow,
4685         parents_cont_from_assets          = new_references.parents_cont_from_assets,
4686         adjusted_available_income         = new_references.adjusted_available_income,
4687         total_student_contribution        = new_references.total_student_contribution,
4688         total_parent_contribution         = new_references.total_parent_contribution,
4689         parents_contribution              = new_references.parents_contribution,
4690         student_total_income              = new_references.student_total_income,
4691         sati                              = new_references.sati,
4692         sic                               = new_references.sic,
4693         sdnw                              = new_references.sdnw,
4694         sca                               = new_references.sca,
4695         fti                               = new_references.fti,
4696         secti                             = new_references.secti,
4697         secati                            = new_references.secati,
4698         secstx                            = new_references.secstx,
4699         secea                             = new_references.secea,
4700         secipa                            = new_references.secipa,
4701         secai                             = new_references.secai,
4702         seccai                            = new_references.seccai,
4703         secdnw                            = new_references.secdnw,
4704         secnw                             = new_references.secnw,
4705         secapa                            = new_references.secapa,
4706         secpca                            = new_references.secpca,
4707         secaai                            = new_references.secaai,
4708         sectsc                            = new_references.sectsc,
4709         sectpc                            = new_references.sectpc,
4710         secpc                             = new_references.secpc,
4711         secsti                            = new_references.secsti,
4712         secsic                            = new_references.secsic,
4713         secsati                           = new_references.secsati,
4714         secsdnw                           = new_references.secsdnw,
4715         secsca                            = new_references.secsca,
4716         secfti                            = new_references.secfti,
4717         a_citizenship                     = new_references.a_citizenship,
4718         a_student_marital_status          = new_references.a_student_marital_status,
4719         a_student_agi                     = new_references.a_student_agi,
4720         a_s_us_tax_paid                   = new_references.a_s_us_tax_paid,
4721         a_s_income_work                   = new_references.a_s_income_work,
4722         a_spouse_income_work              = new_references.a_spouse_income_work,
4723         a_s_total_wsc                     = new_references.a_s_total_wsc,
4724         a_date_of_birth                   = new_references.a_date_of_birth,
4725         a_student_married                 = new_references.a_student_married,
4726         a_have_children                   = new_references.a_have_children,
4727         a_s_have_dependents               = new_references.a_s_have_dependents,
4728         a_va_status                       = new_references.a_va_status,
4729         a_s_num_in_family                 = new_references.a_s_num_in_family,
4730         a_s_num_in_college                = new_references.a_s_num_in_college,
4731         a_p_marital_status                = new_references.a_p_marital_status,
4732         a_father_ssn                      = new_references.a_father_ssn,
4733         a_mother_ssn                      = new_references.a_mother_ssn,
4734         a_parents_num_family              = new_references.a_parents_num_family,
4735         a_parents_num_college             = new_references.a_parents_num_college,
4736         a_parents_agi                     = new_references.a_parents_agi,
4737         a_p_us_tax_paid                   = new_references.a_p_us_tax_paid,
4738         a_f_work_income                   = new_references.a_f_work_income,
4739         a_m_work_income                   = new_references.a_m_work_income,
4740         a_p_total_wsc                     = new_references.a_p_total_wsc,
4741         comment_codes                     = new_references.comment_codes,
4742         sar_ack_comm_code                 = new_references.sar_ack_comm_code,
4743         pell_grant_elig_flag              = new_references.pell_grant_elig_flag,
4744         reprocess_reason_code             = new_references.reprocess_reason_code,
4745         duplicate_date                    = new_references.duplicate_date,
4746         isir_transaction_type             = new_references.isir_transaction_type,
4747         fedral_schl_code_indicator        = new_references.fedral_schl_code_indicator,
4748         multi_school_code_flags           = new_references.multi_school_code_flags,
4749         dup_ssn_indicator                 = new_references.dup_ssn_indicator,
4750         payment_isir                      = new_references.payment_isir,
4751         receipt_status                    = new_references.receipt_status,
4752         isir_receipt_completed            = new_references.isir_receipt_completed,
4753         last_update_date                  = x_last_update_date,
4754         last_updated_by                   = x_last_updated_by,
4755         last_update_login                 = x_last_update_login ,
4756         request_id                        = x_request_id,
4757         program_id                        = x_program_id,
4758         program_application_id            = x_program_application_id,
4759         program_update_date               = x_program_update_date,
4760         system_record_type                = new_references.system_record_type,
4761         verif_track_flag                  = new_references.verif_track_flag,
4762         active_isir                       = new_references.active_isir,
4763         fafsa_data_verify_flags           = new_references.fafsa_data_verify_flags,
4764         reject_override_a                 = new_references.reject_override_a,
4765         reject_override_c                 = new_references.reject_override_c,
4766         parent_marital_status_date        = new_references.parent_marital_status_date,
4767         legacy_record_flag                = new_references.legacy_record_flag,
4768         father_first_name_initial_txt     = new_references.father_first_name_initial_txt,
4769         father_step_father_birth_date     = new_references.father_step_father_birth_date,
4770         mother_first_name_initial_txt     = new_references.mother_first_name_initial_txt,
4771         mother_step_mother_birth_date     = new_references.mother_step_mother_birth_date,
4772         parents_email_address_txt         = new_references.parents_email_address_txt,
4773         address_change_type               = new_references.address_change_type,
4774         cps_pushed_isir_flag              = new_references.cps_pushed_isir_flag,
4775         electronic_transaction_type       = new_references.electronic_transaction_type,
4776         sar_c_change_type                 = new_references.sar_c_change_type,
4777         father_ssn_match_type             = new_references.father_ssn_match_type,
4778         mother_ssn_match_type             = new_references.mother_ssn_match_type,
4779         reject_override_g_flag            = new_references.reject_override_g_flag,
4780         dhs_verification_num_txt          = new_references.dhs_verification_num_txt,
4781         data_file_name_txt                = new_references.data_file_name_txt,
4782         message_class_txt                 = new_references.message_class_txt,
4783         reject_override_3_flag            = new_references.reject_override_3_flag,
4784         reject_override_12_flag           = new_references.reject_override_12_flag,
4785         reject_override_j_flag            = new_references.reject_override_j_flag,
4786         reject_override_k_flag            = new_references.reject_override_k_flag,
4787         rejected_status_change_flag       = new_references.rejected_status_change_flag,
4788         verification_selection_flag       = new_references.verification_selection_flag
4789 
4790 
4791       WHERE rowid = x_rowid;
4792 
4793     IF (SQL%NOTFOUND) THEN
4794       RAISE NO_DATA_FOUND;
4795     END IF;
4796 
4797    IF new_references.active_isir = 'Y' THEN
4798      set_single_active_isir ( new_references.isir_id, new_references.base_id );
4799    END IF;
4800 
4801   END update_row;
4802 
4803 
4804   PROCEDURE add_row (
4805     x_rowid                             IN OUT  NOCOPY  VARCHAR2,
4806     x_isir_id                           IN OUT  NOCOPY  NUMBER,
4807     x_base_id                           IN     NUMBER,
4808     x_batch_year                        IN     NUMBER,
4809     x_transaction_num                   IN     VARCHAR2,
4810     x_current_ssn                       IN     VARCHAR2,
4811     x_ssn_name_change                   IN     VARCHAR2,
4812     x_original_ssn                      IN     VARCHAR2,
4813     x_orig_name_id                      IN     VARCHAR2,
4814     x_last_name                         IN     VARCHAR2,
4815     x_first_name                        IN     VARCHAR2,
4816     x_middle_initial                    IN     VARCHAR2,
4817     x_perm_mail_add                     IN     VARCHAR2,
4818     x_perm_city                         IN     VARCHAR2,
4819     x_perm_state                        IN     VARCHAR2,
4820     x_perm_zip_code                     IN     VARCHAR2,
4821     x_date_of_birth                     IN     DATE,
4822     x_phone_number                      IN     VARCHAR2,
4823     x_driver_license_number             IN     VARCHAR2,
4824     x_driver_license_state              IN     VARCHAR2,
4825     x_citizenship_status                IN     VARCHAR2,
4826     x_alien_reg_number                  IN     VARCHAR2,
4827     x_s_marital_status                  IN     VARCHAR2,
4828     x_s_marital_status_date             IN     DATE,
4829     x_summ_enrl_status                  IN     VARCHAR2,
4830     x_fall_enrl_status                  IN     VARCHAR2,
4831     x_winter_enrl_status                IN     VARCHAR2,
4832     x_spring_enrl_status                IN     VARCHAR2,
4833     x_summ2_enrl_status                 IN     VARCHAR2,
4834     x_fathers_highest_edu_level         IN     VARCHAR2,
4835     x_mothers_highest_edu_level         IN     VARCHAR2,
4836     x_s_state_legal_residence           IN     VARCHAR2,
4837     x_legal_residence_before_date       IN     VARCHAR2,
4838     x_s_legal_resd_date                 IN     DATE,
4839     x_ss_r_u_male                       IN     VARCHAR2,
4840     x_selective_service_reg             IN     VARCHAR2,
4841     x_degree_certification              IN     VARCHAR2,
4842     x_grade_level_in_college            IN     VARCHAR2,
4843     x_high_school_diploma_ged           IN     VARCHAR2,
4844     x_first_bachelor_deg_by_date        IN     VARCHAR2,
4845     x_interest_in_loan                  IN     VARCHAR2,
4846     x_interest_in_stud_employment       IN     VARCHAR2,
4847     x_drug_offence_conviction           IN     VARCHAR2,
4848     x_s_tax_return_status               IN     VARCHAR2,
4849     x_s_type_tax_return                 IN     VARCHAR2,
4850     x_s_elig_1040ez                     IN     VARCHAR2,
4851     x_s_adjusted_gross_income           IN     NUMBER,
4852     x_s_fed_taxes_paid                  IN     NUMBER,
4853     x_s_exemptions                      IN     NUMBER,
4854     x_s_income_from_work                IN     NUMBER,
4855     x_spouse_income_from_work           IN     NUMBER,
4856     x_s_toa_amt_from_wsa                IN     NUMBER,
4857     x_s_toa_amt_from_wsb                IN     NUMBER,
4858     x_s_toa_amt_from_wsc                IN     NUMBER,
4859     x_s_investment_networth             IN     NUMBER,
4860     x_s_busi_farm_networth              IN     NUMBER,
4861     x_s_cash_savings                    IN     NUMBER,
4862     x_va_months                         IN     NUMBER,
4863     x_va_amount                         IN     NUMBER,
4864     x_stud_dob_before_date              IN     VARCHAR2,
4865     x_deg_beyond_bachelor               IN     VARCHAR2,
4866     x_s_married                         IN     VARCHAR2,
4867     x_s_have_children                   IN     VARCHAR2,
4868     x_legal_dependents                  IN     VARCHAR2,
4869     x_orphan_ward_of_court              IN     VARCHAR2,
4870     x_s_veteran                         IN     VARCHAR2,
4871     x_p_marital_status                  IN     VARCHAR2,
4872     x_father_ssn                        IN     VARCHAR2,
4873     x_f_last_name                       IN     VARCHAR2,
4874     x_mother_ssn                        IN     VARCHAR2,
4875     x_m_last_name                       IN     VARCHAR2,
4876     x_p_num_family_member               IN     NUMBER,
4877     x_p_num_in_college                  IN     NUMBER,
4878     x_p_state_legal_residence           IN     VARCHAR2,
4879     x_p_state_legal_res_before_dt       IN     VARCHAR2,
4880     x_p_legal_res_date                  IN     DATE,
4881     x_age_older_parent                  IN     NUMBER,
4882     x_p_tax_return_status               IN     VARCHAR2,
4883     x_p_type_tax_return                 IN     VARCHAR2,
4884     x_p_elig_1040aez                    IN     VARCHAR2,
4885     x_p_adjusted_gross_income           IN     NUMBER,
4886     x_p_taxes_paid                      IN     NUMBER,
4887     x_p_exemptions                      IN     NUMBER,
4888     x_f_income_work                     IN     NUMBER,
4889     x_m_income_work                     IN     NUMBER,
4890     x_p_income_wsa                      IN     NUMBER,
4891     x_p_income_wsb                      IN     NUMBER,
4892     x_p_income_wsc                      IN     NUMBER,
4893     x_p_investment_networth             IN     NUMBER,
4894     x_p_business_networth               IN     NUMBER,
4895     x_p_cash_saving                     IN     NUMBER,
4896     x_s_num_family_members              IN     NUMBER,
4897     x_s_num_in_college                  IN     NUMBER,
4898     x_first_college                     IN     VARCHAR2,
4899     x_first_house_plan                  IN     VARCHAR2,
4900     x_second_college                    IN     VARCHAR2,
4901     x_second_house_plan                 IN     VARCHAR2,
4902     x_third_college                     IN     VARCHAR2,
4903     x_third_house_plan                  IN     VARCHAR2,
4904     x_fourth_college                    IN     VARCHAR2,
4905     x_fourth_house_plan                 IN     VARCHAR2,
4906     x_fifth_college                     IN     VARCHAR2,
4907     x_fifth_house_plan                  IN     VARCHAR2,
4908     x_sixth_college                     IN     VARCHAR2,
4909     x_sixth_house_plan                  IN     VARCHAR2,
4910     x_date_app_completed                IN     DATE,
4911     x_signed_by                         IN     VARCHAR2,
4912     x_preparer_ssn                      IN     VARCHAR2,
4913     x_preparer_emp_id_number            IN     VARCHAR2,
4914     x_preparer_sign                     IN     VARCHAR2,
4915     x_transaction_receipt_date          IN     DATE,
4916     x_dependency_override_ind           IN     VARCHAR2,
4917     x_faa_fedral_schl_code              IN     VARCHAR2,
4918     x_faa_adjustment                    IN     VARCHAR2,
4919     x_input_record_type                 IN     VARCHAR2,
4920     x_serial_number                     IN     NUMBER,
4921     x_batch_number                      IN     VARCHAR2,
4922     x_early_analysis_flag               IN     VARCHAR2,
4923     x_app_entry_source_code             IN     VARCHAR2,
4924     x_eti_destination_code              IN     VARCHAR2,
4925     x_reject_override_b                 IN     VARCHAR2,
4926     x_reject_override_n                 IN     VARCHAR2,
4927     x_reject_override_w                 IN     VARCHAR2,
4928     x_assum_override_1                  IN     VARCHAR2,
4929     x_assum_override_2                  IN     VARCHAR2,
4930     x_assum_override_3                  IN     VARCHAR2,
4931     x_assum_override_4                  IN     VARCHAR2,
4932     x_assum_override_5                  IN     VARCHAR2,
4933     x_assum_override_6                  IN     VARCHAR2,
4934     x_dependency_status                 IN     VARCHAR2,
4935     x_s_email_address                   IN     VARCHAR2,
4936     x_nslds_reason_code                 IN     VARCHAR2,
4937     x_app_receipt_date                  IN     DATE,
4938     x_processed_rec_type                IN     VARCHAR2,
4939     x_hist_correction_for_tran_id       IN     NUMBER,
4940     x_system_generated_indicator        IN     VARCHAR2,
4941     x_dup_request_indicator             IN     VARCHAR2,
4942     x_source_of_correction              IN     VARCHAR2,
4943     x_p_cal_tax_status                  IN     VARCHAR2,
4944     x_s_cal_tax_status                  IN     VARCHAR2,
4945     x_graduate_flag                     IN     VARCHAR2,
4946     x_auto_zero_efc                     IN     VARCHAR2,
4947     x_efc_change_flag                   IN     VARCHAR2,
4948     x_sarc_flag                         IN     VARCHAR2,
4949     x_simplified_need_test              IN     VARCHAR2,
4950     x_reject_reason_codes               IN     VARCHAR2,
4951     x_select_service_match_flag         IN     VARCHAR2,
4952     x_select_service_reg_flag           IN     VARCHAR2,
4953     x_ins_match_flag                    IN     VARCHAR2,
4954     x_ins_verification_number           IN     NUMBER,
4955     x_sec_ins_match_flag                IN     VARCHAR2,
4956     x_sec_ins_ver_number                IN     NUMBER,
4957     x_ssn_match_flag                    IN     VARCHAR2,
4958     x_ssa_citizenship_flag              IN     VARCHAR2,
4959     x_ssn_date_of_death                 IN     DATE,
4960     x_nslds_match_flag                  IN     VARCHAR2,
4961     x_va_match_flag                     IN     VARCHAR2,
4962     x_prisoner_match                    IN     VARCHAR2,
4963     x_verification_flag                 IN     VARCHAR2,
4964     x_subsequent_app_flag               IN     VARCHAR2,
4965     x_app_source_site_code              IN     VARCHAR2,
4966     x_tran_source_site_code             IN     VARCHAR2,
4967     x_drn                               IN     NUMBER,
4968     x_tran_process_date                 IN     DATE,
4969     x_computer_batch_number             IN     NUMBER,
4970     x_correction_flags                  IN     VARCHAR2,
4971     x_highlight_flags                   IN     VARCHAR2,
4972     x_paid_efc                          IN     NUMBER,
4973     x_primary_efc                       IN     NUMBER,
4974     x_secondary_efc                     IN     NUMBER,
4975     x_fed_pell_grant_efc_type           IN     VARCHAR2,
4976     x_primary_efc_type                  IN     VARCHAR2,
4977     x_sec_efc_type                      IN     VARCHAR2,
4978     x_primary_alternate_month_1         IN     NUMBER,
4979     x_primary_alternate_month_2         IN     NUMBER,
4980     x_primary_alternate_month_3         IN     NUMBER,
4981     x_primary_alternate_month_4         IN     NUMBER,
4982     x_primary_alternate_month_5         IN     NUMBER,
4983     x_primary_alternate_month_6         IN     NUMBER,
4984     x_primary_alternate_month_7         IN     NUMBER,
4985     x_primary_alternate_month_8         IN     NUMBER,
4986     x_primary_alternate_month_10        IN     NUMBER,
4987     x_primary_alternate_month_11        IN     NUMBER,
4988     x_primary_alternate_month_12        IN     NUMBER,
4989     x_sec_alternate_month_1             IN     NUMBER,
4990     x_sec_alternate_month_2             IN     NUMBER,
4991     x_sec_alternate_month_3             IN     NUMBER,
4992     x_sec_alternate_month_4             IN     NUMBER,
4993     x_sec_alternate_month_5             IN     NUMBER,
4994     x_sec_alternate_month_6             IN     NUMBER,
4995     x_sec_alternate_month_7             IN     NUMBER,
4996     x_sec_alternate_month_8             IN     NUMBER,
4997     x_sec_alternate_month_10            IN     NUMBER,
4998     x_sec_alternate_month_11            IN     NUMBER,
4999     x_sec_alternate_month_12            IN     NUMBER,
5000     x_total_income                      IN     NUMBER,
5001     x_allow_total_income                IN     NUMBER,
5002     x_state_tax_allow                   IN     NUMBER,
5003     x_employment_allow                  IN     NUMBER,
5004     x_income_protection_allow           IN     NUMBER,
5005     x_available_income                  IN     NUMBER,
5006     x_contribution_from_ai              IN     NUMBER,
5007     x_discretionary_networth            IN     NUMBER,
5008     x_efc_networth                      IN     NUMBER,
5009     x_asset_protect_allow               IN     NUMBER,
5010     x_parents_cont_from_assets          IN     NUMBER,
5011     x_adjusted_available_income         IN     NUMBER,
5012     x_total_student_contribution        IN     NUMBER,
5013     x_total_parent_contribution         IN     NUMBER,
5014     x_parents_contribution              IN     NUMBER,
5015     x_student_total_income              IN     NUMBER,
5016     x_sati                              IN     NUMBER,
5017     x_sic                               IN     NUMBER,
5018     x_sdnw                              IN     NUMBER,
5019     x_sca                               IN     NUMBER,
5020     x_fti                               IN     NUMBER,
5021     x_secti                             IN     NUMBER,
5022     x_secati                            IN     NUMBER,
5023     x_secstx                            IN     NUMBER,
5024     x_secea                             IN     NUMBER,
5025     x_secipa                            IN     NUMBER,
5026     x_secai                             IN     NUMBER,
5027     x_seccai                            IN     NUMBER,
5028     x_secdnw                            IN     NUMBER,
5029     x_secnw                             IN     NUMBER,
5030     x_secapa                            IN     NUMBER,
5031     x_secpca                            IN     NUMBER,
5032     x_secaai                            IN     NUMBER,
5033     x_sectsc                            IN     NUMBER,
5034     x_sectpc                            IN     NUMBER,
5035     x_secpc                             IN     NUMBER,
5036     x_secsti                            IN     NUMBER,
5037     x_secsic                            IN     NUMBER,
5038     x_secsati                           IN     NUMBER,
5039     x_secsdnw                           IN     NUMBER,
5040     x_secsca                            IN     NUMBER,
5041     x_secfti                            IN     NUMBER,
5042     x_a_citizenship                     IN     VARCHAR2,
5043     x_a_student_marital_status          IN     VARCHAR2,
5044     x_a_student_agi                     IN     NUMBER,
5045     x_a_s_us_tax_paid                   IN     NUMBER,
5046     x_a_s_income_work                   IN     NUMBER,
5047     x_a_spouse_income_work              IN     NUMBER,
5048     x_a_s_total_wsc                     IN     NUMBER,
5049     x_a_date_of_birth                   IN     VARCHAR2,
5050     x_a_student_married                 IN     VARCHAR2,
5051     x_a_have_children                   IN     VARCHAR2,
5052     x_a_s_have_dependents               IN     VARCHAR2,
5053     x_a_va_status                       IN     VARCHAR2,
5054     x_a_s_num_in_family                 IN     NUMBER,
5055     x_a_s_num_in_college                IN     NUMBER,
5056     x_a_p_marital_status                IN     VARCHAR2,
5057     x_a_father_ssn                      IN     VARCHAR2,
5058     x_a_mother_ssn                      IN     VARCHAR2,
5059     x_a_parents_num_family              IN     NUMBER,
5060     x_a_parents_num_college             IN     NUMBER,
5061     x_a_parents_agi                     IN     NUMBER,
5062     x_a_p_us_tax_paid                   IN     NUMBER,
5063     x_a_f_work_income                   IN     NUMBER,
5064     x_a_m_work_income                   IN     NUMBER,
5065     x_a_p_total_wsc                     IN     NUMBER,
5066     x_comment_codes                     IN     VARCHAR2,
5067     x_sar_ack_comm_code                 IN     VARCHAR2,
5068     x_pell_grant_elig_flag              IN     VARCHAR2,
5069     x_reprocess_reason_code             IN     VARCHAR2,
5070     x_duplicate_date                    IN     DATE,
5071     x_isir_transaction_type             IN     VARCHAR2,
5072     x_fedral_schl_code_indicator        IN     VARCHAR2,
5073     x_multi_school_code_flags           IN     VARCHAR2,
5074     x_dup_ssn_indicator                 IN     VARCHAR2,
5075     x_payment_isir                      IN     VARCHAR2,
5076     x_receipt_status                    IN     VARCHAR2,
5077     x_isir_receipt_completed            IN     VARCHAR2,
5078     x_mode                              IN     VARCHAR2,
5079     x_system_record_type                IN     VARCHAR2,
5080     x_verif_track_flag                  IN     VARCHAR2,
5081     x_active_isir                       IN     VARCHAR2,
5082     x_fafsa_data_verify_flags           IN     VARCHAR2,
5083     x_reject_override_a                 IN     VARCHAR2,
5084     x_reject_override_c                 IN     VARCHAR2,
5085     x_parent_marital_status_date        IN     DATE,
5086     x_legacy_record_flag                IN     VARCHAR2,
5087     x_father_first_name_initial         IN     VARCHAR2,
5088     x_father_step_father_birth_dt       IN     DATE    ,
5089     x_mother_first_name_initial         IN     VARCHAR2,
5090     x_mother_step_mother_birth_dt       IN     DATE    ,
5091     x_parents_email_address_txt         IN     VARCHAR2,
5092     x_address_change_type               IN     VARCHAR2,
5093     x_cps_pushed_isir_flag              IN     VARCHAR2,
5094     x_electronic_transaction_type       IN     VARCHAR2,
5095     x_sar_c_change_type                 IN     VARCHAR2,
5096     x_father_ssn_match_type             IN     VARCHAR2,
5097     x_mother_ssn_match_type             IN     VARCHAR2,
5098     x_reject_override_g_flag            IN     VARCHAR2,
5099     x_dhs_verification_num_txt          IN     VARCHAR2,
5100     x_data_file_name_txt                IN     VARCHAR2,
5101     x_message_class_txt                 IN     VARCHAR2,
5102     x_reject_override_3_flag            IN     VARCHAR2,
5103     x_reject_override_12_flag           IN     VARCHAR2,
5104     x_reject_override_j_flag            IN     VARCHAR2,
5105     x_reject_override_k_flag            IN     VARCHAR2,
5106     x_rejected_status_change_flag       IN     VARCHAR2,
5107     x_verification_selection_flag       IN     VARCHAR2
5108   ) AS
5109   /*
5110   ||  Created By : rasingh
5111   ||  Created On : 06-DEC-2000
5112   ||  Purpose : Adds a row if there is no existing row, otherwise updates existing row in the table.
5113   ||  Known limitations, enhancements or remarks :
5114   ||  Change History :
5115   ||  Who             When            What
5116   ||  (reverse chronological order - newest change first)
5117   */
5118     CURSOR c1 IS
5119       SELECT   rowid
5120       FROM     igf_ap_isir_matched_all
5121       WHERE    isir_id                           = x_isir_id;
5122 
5123   BEGIN
5124 
5125     OPEN c1;
5126     FETCH c1 INTO x_rowid;
5127     IF (c1%NOTFOUND) THEN
5128       CLOSE c1;
5129 
5130       insert_row (
5131         x_rowid,
5132         x_isir_id,
5133         x_base_id,
5134         x_batch_year,
5135         x_transaction_num,
5136         x_current_ssn,
5137         x_ssn_name_change,
5138         x_original_ssn,
5139         x_orig_name_id,
5140         x_last_name,
5141         x_first_name,
5142         x_middle_initial,
5143         x_perm_mail_add,
5144         x_perm_city,
5145         x_perm_state,
5146         x_perm_zip_code,
5147         x_date_of_birth,
5148         x_phone_number,
5149         x_driver_license_number,
5150         x_driver_license_state,
5151         x_citizenship_status,
5152         x_alien_reg_number,
5153         x_s_marital_status,
5154         x_s_marital_status_date,
5155         x_summ_enrl_status,
5156         x_fall_enrl_status,
5157         x_winter_enrl_status,
5158         x_spring_enrl_status,
5159         x_summ2_enrl_status,
5160         x_fathers_highest_edu_level,
5161         x_mothers_highest_edu_level,
5162         x_s_state_legal_residence,
5163         x_legal_residence_before_date,
5164         x_s_legal_resd_date,
5165         x_ss_r_u_male,
5166         x_selective_service_reg,
5167         x_degree_certification,
5168         x_grade_level_in_college,
5169         x_high_school_diploma_ged,
5170         x_first_bachelor_deg_by_date,
5171         x_interest_in_loan,
5172         x_interest_in_stud_employment,
5173         x_drug_offence_conviction,
5174         x_s_tax_return_status,
5175         x_s_type_tax_return,
5176         x_s_elig_1040ez,
5177         x_s_adjusted_gross_income,
5178         x_s_fed_taxes_paid,
5179         x_s_exemptions,
5180         x_s_income_from_work,
5181         x_spouse_income_from_work,
5182         x_s_toa_amt_from_wsa,
5183         x_s_toa_amt_from_wsb,
5184         x_s_toa_amt_from_wsc,
5185         x_s_investment_networth,
5186         x_s_busi_farm_networth,
5187         x_s_cash_savings,
5188         x_va_months,
5189         x_va_amount,
5190         x_stud_dob_before_date,
5191         x_deg_beyond_bachelor,
5192         x_s_married,
5193         x_s_have_children,
5194         x_legal_dependents,
5195         x_orphan_ward_of_court,
5196         x_s_veteran,
5197         x_p_marital_status,
5198         x_father_ssn,
5199         x_f_last_name,
5200         x_mother_ssn,
5201         x_m_last_name,
5202         x_p_num_family_member,
5203         x_p_num_in_college,
5204         x_p_state_legal_residence,
5205         x_p_state_legal_res_before_dt,
5206         x_p_legal_res_date,
5207         x_age_older_parent,
5208         x_p_tax_return_status,
5209         x_p_type_tax_return,
5210         x_p_elig_1040aez,
5211         x_p_adjusted_gross_income,
5212         x_p_taxes_paid,
5213         x_p_exemptions,
5214         x_f_income_work,
5215         x_m_income_work,
5216         x_p_income_wsa,
5217         x_p_income_wsb,
5218         x_p_income_wsc,
5219         x_p_investment_networth,
5220         x_p_business_networth,
5221         x_p_cash_saving,
5222         x_s_num_family_members,
5223         x_s_num_in_college,
5224         x_first_college,
5225         x_first_house_plan,
5226         x_second_college,
5227         x_second_house_plan,
5228         x_third_college,
5229         x_third_house_plan,
5230         x_fourth_college,
5231         x_fourth_house_plan,
5232         x_fifth_college,
5233         x_fifth_house_plan,
5234         x_sixth_college,
5235         x_sixth_house_plan,
5236         x_date_app_completed,
5237         x_signed_by,
5238         x_preparer_ssn,
5239         x_preparer_emp_id_number,
5240         x_preparer_sign,
5241         x_transaction_receipt_date,
5242         x_dependency_override_ind,
5243         x_faa_fedral_schl_code,
5244         x_faa_adjustment,
5245         x_input_record_type,
5246         x_serial_number,
5247         x_batch_number,
5248         x_early_analysis_flag,
5249         x_app_entry_source_code,
5250         x_eti_destination_code,
5251         x_reject_override_b,
5252         x_reject_override_n,
5253         x_reject_override_w,
5254         x_assum_override_1,
5255         x_assum_override_2,
5256         x_assum_override_3,
5257         x_assum_override_4,
5258         x_assum_override_5,
5259         x_assum_override_6,
5260         x_dependency_status,
5261         x_s_email_address,
5262         x_nslds_reason_code,
5263         x_app_receipt_date,
5264         x_processed_rec_type,
5265         x_hist_correction_for_tran_id,
5266         x_system_generated_indicator,
5267         x_dup_request_indicator,
5268         x_source_of_correction,
5269         x_p_cal_tax_status,
5270         x_s_cal_tax_status,
5271         x_graduate_flag,
5272         x_auto_zero_efc,
5273         x_efc_change_flag,
5274         x_sarc_flag,
5275         x_simplified_need_test,
5276         x_reject_reason_codes,
5277         x_select_service_match_flag,
5278         x_select_service_reg_flag,
5279         x_ins_match_flag,
5280         x_ins_verification_number,
5281         x_sec_ins_match_flag,
5282         x_sec_ins_ver_number,
5283         x_ssn_match_flag,
5284         x_ssa_citizenship_flag,
5285         x_ssn_date_of_death,
5286         x_nslds_match_flag,
5287         x_va_match_flag,
5288         x_prisoner_match,
5289         x_verification_flag,
5290         x_subsequent_app_flag,
5291         x_app_source_site_code,
5292         x_tran_source_site_code,
5293         x_drn,
5294         x_tran_process_date,
5295         x_computer_batch_number,
5296         x_correction_flags,
5297         x_highlight_flags,
5298         x_paid_efc,
5299         x_primary_efc,
5300         x_secondary_efc,
5301         x_fed_pell_grant_efc_type,
5302         x_primary_efc_type,
5303         x_sec_efc_type,
5304         x_primary_alternate_month_1,
5305         x_primary_alternate_month_2,
5306         x_primary_alternate_month_3,
5307         x_primary_alternate_month_4,
5308         x_primary_alternate_month_5,
5309         x_primary_alternate_month_6,
5310         x_primary_alternate_month_7,
5311         x_primary_alternate_month_8,
5312         x_primary_alternate_month_10,
5313         x_primary_alternate_month_11,
5314         x_primary_alternate_month_12,
5315         x_sec_alternate_month_1,
5316         x_sec_alternate_month_2,
5317         x_sec_alternate_month_3,
5318         x_sec_alternate_month_4,
5319         x_sec_alternate_month_5,
5320         x_sec_alternate_month_6,
5321         x_sec_alternate_month_7,
5322         x_sec_alternate_month_8,
5323         x_sec_alternate_month_10,
5324         x_sec_alternate_month_11,
5325         x_sec_alternate_month_12,
5326         x_total_income,
5327         x_allow_total_income,
5328         x_state_tax_allow,
5329         x_employment_allow,
5330         x_income_protection_allow,
5331         x_available_income,
5332         x_contribution_from_ai,
5333         x_discretionary_networth,
5334         x_efc_networth,
5335         x_asset_protect_allow,
5336         x_parents_cont_from_assets,
5337         x_adjusted_available_income,
5338         x_total_student_contribution,
5339         x_total_parent_contribution,
5340         x_parents_contribution,
5341         x_student_total_income,
5342         x_sati,
5343         x_sic,
5344         x_sdnw,
5345         x_sca,
5346         x_fti,
5347         x_secti,
5348         x_secati,
5349         x_secstx,
5350         x_secea,
5351         x_secipa,
5352         x_secai,
5353         x_seccai,
5354         x_secdnw,
5355         x_secnw,
5356         x_secapa,
5357         x_secpca,
5358         x_secaai,
5359         x_sectsc,
5360         x_sectpc,
5361         x_secpc,
5362         x_secsti,
5363         x_secsic,
5364         x_secsati,
5365         x_secsdnw,
5366         x_secsca,
5367         x_secfti,
5368         x_a_citizenship,
5369         x_a_student_marital_status,
5370         x_a_student_agi,
5371         x_a_s_us_tax_paid,
5372         x_a_s_income_work,
5373         x_a_spouse_income_work,
5374         x_a_s_total_wsc,
5375         x_a_date_of_birth,
5376         x_a_student_married,
5377         x_a_have_children,
5378         x_a_s_have_dependents,
5379         x_a_va_status,
5380         x_a_s_num_in_family,
5381         x_a_s_num_in_college,
5382         x_a_p_marital_status,
5383         x_a_father_ssn,
5384         x_a_mother_ssn,
5385         x_a_parents_num_family,
5386         x_a_parents_num_college,
5387         x_a_parents_agi,
5388         x_a_p_us_tax_paid,
5389         x_a_f_work_income,
5390         x_a_m_work_income,
5391         x_a_p_total_wsc,
5392         x_comment_codes,
5393         x_sar_ack_comm_code,
5394         x_pell_grant_elig_flag,
5395         x_reprocess_reason_code,
5396         x_duplicate_date,
5397         x_isir_transaction_type,
5398         x_fedral_schl_code_indicator,
5399         x_multi_school_code_flags,
5400         x_dup_ssn_indicator,
5401         x_payment_isir,
5402         x_receipt_status,
5403         x_isir_receipt_completed,
5404         x_mode,
5405         x_system_record_type,
5406         x_verif_track_flag,
5407         x_active_isir,
5408         x_fafsa_data_verify_flags,
5409         x_reject_override_a,
5410         x_reject_override_c,
5411         x_parent_marital_status_date,
5412         x_legacy_record_flag,
5413         x_father_first_name_initial,
5414         x_father_step_father_birth_dt,
5415         x_mother_first_name_initial,
5416         x_mother_step_mother_birth_dt,
5417         x_parents_email_address_txt,
5418         x_address_change_type,
5419         x_cps_pushed_isir_flag,
5420         x_electronic_transaction_type,
5421         x_sar_c_change_type,
5422         x_father_ssn_match_type,
5423         x_mother_ssn_match_type,
5424         x_reject_override_g_flag,
5425         x_dhs_verification_num_txt,
5426         x_data_file_name_txt,
5427         x_message_class_txt,
5428         x_reject_override_3_flag,
5429         x_reject_override_12_flag,
5430         x_reject_override_j_flag,
5431         x_reject_override_k_flag,
5432         x_rejected_status_change_flag,
5433         x_verification_selection_flag
5434       );
5435       RETURN;
5436     END IF;
5437     CLOSE c1;
5438 
5439     update_row (
5440       x_rowid,
5441       x_isir_id,
5442       x_base_id,
5443       x_batch_year,
5444       x_transaction_num,
5445       x_current_ssn,
5446       x_ssn_name_change,
5447       x_original_ssn,
5448       x_orig_name_id,
5449       x_last_name,
5450       x_first_name,
5451       x_middle_initial,
5452       x_perm_mail_add,
5453       x_perm_city,
5454       x_perm_state,
5455       x_perm_zip_code,
5456       x_date_of_birth,
5457       x_phone_number,
5458       x_driver_license_number,
5459       x_driver_license_state,
5460       x_citizenship_status,
5461       x_alien_reg_number,
5462       x_s_marital_status,
5463       x_s_marital_status_date,
5464       x_summ_enrl_status,
5465       x_fall_enrl_status,
5466       x_winter_enrl_status,
5467       x_spring_enrl_status,
5468       x_summ2_enrl_status,
5469       x_fathers_highest_edu_level,
5470       x_mothers_highest_edu_level,
5471       x_s_state_legal_residence,
5472       x_legal_residence_before_date,
5473       x_s_legal_resd_date,
5474       x_ss_r_u_male,
5475       x_selective_service_reg,
5476       x_degree_certification,
5477       x_grade_level_in_college,
5478       x_high_school_diploma_ged,
5479       x_first_bachelor_deg_by_date,
5480       x_interest_in_loan,
5481       x_interest_in_stud_employment,
5482       x_drug_offence_conviction,
5483       x_s_tax_return_status,
5484       x_s_type_tax_return,
5485       x_s_elig_1040ez,
5486       x_s_adjusted_gross_income,
5487       x_s_fed_taxes_paid,
5488       x_s_exemptions,
5489       x_s_income_from_work,
5490       x_spouse_income_from_work,
5491       x_s_toa_amt_from_wsa,
5492       x_s_toa_amt_from_wsb,
5493       x_s_toa_amt_from_wsc,
5494       x_s_investment_networth,
5495       x_s_busi_farm_networth,
5496       x_s_cash_savings,
5497       x_va_months,
5498       x_va_amount,
5499       x_stud_dob_before_date,
5500       x_deg_beyond_bachelor,
5501       x_s_married,
5502       x_s_have_children,
5503       x_legal_dependents,
5504       x_orphan_ward_of_court,
5505       x_s_veteran,
5506       x_p_marital_status,
5507       x_father_ssn,
5508       x_f_last_name,
5509       x_mother_ssn,
5510       x_m_last_name,
5511       x_p_num_family_member,
5512       x_p_num_in_college,
5513       x_p_state_legal_residence,
5514       x_p_state_legal_res_before_dt,
5515       x_p_legal_res_date,
5516       x_age_older_parent,
5517       x_p_tax_return_status,
5518       x_p_type_tax_return,
5519       x_p_elig_1040aez,
5520       x_p_adjusted_gross_income,
5521       x_p_taxes_paid,
5522       x_p_exemptions,
5523       x_f_income_work,
5524       x_m_income_work,
5525       x_p_income_wsa,
5526       x_p_income_wsb,
5527       x_p_income_wsc,
5528       x_p_investment_networth,
5529       x_p_business_networth,
5530       x_p_cash_saving,
5531       x_s_num_family_members,
5532       x_s_num_in_college,
5533       x_first_college,
5534       x_first_house_plan,
5535       x_second_college,
5536       x_second_house_plan,
5537       x_third_college,
5538       x_third_house_plan,
5539       x_fourth_college,
5540       x_fourth_house_plan,
5541       x_fifth_college,
5542       x_fifth_house_plan,
5543       x_sixth_college,
5544       x_sixth_house_plan,
5545       x_date_app_completed,
5546       x_signed_by,
5547       x_preparer_ssn,
5548       x_preparer_emp_id_number,
5549       x_preparer_sign,
5550       x_transaction_receipt_date,
5551       x_dependency_override_ind,
5552       x_faa_fedral_schl_code,
5553       x_faa_adjustment,
5554       x_input_record_type,
5555       x_serial_number,
5556       x_batch_number,
5557       x_early_analysis_flag,
5558       x_app_entry_source_code,
5559       x_eti_destination_code,
5560       x_reject_override_b,
5561       x_reject_override_n,
5562       x_reject_override_w,
5563       x_assum_override_1,
5564       x_assum_override_2,
5565       x_assum_override_3,
5566       x_assum_override_4,
5567       x_assum_override_5,
5568       x_assum_override_6,
5569       x_dependency_status,
5570       x_s_email_address,
5571       x_nslds_reason_code,
5572       x_app_receipt_date,
5573       x_processed_rec_type,
5574       x_hist_correction_for_tran_id,
5575       x_system_generated_indicator,
5576       x_dup_request_indicator,
5577       x_source_of_correction,
5578       x_p_cal_tax_status,
5579       x_s_cal_tax_status,
5580       x_graduate_flag,
5581       x_auto_zero_efc,
5582       x_efc_change_flag,
5583       x_sarc_flag,
5584       x_simplified_need_test,
5585       x_reject_reason_codes,
5586       x_select_service_match_flag,
5587       x_select_service_reg_flag,
5588       x_ins_match_flag,
5589       x_ins_verification_number,
5590       x_sec_ins_match_flag,
5591       x_sec_ins_ver_number,
5592       x_ssn_match_flag,
5593       x_ssa_citizenship_flag,
5594       x_ssn_date_of_death,
5595       x_nslds_match_flag,
5596       x_va_match_flag,
5597       x_prisoner_match,
5598       x_verification_flag,
5599       x_subsequent_app_flag,
5600       x_app_source_site_code,
5601       x_tran_source_site_code,
5602       x_drn,
5603       x_tran_process_date,
5604       x_computer_batch_number,
5605       x_correction_flags,
5606       x_highlight_flags,
5607       x_paid_efc,
5608       x_primary_efc,
5609       x_secondary_efc,
5610       x_fed_pell_grant_efc_type,
5611       x_primary_efc_type,
5612       x_sec_efc_type,
5613       x_primary_alternate_month_1,
5614       x_primary_alternate_month_2,
5615       x_primary_alternate_month_3,
5616       x_primary_alternate_month_4,
5617       x_primary_alternate_month_5,
5618       x_primary_alternate_month_6,
5619       x_primary_alternate_month_7,
5620       x_primary_alternate_month_8,
5621       x_primary_alternate_month_10,
5622       x_primary_alternate_month_11,
5623       x_primary_alternate_month_12,
5624       x_sec_alternate_month_1,
5625       x_sec_alternate_month_2,
5626       x_sec_alternate_month_3,
5627       x_sec_alternate_month_4,
5628       x_sec_alternate_month_5,
5629       x_sec_alternate_month_6,
5630       x_sec_alternate_month_7,
5631       x_sec_alternate_month_8,
5632       x_sec_alternate_month_10,
5633       x_sec_alternate_month_11,
5634       x_sec_alternate_month_12,
5635       x_total_income,
5636       x_allow_total_income,
5637       x_state_tax_allow,
5638       x_employment_allow,
5639       x_income_protection_allow,
5640       x_available_income,
5641       x_contribution_from_ai,
5642       x_discretionary_networth,
5643       x_efc_networth,
5644       x_asset_protect_allow,
5645       x_parents_cont_from_assets,
5646       x_adjusted_available_income,
5647       x_total_student_contribution,
5648       x_total_parent_contribution,
5649       x_parents_contribution,
5650       x_student_total_income,
5651       x_sati,
5652       x_sic,
5653       x_sdnw,
5654       x_sca,
5655       x_fti,
5656       x_secti,
5657       x_secati,
5658       x_secstx,
5659       x_secea,
5660       x_secipa,
5661       x_secai,
5662       x_seccai,
5663       x_secdnw,
5664       x_secnw,
5665       x_secapa,
5666       x_secpca,
5667       x_secaai,
5668       x_sectsc,
5669       x_sectpc,
5670       x_secpc,
5671       x_secsti,
5672       x_secsic,
5673       x_secsati,
5674       x_secsdnw,
5675       x_secsca,
5676       x_secfti,
5677       x_a_citizenship,
5678       x_a_student_marital_status,
5679       x_a_student_agi,
5680       x_a_s_us_tax_paid,
5681       x_a_s_income_work,
5682       x_a_spouse_income_work,
5683       x_a_s_total_wsc,
5684       x_a_date_of_birth,
5685       x_a_student_married,
5686       x_a_have_children,
5687       x_a_s_have_dependents,
5688       x_a_va_status,
5689       x_a_s_num_in_family,
5690       x_a_s_num_in_college,
5691       x_a_p_marital_status,
5692       x_a_father_ssn,
5693       x_a_mother_ssn,
5694       x_a_parents_num_family,
5695       x_a_parents_num_college,
5696       x_a_parents_agi,
5697       x_a_p_us_tax_paid,
5698       x_a_f_work_income,
5699       x_a_m_work_income,
5700       x_a_p_total_wsc,
5701       x_comment_codes,
5702       x_sar_ack_comm_code,
5703       x_pell_grant_elig_flag,
5704       x_reprocess_reason_code,
5705       x_duplicate_date,
5706       x_isir_transaction_type,
5707       x_fedral_schl_code_indicator,
5708       x_multi_school_code_flags,
5709       x_dup_ssn_indicator,
5710       x_payment_isir,
5711       x_receipt_status,
5712       x_isir_receipt_completed,
5713       x_mode,
5714       x_system_record_type,
5715       x_verif_track_flag,
5716       x_active_isir,
5717       x_fafsa_data_verify_flags,
5718       x_reject_override_a,
5719       x_reject_override_c,
5720       x_parent_marital_status_date,
5721       x_legacy_record_flag,
5722       x_father_first_name_initial,
5723       x_father_step_father_birth_dt,
5724       x_mother_first_name_initial,
5725       x_mother_step_mother_birth_dt,
5726       x_parents_email_address_txt,
5727       x_address_change_type,
5728       x_cps_pushed_isir_flag,
5729       x_electronic_transaction_type,
5730       x_sar_c_change_type ,
5731       x_father_ssn_match_type,
5732       x_mother_ssn_match_type,
5733       x_reject_override_g_flag,
5734       x_dhs_verification_num_txt,
5735       x_data_file_name_txt,
5736       x_message_class_txt,
5737       x_reject_override_3_flag,
5738       x_reject_override_12_flag,
5739       x_reject_override_j_flag,
5740       x_reject_override_k_flag,
5741       x_rejected_status_change_flag,
5742       x_verification_selection_flag
5743     );
5744 
5745   END add_row;
5746 
5747 
5748   PROCEDURE delete_row (
5749      x_rowid IN VARCHAR2
5750   ) AS
5751   /*
5752   ||  Created By : rasingh
5753   ||  Created On : 06-DEC-2000
5754   ||  Purpose : Handles the DELETE DML logic for the table.
5755   ||  Known limitations, enhancements or remarks :
5756   ||  Change History :
5757   ||  Who             When            What
5758   ||  (reverse chronological order - newest change first)
5759   */
5760   BEGIN
5761 
5762     before_dml (
5763       p_action => 'DELETE',
5764       x_rowid => x_rowid
5765     );
5766 
5767     DELETE FROM igf_ap_isir_matched_all
5768     WHERE rowid = x_rowid;
5769 
5770     IF (SQL%NOTFOUND) THEN
5771       RAISE NO_DATA_FOUND;
5772     END IF;
5773 
5774   END delete_row;
5775 
5776   PROCEDURE update_row_rectype (
5777            p_isir_matched_rectype  IN igf_ap_isir_matched%ROWTYPE
5778   ) AS
5779   /*
5780   ||  Created By : rasingh
5781   ||  Created On : 06-DEC-2000
5782   ||  Purpose : Handles the DELETE DML logic for the table.
5783   ||  Known limitations, enhancements or remarks :
5784   ||  Change History :
5785   ||  Who             When            What
5786   ||  (reverse chronological order - newest change first)
5787   */
5788   BEGIN
5789 
5790    igf_ap_isir_matched_pkg.update_row(
5791            x_Mode                         => 'R',
5792            x_rowid                        => p_isir_matched_rectype.row_id,
5793            x_isir_id                      => p_isir_matched_rectype.isir_id,
5794            x_base_id                      => p_isir_matched_rectype.base_id,
5795            x_batch_year                   => p_isir_matched_rectype.batch_year,
5796            x_transaction_num              => p_isir_matched_rectype.transaction_num,
5797            x_current_ssn                  => p_isir_matched_rectype.current_ssn,
5798            x_ssn_name_change              => p_isir_matched_rectype.ssn_name_change,
5799            x_original_ssn                 => p_isir_matched_rectype.original_ssn,
5800            x_orig_name_id                 => p_isir_matched_rectype.orig_name_id,
5801            x_last_name                    => p_isir_matched_rectype.last_name,
5802            x_first_name                   => p_isir_matched_rectype.first_name,
5803            x_middle_initial               => p_isir_matched_rectype.middle_initial,
5804            x_perm_mail_add                => p_isir_matched_rectype.perm_mail_add,
5805            x_perm_city                    => p_isir_matched_rectype.perm_city,
5806            x_perm_state                   => p_isir_matched_rectype.perm_state,
5807            x_perm_zip_code                => p_isir_matched_rectype.perm_zip_code,
5808            x_date_of_birth                => p_isir_matched_rectype.date_of_birth,
5809            x_phone_number                 => p_isir_matched_rectype.phone_number,
5810            x_driver_license_number        => p_isir_matched_rectype.driver_license_number,
5811            x_driver_license_state         => p_isir_matched_rectype.driver_license_state,
5812            x_citizenship_status           => p_isir_matched_rectype.citizenship_status,
5813            x_alien_reg_number             => p_isir_matched_rectype.alien_reg_number,
5814            x_s_marital_status             => p_isir_matched_rectype.s_marital_status,
5815            x_s_marital_status_date        => p_isir_matched_rectype.s_marital_status_date,
5816            x_summ_enrl_status             => p_isir_matched_rectype.summ_enrl_status,
5817            x_fall_enrl_status             => p_isir_matched_rectype.fall_enrl_status,
5818            x_winter_enrl_status           => p_isir_matched_rectype.winter_enrl_status,
5819            x_spring_enrl_status           => p_isir_matched_rectype.spring_enrl_status,
5820            x_summ2_enrl_status            => p_isir_matched_rectype.summ2_enrl_status,
5821            x_fathers_highest_edu_level    => p_isir_matched_rectype.fathers_highest_edu_level,
5822            x_mothers_highest_edu_level    => p_isir_matched_rectype.mothers_highest_edu_level,
5823            x_s_state_legal_residence      => p_isir_matched_rectype.s_state_legal_residence,
5824            x_legal_residence_before_date  => p_isir_matched_rectype.legal_residence_before_date,
5825            x_s_legal_resd_date            => p_isir_matched_rectype.s_legal_resd_date,
5826            x_ss_r_u_male                  => p_isir_matched_rectype.ss_r_u_male,
5827            x_selective_service_reg        => p_isir_matched_rectype.selective_service_reg,
5828            x_degree_certification         => p_isir_matched_rectype.degree_certification,
5829            x_grade_level_in_college       => p_isir_matched_rectype.grade_level_in_college,
5830            x_high_school_diploma_ged      => p_isir_matched_rectype.high_school_diploma_ged,
5831            x_first_bachelor_deg_by_date   => p_isir_matched_rectype.first_bachelor_deg_by_date,
5832            x_interest_in_loan             => p_isir_matched_rectype.interest_in_loan,
5833            x_interest_in_stud_employment  => p_isir_matched_rectype.interest_in_stud_employment,
5834            x_drug_offence_conviction      => p_isir_matched_rectype.drug_offence_conviction,
5835            x_s_tax_return_status          => p_isir_matched_rectype.s_tax_return_status,
5836            x_s_type_tax_return            => p_isir_matched_rectype.s_type_tax_return,
5837            x_s_elig_1040ez                => p_isir_matched_rectype.s_elig_1040ez,
5838            x_s_adjusted_gross_income      => p_isir_matched_rectype.s_adjusted_gross_income,
5839            x_s_fed_taxes_paid             => p_isir_matched_rectype.s_fed_taxes_paid,
5840            x_s_exemptions                 => p_isir_matched_rectype.s_exemptions,
5841            x_s_income_from_work           => p_isir_matched_rectype.s_income_from_work,
5842            x_spouse_income_from_work      => p_isir_matched_rectype.spouse_income_from_work,
5843            x_s_toa_amt_from_wsa           => p_isir_matched_rectype.s_toa_amt_from_wsa,
5844            x_s_toa_amt_from_wsb           => p_isir_matched_rectype.s_toa_amt_from_wsb,
5845            x_s_toa_amt_from_wsc           => p_isir_matched_rectype.s_toa_amt_from_wsc,
5846            x_s_investment_networth        => p_isir_matched_rectype.s_investment_networth,
5847            x_s_busi_farm_networth         => p_isir_matched_rectype.s_busi_farm_networth,
5848            x_s_cash_savings               => p_isir_matched_rectype.s_cash_savings,
5849            x_va_months                    => p_isir_matched_rectype.va_months,
5850            x_va_amount                    => p_isir_matched_rectype.va_amount,
5851            x_stud_dob_before_date         => p_isir_matched_rectype.stud_dob_before_date,
5852            x_deg_beyond_bachelor          => p_isir_matched_rectype.deg_beyond_bachelor,
5853            x_s_married                    => p_isir_matched_rectype.s_married,
5854            x_s_have_children              => p_isir_matched_rectype.s_have_children,
5855            x_legal_dependents             => p_isir_matched_rectype.legal_dependents,
5856            x_orphan_ward_of_court         => p_isir_matched_rectype.orphan_ward_of_court,
5857            x_s_veteran                    => p_isir_matched_rectype.s_veteran,
5858            x_p_marital_status             => p_isir_matched_rectype.p_marital_status,
5859            x_father_ssn                   => p_isir_matched_rectype.father_ssn,
5860            x_f_last_name                  => p_isir_matched_rectype.f_last_name,
5861            x_mother_ssn                   => p_isir_matched_rectype.mother_ssn,
5862            x_m_last_name                  => p_isir_matched_rectype.m_last_name,
5863            x_p_num_family_member          => p_isir_matched_rectype.p_num_family_member,
5864            x_p_num_in_college             => p_isir_matched_rectype.p_num_in_college,
5865            x_p_state_legal_residence      => p_isir_matched_rectype.p_state_legal_residence,
5866            x_p_state_legal_res_before_dt  => p_isir_matched_rectype.p_state_legal_res_before_dt,
5867            x_p_legal_res_date             => p_isir_matched_rectype.p_legal_res_date,
5868            x_age_older_parent             => p_isir_matched_rectype.age_older_parent,
5869            x_p_tax_return_status          => p_isir_matched_rectype.p_tax_return_status,
5870            x_p_type_tax_return            => p_isir_matched_rectype.p_type_tax_return,
5871            x_p_elig_1040aez               => p_isir_matched_rectype.p_elig_1040aez,
5872            x_p_adjusted_gross_income      => p_isir_matched_rectype.p_adjusted_gross_income,
5873            x_p_taxes_paid                 => p_isir_matched_rectype.p_taxes_paid,
5874            x_p_exemptions                 => p_isir_matched_rectype.p_exemptions,
5875            x_f_income_work                => p_isir_matched_rectype.f_income_work,
5876            x_m_income_work                => p_isir_matched_rectype.m_income_work,
5877            x_p_income_wsa                 => p_isir_matched_rectype.p_income_wsa,
5878            x_p_income_wsb                 => p_isir_matched_rectype.p_income_wsb,
5879            x_p_income_wsc                 => p_isir_matched_rectype.p_income_wsc,
5880            x_p_investment_networth        => p_isir_matched_rectype.p_investment_networth,
5881            x_p_business_networth          => p_isir_matched_rectype.p_business_networth,
5882            x_p_cash_saving                => p_isir_matched_rectype.p_cash_saving,
5883            x_s_num_family_members         => p_isir_matched_rectype.s_num_family_members,
5884            x_s_num_in_college             => p_isir_matched_rectype.s_num_in_college,
5885            x_first_college                => p_isir_matched_rectype.first_college,
5886            x_first_house_plan             => p_isir_matched_rectype.first_house_plan,
5887            x_second_college               => p_isir_matched_rectype.second_college,
5888            x_second_house_plan            => p_isir_matched_rectype.second_house_plan,
5889            x_third_college                => p_isir_matched_rectype.third_college,
5890            x_third_house_plan             => p_isir_matched_rectype.third_house_plan,
5891            x_fourth_college               => p_isir_matched_rectype.fourth_college,
5892            x_fourth_house_plan            => p_isir_matched_rectype.fourth_house_plan,
5893            x_fifth_college                => p_isir_matched_rectype.fifth_college,
5894            x_fifth_house_plan             => p_isir_matched_rectype.fifth_house_plan,
5895            x_sixth_college                => p_isir_matched_rectype.sixth_college,
5896            x_sixth_house_plan             => p_isir_matched_rectype.sixth_house_plan,
5897            x_date_app_completed           => p_isir_matched_rectype.date_app_completed,
5898            x_signed_by                    => p_isir_matched_rectype.signed_by,
5899            x_preparer_ssn                 => p_isir_matched_rectype.preparer_ssn,
5900            x_preparer_emp_id_number       => p_isir_matched_rectype.preparer_emp_id_number,
5901            x_preparer_sign                => p_isir_matched_rectype.preparer_sign,
5902            x_transaction_receipt_date     => p_isir_matched_rectype.transaction_receipt_date,
5903            x_dependency_override_ind      => p_isir_matched_rectype.dependency_override_ind,
5904            x_faa_fedral_schl_code         => p_isir_matched_rectype.faa_fedral_schl_code,
5905            x_faa_adjustment               => p_isir_matched_rectype.faa_adjustment,
5906            x_input_record_type            => p_isir_matched_rectype.input_record_type,
5907            x_serial_number                => p_isir_matched_rectype.serial_number,
5908            x_batch_number                 => p_isir_matched_rectype.batch_number,
5909            x_early_analysis_flag          => p_isir_matched_rectype.early_analysis_flag,
5910            x_app_entry_source_code        => p_isir_matched_rectype.app_entry_source_code,
5911            x_eti_destination_code         => p_isir_matched_rectype.eti_destination_code,
5912            x_reject_override_b            => p_isir_matched_rectype.reject_override_b,
5913            x_reject_override_n            => p_isir_matched_rectype.reject_override_n,
5914            x_reject_override_w            => p_isir_matched_rectype.reject_override_w,
5915            x_assum_override_1             => p_isir_matched_rectype.assum_override_1,
5916            x_assum_override_2             => p_isir_matched_rectype.assum_override_2,
5917            x_assum_override_3             => p_isir_matched_rectype.assum_override_3,
5918            x_assum_override_4             => p_isir_matched_rectype.assum_override_4,
5919            x_assum_override_5             => p_isir_matched_rectype.assum_override_5,
5920            x_assum_override_6             => p_isir_matched_rectype.assum_override_6,
5921            x_dependency_status            => p_isir_matched_rectype.dependency_status,
5922            x_s_email_address              => p_isir_matched_rectype.s_email_address,
5923            x_nslds_reason_code            => p_isir_matched_rectype.nslds_reason_code,
5924            x_app_receipt_date             => p_isir_matched_rectype.app_receipt_date,
5925            x_processed_rec_type           => p_isir_matched_rectype.processed_rec_type,
5926            x_hist_correction_for_tran_id  => p_isir_matched_rectype.hist_correction_for_tran_id,
5927            x_system_generated_indicator   => p_isir_matched_rectype.system_generated_indicator,
5928            x_dup_request_indicator        => p_isir_matched_rectype.dup_request_indicator,
5929            x_source_of_correction         => p_isir_matched_rectype.source_of_correction,
5930            x_p_cal_tax_status             => p_isir_matched_rectype.p_cal_tax_status,
5931            x_s_cal_tax_status             => p_isir_matched_rectype.s_cal_tax_status,
5932            x_graduate_flag                => p_isir_matched_rectype.graduate_flag,
5933            x_auto_zero_efc                => p_isir_matched_rectype.auto_zero_efc,
5934            x_efc_change_flag              => p_isir_matched_rectype.efc_change_flag,
5935            x_sarc_flag                    => p_isir_matched_rectype.sarc_flag,
5936            x_simplified_need_test         => p_isir_matched_rectype.simplified_need_test,
5937            x_reject_reason_codes          => p_isir_matched_rectype.reject_reason_codes,
5938            x_select_service_match_flag    => p_isir_matched_rectype.select_service_match_flag,
5939            x_select_service_reg_flag      => p_isir_matched_rectype.select_service_reg_flag,
5940            x_ins_match_flag               => p_isir_matched_rectype.ins_match_flag,
5941            x_ins_verification_number      => p_isir_matched_rectype.ins_verification_number,
5942            x_sec_ins_match_flag           => p_isir_matched_rectype.sec_ins_match_flag,
5943            x_sec_ins_ver_number           => p_isir_matched_rectype.sec_ins_ver_number,
5944            x_ssn_match_flag               => p_isir_matched_rectype.ssn_match_flag,
5945            x_ssa_citizenship_flag         => p_isir_matched_rectype.ssa_citizenship_flag,
5946            x_ssn_date_of_death            => p_isir_matched_rectype.ssn_date_of_death,
5947            x_nslds_match_flag             => p_isir_matched_rectype.nslds_match_flag,
5948            x_va_match_flag                => p_isir_matched_rectype.va_match_flag,
5949            x_prisoner_match               => p_isir_matched_rectype.prisoner_match,
5950            x_verification_flag            => p_isir_matched_rectype.verification_flag,
5951            x_subsequent_app_flag          => p_isir_matched_rectype.subsequent_app_flag,
5952            x_app_source_site_code         => p_isir_matched_rectype.app_source_site_code,
5953            x_tran_source_site_code        => p_isir_matched_rectype.tran_source_site_code,
5954            x_drn                          => p_isir_matched_rectype.drn,
5955            x_tran_process_date            => p_isir_matched_rectype.tran_process_date,
5956            x_computer_batch_number        => p_isir_matched_rectype.computer_batch_number,
5957            x_correction_flags             => p_isir_matched_rectype.correction_flags,
5958            x_highlight_flags              => p_isir_matched_rectype.highlight_flags,
5959            x_paid_efc                     => p_isir_matched_rectype.paid_efc,
5960            x_primary_efc                  => p_isir_matched_rectype.primary_efc,
5961            x_secondary_efc                => p_isir_matched_rectype.secondary_efc,
5962            x_fed_pell_grant_efc_type      => p_isir_matched_rectype.fed_pell_grant_efc_type,
5963            x_primary_efc_type             => p_isir_matched_rectype.primary_efc_type,
5964            x_sec_efc_type                 => p_isir_matched_rectype.sec_efc_type,
5965            x_primary_alternate_month_1    => p_isir_matched_rectype.primary_alternate_month_1,
5966            x_primary_alternate_month_2    => p_isir_matched_rectype.primary_alternate_month_2,
5967            x_primary_alternate_month_3    => p_isir_matched_rectype.primary_alternate_month_3,
5968            x_primary_alternate_month_4    => p_isir_matched_rectype.primary_alternate_month_4,
5969            x_primary_alternate_month_5    => p_isir_matched_rectype.primary_alternate_month_5,
5970            x_primary_alternate_month_6    => p_isir_matched_rectype.primary_alternate_month_6,
5971            x_primary_alternate_month_7    => p_isir_matched_rectype.primary_alternate_month_7,
5972            x_primary_alternate_month_8    => p_isir_matched_rectype.primary_alternate_month_8,
5973            x_primary_alternate_month_10   => p_isir_matched_rectype.primary_alternate_month_10,
5974            x_primary_alternate_month_11   => p_isir_matched_rectype.primary_alternate_month_11,
5975            x_primary_alternate_month_12   => p_isir_matched_rectype.primary_alternate_month_12,
5976            x_sec_alternate_month_1        => p_isir_matched_rectype.sec_alternate_month_1,
5977            x_sec_alternate_month_2        => p_isir_matched_rectype.sec_alternate_month_2,
5978            x_sec_alternate_month_3        => p_isir_matched_rectype.sec_alternate_month_3,
5979            x_sec_alternate_month_4        => p_isir_matched_rectype.sec_alternate_month_4,
5980            x_sec_alternate_month_5        => p_isir_matched_rectype.sec_alternate_month_5,
5981            x_sec_alternate_month_6        => p_isir_matched_rectype.sec_alternate_month_6,
5982            x_sec_alternate_month_7        => p_isir_matched_rectype.sec_alternate_month_7,
5983            x_sec_alternate_month_8        => p_isir_matched_rectype.sec_alternate_month_8,
5984            x_sec_alternate_month_10       => p_isir_matched_rectype.sec_alternate_month_10,
5985            x_sec_alternate_month_11       => p_isir_matched_rectype.sec_alternate_month_11,
5986            x_sec_alternate_month_12       => p_isir_matched_rectype.sec_alternate_month_12,
5987            x_total_income                 => p_isir_matched_rectype.total_income,
5988            x_allow_total_income           => p_isir_matched_rectype.allow_total_income,
5989            x_state_tax_allow              => p_isir_matched_rectype.state_tax_allow,
5990            x_employment_allow             => p_isir_matched_rectype.employment_allow,
5991            x_income_protection_allow      => p_isir_matched_rectype.income_protection_allow,
5992            x_available_income             => p_isir_matched_rectype.available_income,
5993            x_contribution_from_ai         => p_isir_matched_rectype.contribution_from_ai,
5994            x_discretionary_networth       => p_isir_matched_rectype.discretionary_networth,
5995            x_efc_networth                 => p_isir_matched_rectype.efc_networth,
5996            x_asset_protect_allow          => p_isir_matched_rectype.asset_protect_allow,
5997            x_parents_cont_from_assets     => p_isir_matched_rectype.parents_cont_from_assets,
5998            x_adjusted_available_income    => p_isir_matched_rectype.adjusted_available_income,
5999            x_total_student_contribution   => p_isir_matched_rectype.total_student_contribution,
6000            x_total_parent_contribution    => p_isir_matched_rectype.total_parent_contribution,
6001            x_parents_contribution         => p_isir_matched_rectype.parents_contribution,
6002            x_student_total_income         => p_isir_matched_rectype.student_total_income,
6003            x_sati                         => p_isir_matched_rectype.sati,
6004            x_sic                          => p_isir_matched_rectype.sic,
6005            x_sdnw                         => p_isir_matched_rectype.sdnw,
6006            x_sca                          => p_isir_matched_rectype.sca,
6007            x_fti                          => p_isir_matched_rectype.fti,
6008            x_secti                        => p_isir_matched_rectype.secti,
6009            x_secati                       => p_isir_matched_rectype.secati,
6010            x_secstx                       => p_isir_matched_rectype.secstx,
6011            x_secea                        => p_isir_matched_rectype.secea,
6012            x_secipa                       => p_isir_matched_rectype.secipa,
6013            x_secai                        => p_isir_matched_rectype.secai,
6014            x_seccai                       => p_isir_matched_rectype.seccai,
6015            x_secdnw                       => p_isir_matched_rectype.secdnw,
6016            x_secnw                        => p_isir_matched_rectype.secnw,
6017            x_secapa                       => p_isir_matched_rectype.secapa,
6018            x_secpca                       => p_isir_matched_rectype.secpca,
6019            x_secaai                       => p_isir_matched_rectype.secaai,
6020            x_sectsc                       => p_isir_matched_rectype.sectsc,
6021            x_sectpc                       => p_isir_matched_rectype.sectpc,
6022            x_secpc                        => p_isir_matched_rectype.secpc,
6023            x_secsti                       => p_isir_matched_rectype.secsti,
6024            x_secsic                       => p_isir_matched_rectype.secsic,
6025            x_secsati                      => p_isir_matched_rectype.secsati,
6026            x_secsdnw                      => p_isir_matched_rectype.secsdnw,
6027            x_secsca                       => p_isir_matched_rectype.secsca,
6028            x_secfti                       => p_isir_matched_rectype.secfti,
6029            x_a_citizenship                => p_isir_matched_rectype.a_citizenship,
6030            x_a_student_marital_status     => p_isir_matched_rectype.a_student_marital_status,
6031            x_a_student_agi                => p_isir_matched_rectype.a_student_agi,
6032            x_a_s_us_tax_paid              => p_isir_matched_rectype.a_s_us_tax_paid,
6033            x_a_s_income_work              => p_isir_matched_rectype.a_s_income_work,
6034            x_a_spouse_income_work         => p_isir_matched_rectype.a_spouse_income_work,
6035            x_a_s_total_wsc                => p_isir_matched_rectype.a_s_total_wsc,
6036            x_a_date_of_birth              => p_isir_matched_rectype.a_date_of_birth,
6037            x_a_student_married            => p_isir_matched_rectype.a_student_married,
6038            x_a_have_children              => p_isir_matched_rectype.a_have_children,
6039            x_a_s_have_dependents          => p_isir_matched_rectype.a_s_have_dependents,
6040            x_a_va_status                  => p_isir_matched_rectype.a_va_status,
6041            x_a_s_num_in_family            => p_isir_matched_rectype.a_s_num_in_family,
6042            x_a_s_num_in_college           => p_isir_matched_rectype.a_s_num_in_college,
6043            x_a_p_marital_status           => p_isir_matched_rectype.a_p_marital_status,
6044            x_a_father_ssn                 => p_isir_matched_rectype.a_father_ssn,
6045            x_a_mother_ssn                 => p_isir_matched_rectype.a_mother_ssn,
6046            x_a_parents_num_family         => p_isir_matched_rectype.a_parents_num_family,
6047            x_a_parents_num_college        => p_isir_matched_rectype.a_parents_num_college,
6048            x_a_parents_agi                => p_isir_matched_rectype.a_parents_agi,
6049            x_a_p_us_tax_paid              => p_isir_matched_rectype.a_p_us_tax_paid,
6050            x_a_f_work_income              => p_isir_matched_rectype.a_f_work_income,
6051            x_a_m_work_income              => p_isir_matched_rectype.a_m_work_income,
6052            x_a_p_total_wsc                => p_isir_matched_rectype.a_p_total_wsc,
6053            x_comment_codes                => p_isir_matched_rectype.comment_codes,
6054            x_sar_ack_comm_code            => p_isir_matched_rectype.sar_ack_comm_code,
6055            x_pell_grant_elig_flag         => p_isir_matched_rectype.pell_grant_elig_flag,
6056            x_reprocess_reason_code        => p_isir_matched_rectype.reprocess_reason_code,
6057            x_duplicate_date               => p_isir_matched_rectype.duplicate_date,
6058            x_isir_transaction_type        => p_isir_matched_rectype.isir_transaction_type,
6059            x_fedral_schl_code_indicator   => p_isir_matched_rectype.fedral_schl_code_indicator,
6060            x_multi_school_code_flags      => p_isir_matched_rectype.multi_school_code_flags,
6061            x_dup_ssn_indicator            => p_isir_matched_rectype.dup_ssn_indicator,
6062            x_system_record_type           => p_isir_matched_rectype.system_record_type,
6063            x_verif_track_flag             => p_isir_matched_rectype.verif_track_flag,
6064            x_payment_isir                 => p_isir_matched_rectype.payment_isir,
6065            x_receipt_status               => p_isir_matched_rectype.receipt_status,
6066            x_isir_receipt_completed       => p_isir_matched_rectype.isir_receipt_completed,
6067            x_active_isir                  => p_isir_matched_rectype.active_isir,
6068            x_fafsa_data_verify_flags      => p_isir_matched_rectype.fafsa_data_verify_flags,
6069            x_reject_override_a            => p_isir_matched_rectype.reject_override_a,
6070            x_reject_override_c            => p_isir_matched_rectype.reject_override_c,
6071            x_parent_marital_status_date   => p_isir_matched_rectype.parent_marital_status_date,
6072            x_legacy_record_flag           => p_isir_matched_rectype.legacy_record_flag,
6073            x_father_first_name_initial    => p_isir_matched_rectype.father_first_name_initial_txt,
6074            x_father_step_father_birth_dt  => p_isir_matched_rectype.father_step_father_birth_date,
6075            x_mother_first_name_initial    => p_isir_matched_rectype.mother_first_name_initial_txt,
6076            x_mother_step_mother_birth_dt  => p_isir_matched_rectype.mother_step_mother_birth_date,
6077            x_parents_email_address_txt    => p_isir_matched_rectype.parents_email_address_txt,
6078            x_address_change_type          => p_isir_matched_rectype.address_change_type,
6079            x_cps_pushed_isir_flag         => p_isir_matched_rectype.cps_pushed_isir_flag,
6080            x_electronic_transaction_type  => p_isir_matched_rectype.electronic_transaction_type,
6081            x_sar_c_change_type            => p_isir_matched_rectype.sar_c_change_type,
6082            x_father_ssn_match_type        => p_isir_matched_rectype.father_ssn_match_type,
6083            x_mother_ssn_match_type        => p_isir_matched_rectype.mother_ssn_match_type,
6084            x_reject_override_g_flag       => p_isir_matched_rectype.reject_override_g_flag,
6085            x_dhs_verification_num_txt     => p_isir_matched_rectype.dhs_verification_num_txt,
6086            x_data_file_name_txt           => p_isir_matched_rectype.data_file_name_txt,
6087            x_message_class_txt            => p_isir_matched_rectype.message_class_txt,
6088            x_reject_override_3_flag       => p_isir_matched_rectype.reject_override_3_flag,
6089            x_reject_override_12_flag      => p_isir_matched_rectype.reject_override_12_flag,
6090            x_reject_override_j_flag       => p_isir_matched_rectype.reject_override_j_flag,
6091            x_reject_override_k_flag       => p_isir_matched_rectype.reject_override_k_flag,
6092            x_rejected_status_change_flag  => p_isir_matched_rectype.rejected_status_change_flag,
6093            x_verification_selection_flag  => p_isir_matched_rectype.verification_selection_flag
6094 
6095           );
6096   END update_row_rectype;
6097 
6098 END igf_ap_isir_matched_pkg;