100: IF refcodes_cur%NOTFOUND THEN
101: l_rowid := NULL;
102:
103: --Call the TBH of the Reference codes table to insert a new Degree Subject.
104: igs_uc_ref_codes_pkg.Insert_Row (
105: X_ROWID => l_rowid,
106: X_CODE_TYPE => 'DS',
107: X_CODE => degsubj_proc_rec.deg_subj_code,
108: X_CODE_TEXT => degsubj_proc_rec.code_text,
113:
114: ELSE
115: l_rowid := refcodes_rec.rowid;
116: --Call the TBH of the Reference codes table to update a new Degree Subject.
117: igs_uc_ref_codes_pkg.Update_Row (
118: X_ROWID => l_rowid,
119: X_CODE_TYPE => 'DS',
120: X_CODE => degsubj_proc_rec.deg_subj_code,
121: X_CODE_TEXT => degsubj_proc_rec.code_text,