[Home] [Help]
1329:
1330: IF l_completed_flag = 'Y' THEN
1331: IF igs_ad_gen_008.admp_get_saors(t_adm_offer_resp_status(t_idx)) = 'ACCEPTED' THEN
1332: -- Now the Record is updated successfully then call the Pre Enrollment Job with Confirm_ind and Eligibility_Ind parameters as 'Y', 'Y' respectively.
1333: IF igs_ad_upd_initialise.perform_pre_enrol(
1334: l_acaiv_rec.person_id,
1335: l_acaiv_rec.admission_appl_number,
1336: l_acaiv_rec.nominated_course_cd,
1337: l_acaiv_rec.sequence_number,
1342: -- Update the Status of interface record and insert the error Code / Message text into Error table igs_ad_offresp_int.
1343: l_completed_flag := 'N';
1344: l_pre_enrol_success := 'N';
1345: insert_int_error(t_offresp_int_id (t_idx),NULL,v_message_name);
1346: logdetail(t_offresp_int_id(t_idx), NULL, v_message_name,'imp_off_resp: IF igs_ad_upd_initialise.perform_pre_enrol',NULL);
1347: UPDATE igs_ad_offresp_int SET status = '3' WHERE offresp_int_id = t_offresp_int_id(t_idx);
1348: END IF; -- Of call to Pre Enrollment job
1349: END IF;
1350: