[Home] [Help]
The following lines contain the word 'select', 'insert', 'update' or 'delete':
x_last_update_date IN DATE ,
x_last_updated_by IN NUMBER ,
x_last_update_login IN NUMBER ,
x_birth_dt IN DATE ,
x_last_name IN VARCHAR2,
x_first_name IN VARCHAR2,
x_middle_name IN VARCHAR2,
x_current_ssn IN VARCHAR2,
x_legacy_record_flag IN VARCHAR2 DEFAULT NULL,
x_reporting_pell_cd IN VARCHAR2 DEFAULT NULL,
x_rep_entity_id_txt IN VARCHAR2,
x_atd_entity_id_txt IN VARCHAR2,
x_note_message IN VARCHAR2,
x_full_resp_code IN VARCHAR2,
x_document_id_txt IN VARCHAR2
) AS
/*
|| Created By : adhawan
|| Created On : 15-JAN-2001
|| Purpose : Initialises the Old and New references for the columns of the table.
|| Known limitations, enhancements or remarks :
|| Change History :
|| Who When What
|| (reverse chronological order - newest change first)
*/
CURSOR cur_old_ref_values IS
SELECT *
FROM IGF_GR_RFMS_ALL
WHERE rowid = x_rowid;
IF ((cur_old_ref_values%NOTFOUND) AND (p_action NOT IN ('INSERT', 'VALIDATE_INSERT'))) THEN
CLOSE cur_old_ref_values;
fnd_message.set_name ('FND', 'FORM_RECORD_DELETED');
IF (p_action = 'UPDATE') THEN
new_references.creation_date := old_references.creation_date;
new_references.last_update_date := x_last_update_date;
new_references.last_updated_by := x_last_updated_by;
new_references.last_update_login := x_last_update_login;
fnd_message.set_name ('FND', 'FORM_RECORD_DELETED');
fnd_message.set_name ('FND', 'FORM_RECORD_DELETED');
fnd_message.set_name ('FND', 'FORM_RECORD_DELETED');
fnd_message.set_name ('FND', 'FORM_RECORD_DELETED');
SELECT rowid
FROM igf_gr_rfms_all
WHERE origination_id = x_origination_id
FOR UPDATE NOWAIT;
SELECT rowid
FROM igf_gr_rfms_all
WHERE ((rfmb_id = x_rfmb_id));
SELECT rowid
FROM igf_gr_rfms_all
WHERE ((ci_cal_type = x_cal_type) AND
(ci_sequence_number = x_sequence_number));
SELECT rowid
FROM igf_gr_rfms_all
WHERE ((award_id = x_award_id));
SELECT rowid
FROM igf_gr_rfms_all
WHERE ((base_id = x_base_id));
x_last_update_date IN DATE ,
x_last_updated_by IN NUMBER ,
x_last_update_login IN NUMBER ,
x_birth_dt IN DATE ,
x_last_name IN VARCHAR2,
x_first_name IN VARCHAR2,
x_middle_name IN VARCHAR2,
x_current_ssn IN VARCHAR2,
x_legacy_record_flag IN VARCHAR2,
x_reporting_pell_cd IN VARCHAR2,
x_rep_entity_id_txt IN VARCHAR2,
x_atd_entity_id_txt IN VARCHAR2,
x_note_message IN VARCHAR2,
x_full_resp_code IN VARCHAR2,
x_document_id_txt IN VARCHAR2
) AS
/*
|| Created By : adhawan
|| Created On : 15-JAN-2001
|| Purpose : Initialises the columns, Checks Constraints, Calls the
|| Trigger Handlers for the table, before any DML operation.
|| Known limitations, enhancements or remarks :
|| Change History :
|| Who When What
|| (reverse chronological order - newest change first)
*/
BEGIN
set_column_values (
p_action,
x_rowid,
x_origination_id,
x_ci_cal_type,
x_ci_sequence_number,
x_base_id,
x_award_id,
x_rfmb_id,
x_sys_orig_ssn,
x_sys_orig_name_cd,
x_transaction_num,
x_efc,
x_ver_status_code,
x_secondary_efc,
x_secondary_efc_cd,
x_pell_amount,
x_enrollment_status,
x_enrollment_dt,
x_coa_amount,
x_academic_calendar,
x_payment_method,
x_total_pymt_prds,
x_incrcd_fed_pell_rcp_cd,
x_attending_campus_id,
x_est_disb_dt1,
x_orig_action_code,
x_orig_status_dt,
x_orig_ed_use_flags,
x_ft_pell_amount,
x_prev_accpt_efc,
x_prev_accpt_tran_no,
x_prev_accpt_sec_efc_cd,
x_prev_accpt_coa,
x_orig_reject_code,
x_wk_inst_time_calc_pymt,
x_wk_int_time_prg_def_yr,
x_cr_clk_hrs_prds_sch_yr,
x_cr_clk_hrs_acad_yr,
x_inst_cross_ref_cd,
x_low_tution_fee,
x_rec_source,
x_pending_amount,
x_creation_date,
x_created_by,
x_last_update_date,
x_last_updated_by,
x_last_update_login,
x_birth_dt,
x_last_name,
x_first_name,
x_middle_name,
x_current_ssn,
x_legacy_record_flag,
x_reporting_pell_cd,
x_rep_entity_id_txt,
x_atd_entity_id_txt,
x_note_message,
x_full_resp_code,
x_document_id_txt
);
IF (p_action = 'INSERT') THEN
-- Call all the procedures related to Before Insert.
IF ( get_pk_for_validation(
new_references.origination_id
)
) THEN
fnd_message.set_name('IGS','IGS_GE_RECORD_ALREADY_EXISTS');
ELSIF (p_action = 'UPDATE') THEN
-- Call all the procedures related to Before Update.
check_parent_existance;
ELSIF (p_action = 'DELETE') THEN
-- Call all the procedures related to Before Delete.
check_child_existance;
ELSIF (p_action = 'VALIDATE_INSERT') THEN
-- Call all the procedures related to Before Insert.
IF ( get_pk_for_validation (
new_references.origination_id
)
) THEN
fnd_message.set_name('IGS','IGS_GE_RECORD_ALREADY_EXISTS');
ELSIF (p_action = 'VALIDATE_DELETE') THEN
check_child_existance;
PROCEDURE insert_row (
x_rowid IN OUT NOCOPY VARCHAR2,
x_origination_id IN VARCHAR2,
x_ci_cal_type IN VARCHAR2,
x_ci_sequence_number IN NUMBER,
x_base_id IN NUMBER,
x_award_id IN NUMBER,
x_rfmb_id IN NUMBER,
x_sys_orig_ssn IN VARCHAR2,
x_sys_orig_name_cd IN VARCHAR2,
x_transaction_num IN VARCHAR2,
x_efc IN NUMBER,
x_ver_status_code IN VARCHAR2,
x_secondary_efc IN NUMBER,
x_secondary_efc_cd IN VARCHAR2,
x_pell_amount IN NUMBER,
x_pell_profile IN VARCHAR2,
x_enrollment_status IN VARCHAR2,
x_enrollment_dt IN DATE,
x_coa_amount IN NUMBER,
x_academic_calendar IN VARCHAR2,
x_payment_method IN VARCHAR2,
x_total_pymt_prds IN NUMBER,
x_incrcd_fed_pell_rcp_cd IN VARCHAR2,
x_attending_campus_id IN VARCHAR2,
x_est_disb_dt1 IN DATE,
x_orig_action_code IN VARCHAR2,
x_orig_status_dt IN DATE,
x_orig_ed_use_flags IN VARCHAR2,
x_ft_pell_amount IN NUMBER,
x_prev_accpt_efc IN NUMBER,
x_prev_accpt_tran_no IN VARCHAR2,
x_prev_accpt_sec_efc_cd IN VARCHAR2,
x_prev_accpt_coa IN NUMBER,
x_orig_reject_code IN VARCHAR2,
x_wk_inst_time_calc_pymt IN NUMBER,
x_wk_int_time_prg_def_yr IN NUMBER,
x_cr_clk_hrs_prds_sch_yr IN NUMBER,
x_cr_clk_hrs_acad_yr IN NUMBER,
x_inst_cross_ref_cd IN VARCHAR2,
x_low_tution_fee IN VARCHAR2,
x_rec_source IN VARCHAR2,
x_pending_amount IN NUMBER,
x_mode IN VARCHAR2,
x_birth_dt IN DATE,
x_last_name IN VARCHAR2,
x_first_name IN VARCHAR2,
x_middle_name IN VARCHAR2,
x_current_ssn IN VARCHAR2,
x_legacy_record_flag IN VARCHAR2,
x_reporting_pell_cd IN VARCHAR2,
x_rep_entity_id_txt IN VARCHAR2,
x_atd_entity_id_txt IN VARCHAR2,
x_note_message IN VARCHAR2,
x_full_resp_code IN VARCHAR2,
x_document_id_txt IN VARCHAR2
) AS
/*
|| Created By : adhawan
|| Created On : 15-JAN-2001
|| Purpose : Handles the INSERT DML logic for the table.
|| Known limitations, enhancements or remarks :
|| Change History :
|| Who When What
|| (reverse chronological order - newest change first)
*/
CURSOR c IS
SELECT rowid
FROM igf_gr_rfms_all
WHERE origination_id = x_origination_id;
x_last_update_date DATE;
x_last_updated_by NUMBER;
x_last_update_login NUMBER;
x_program_update_date DATE;
x_last_update_date := SYSDATE;
x_last_updated_by := 1;
x_last_update_login := 0;
x_last_updated_by := fnd_global.user_id;
IF (x_last_updated_by IS NULL) THEN
x_last_updated_by := -1;
x_last_update_login := fnd_global.login_id;
IF (x_last_update_login IS NULL) THEN
x_last_update_login := -1;
x_program_update_date := NULL;
x_program_update_date := SYSDATE;
p_action => 'INSERT',
x_rowid => x_rowid,
x_origination_id => x_origination_id,
x_ci_cal_type => x_ci_cal_type,
x_ci_sequence_number => x_ci_sequence_number,
x_base_id => x_base_id,
x_award_id => x_award_id,
x_rfmb_id => x_rfmb_id,
x_sys_orig_ssn => x_sys_orig_ssn,
x_sys_orig_name_cd => x_sys_orig_name_cd,
x_transaction_num => x_transaction_num,
x_efc => x_efc,
x_ver_status_code => x_ver_status_code,
x_secondary_efc => x_secondary_efc,
x_secondary_efc_cd => x_secondary_efc_cd,
x_pell_amount => x_pell_amount,
x_pell_profile => x_pell_profile,
x_enrollment_status => x_enrollment_status,
x_enrollment_dt => x_enrollment_dt,
x_coa_amount => x_coa_amount,
x_academic_calendar => x_academic_calendar,
x_payment_method => x_payment_method,
x_total_pymt_prds => x_total_pymt_prds,
x_incrcd_fed_pell_rcp_cd => x_incrcd_fed_pell_rcp_cd,
x_attending_campus_id => x_attending_campus_id,
x_est_disb_dt1 => x_est_disb_dt1,
x_orig_action_code => x_orig_action_code,
x_orig_status_dt => x_orig_status_dt,
x_orig_ed_use_flags => x_orig_ed_use_flags,
x_ft_pell_amount => x_ft_pell_amount,
x_prev_accpt_efc => x_prev_accpt_efc,
x_prev_accpt_tran_no => x_prev_accpt_tran_no,
x_prev_accpt_sec_efc_cd => x_prev_accpt_sec_efc_cd,
x_prev_accpt_coa => x_prev_accpt_coa,
x_orig_reject_code => x_orig_reject_code,
x_wk_inst_time_calc_pymt => x_wk_inst_time_calc_pymt,
x_wk_int_time_prg_def_yr => x_wk_int_time_prg_def_yr,
x_cr_clk_hrs_prds_sch_yr => x_cr_clk_hrs_prds_sch_yr,
x_cr_clk_hrs_acad_yr => x_cr_clk_hrs_acad_yr,
x_inst_cross_ref_cd => x_inst_cross_ref_cd,
x_low_tution_fee => x_low_tution_fee,
x_rec_source => x_rec_source,
x_pending_amount => x_pending_amount,
x_creation_date => x_last_update_date,
x_created_by => x_last_updated_by,
x_last_update_date => x_last_update_date,
x_last_updated_by => x_last_updated_by,
x_last_update_login => x_last_update_login,
x_birth_dt => x_birth_dt,
x_last_name => x_last_name,
x_first_name => x_first_name,
x_middle_name => x_middle_name,
x_current_ssn => x_current_ssn,
x_legacy_record_flag => x_legacy_record_flag,
x_reporting_pell_cd => x_reporting_pell_cd,
x_rep_entity_id_txt => x_rep_entity_id_txt,
x_atd_entity_id_txt => x_atd_entity_id_txt,
x_note_message => x_note_message ,
x_full_resp_code => x_full_resp_code,
x_document_id_txt => x_document_id_txt
);
INSERT INTO igf_gr_rfms_all (
origination_id,
ci_cal_type,
ci_sequence_number,
base_id,
award_id,
rfmb_id,
sys_orig_ssn,
sys_orig_name_cd,
transaction_num,
efc,
ver_status_code,
secondary_efc,
secondary_efc_cd,
pell_amount,
enrollment_status,
enrollment_dt,
coa_amount,
academic_calendar,
payment_method,
total_pymt_prds,
incrcd_fed_pell_rcp_cd,
attending_campus_id,
est_disb_dt1,
orig_action_code,
orig_status_dt,
orig_ed_use_flags,
ft_pell_amount,
prev_accpt_efc,
prev_accpt_tran_no,
prev_accpt_sec_efc_cd,
prev_accpt_coa,
orig_reject_code,
wk_inst_time_calc_pymt,
wk_int_time_prg_def_yr,
cr_clk_hrs_prds_sch_yr,
cr_clk_hrs_acad_yr,
inst_cross_ref_cd,
low_tution_fee,
rec_source,
pending_amount,
creation_date,
created_by,
last_update_date,
last_updated_by,
last_update_login,
request_id,
program_id,
program_application_id,
program_update_date,
org_id,
birth_dt,
last_name,
first_name,
middle_name,
current_ssn,
legacy_record_flag,
reporting_pell_cd,
rep_entity_id_txt,
atd_entity_id_txt,
note_message,
full_resp_code,
document_id_txt
) VALUES (
new_references.origination_id,
new_references.ci_cal_type,
new_references.ci_sequence_number,
new_references.base_id,
new_references.award_id,
new_references.rfmb_id,
new_references.sys_orig_ssn,
new_references.sys_orig_name_cd,
new_references.transaction_num,
new_references.efc,
new_references.ver_status_code,
new_references.secondary_efc,
new_references.secondary_efc_cd,
new_references.pell_amount,
new_references.enrollment_status,
new_references.enrollment_dt,
new_references.coa_amount,
new_references.academic_calendar,
new_references.payment_method,
new_references.total_pymt_prds,
new_references.incrcd_fed_pell_rcp_cd,
new_references.attending_campus_id,
new_references.est_disb_dt1,
new_references.orig_action_code,
new_references.orig_status_dt,
new_references.orig_ed_use_flags,
new_references.ft_pell_amount,
new_references.prev_accpt_efc,
new_references.prev_accpt_tran_no,
new_references.prev_accpt_sec_efc_cd,
new_references.prev_accpt_coa,
new_references.orig_reject_code,
new_references.wk_inst_time_calc_pymt,
new_references.wk_int_time_prg_def_yr,
new_references.cr_clk_hrs_prds_sch_yr,
new_references.cr_clk_hrs_acad_yr,
new_references.inst_cross_ref_cd,
new_references.low_tution_fee,
new_references.rec_source,
new_references.pending_amount,
x_last_update_date,
x_last_updated_by,
x_last_update_date,
x_last_updated_by,
x_last_update_login ,
x_request_id,
x_program_id,
x_program_application_id,
x_program_update_date,
l_org_id,
new_references.birth_dt,
new_references.last_name,
new_references.first_name,
new_references.middle_name,
new_references.current_ssn,
new_references.legacy_record_flag,
new_references.reporting_pell_cd,
new_references.rep_entity_id_txt,
new_references.atd_entity_id_txt,
new_references.note_message,
new_references.full_resp_code,
new_references.document_id_txt
);
END insert_row;
SELECT
ci_cal_type,
ci_sequence_number,
base_id,
award_id,
rfmb_id,
sys_orig_ssn,
sys_orig_name_cd,
transaction_num,
efc,
ver_status_code,
secondary_efc,
secondary_efc_cd,
pell_amount,
enrollment_status,
enrollment_dt,
coa_amount,
academic_calendar,
payment_method,
total_pymt_prds,
incrcd_fed_pell_rcp_cd,
attending_campus_id,
est_disb_dt1,
orig_action_code,
orig_status_dt,
orig_ed_use_flags,
ft_pell_amount,
prev_accpt_efc,
prev_accpt_tran_no,
prev_accpt_sec_efc_cd,
prev_accpt_coa,
orig_reject_code,
wk_inst_time_calc_pymt,
wk_int_time_prg_def_yr,
cr_clk_hrs_prds_sch_yr,
cr_clk_hrs_acad_yr,
inst_cross_ref_cd,
low_tution_fee,
rec_source,
pending_amount,
birth_dt,
last_name,
first_name,
middle_name,
current_ssn,
legacy_record_flag,
reporting_pell_cd,
rep_entity_id_txt,
atd_entity_id_txt,
note_message,
full_resp_code,
document_id_txt
FROM igf_gr_rfms_all
WHERE rowid = x_rowid
FOR UPDATE NOWAIT;
fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
PROCEDURE update_row (
x_rowid IN VARCHAR2,
x_origination_id IN VARCHAR2,
x_ci_cal_type IN VARCHAR2,
x_ci_sequence_number IN NUMBER,
x_base_id IN NUMBER,
x_award_id IN NUMBER,
x_rfmb_id IN NUMBER,
x_sys_orig_ssn IN VARCHAR2,
x_sys_orig_name_cd IN VARCHAR2,
x_transaction_num IN VARCHAR2,
x_efc IN NUMBER,
x_ver_status_code IN VARCHAR2,
x_secondary_efc IN NUMBER,
x_secondary_efc_cd IN VARCHAR2,
x_pell_amount IN NUMBER,
x_pell_profile IN VARCHAR2,
x_enrollment_status IN VARCHAR2,
x_enrollment_dt IN DATE,
x_coa_amount IN NUMBER,
x_academic_calendar IN VARCHAR2,
x_payment_method IN VARCHAR2,
x_total_pymt_prds IN NUMBER,
x_incrcd_fed_pell_rcp_cd IN VARCHAR2,
x_attending_campus_id IN VARCHAR2,
x_est_disb_dt1 IN DATE,
x_orig_action_code IN VARCHAR2,
x_orig_status_dt IN DATE,
x_orig_ed_use_flags IN VARCHAR2,
x_ft_pell_amount IN NUMBER,
x_prev_accpt_efc IN NUMBER,
x_prev_accpt_tran_no IN VARCHAR2,
x_prev_accpt_sec_efc_cd IN VARCHAR2,
x_prev_accpt_coa IN NUMBER,
x_orig_reject_code IN VARCHAR2,
x_wk_inst_time_calc_pymt IN NUMBER,
x_wk_int_time_prg_def_yr IN NUMBER,
x_cr_clk_hrs_prds_sch_yr IN NUMBER,
x_cr_clk_hrs_acad_yr IN NUMBER,
x_inst_cross_ref_cd IN VARCHAR2,
x_low_tution_fee IN VARCHAR2,
x_rec_source IN VARCHAR2,
x_pending_amount IN NUMBER,
x_mode IN VARCHAR2,
x_birth_dt IN DATE,
x_last_name IN VARCHAR2,
x_first_name IN VARCHAR2,
x_middle_name IN VARCHAR2,
x_current_ssn IN VARCHAR2,
x_legacy_record_flag IN VARCHAR2,
x_reporting_pell_cd IN VARCHAR2,
x_rep_entity_id_txt IN VARCHAR2,
x_atd_entity_id_txt IN VARCHAR2,
x_note_message IN VARCHAR2,
x_full_resp_code IN VARCHAR2,
x_document_id_txt IN VARCHAR2
) AS
/*
|| Created By : adhawan
|| Created On : 15-JAN-2001
|| Purpose : Handles the UPDATE DML logic for the table.
|| Known limitations, enhancements or remarks :
|| Change History :
|| Who When What
|| (reverse chronological order - newest change first)
*/
x_last_update_date DATE ;
x_last_updated_by NUMBER;
x_last_update_login NUMBER;
x_program_update_date DATE;
x_last_update_date := SYSDATE;
x_last_updated_by := 1;
x_last_update_login := 0;
x_last_updated_by := fnd_global.user_id;
IF x_last_updated_by IS NULL THEN
x_last_updated_by := -1;
x_last_update_login := fnd_global.login_id;
IF (x_last_update_login IS NULL) THEN
x_last_update_login := -1;
p_action => 'UPDATE',
x_rowid => x_rowid,
x_origination_id => x_origination_id,
x_ci_cal_type => x_ci_cal_type,
x_ci_sequence_number => x_ci_sequence_number,
x_base_id => x_base_id,
x_award_id => x_award_id,
x_rfmb_id => x_rfmb_id,
x_sys_orig_ssn => x_sys_orig_ssn,
x_sys_orig_name_cd => x_sys_orig_name_cd,
x_transaction_num => x_transaction_num,
x_efc => x_efc,
x_ver_status_code => x_ver_status_code,
x_secondary_efc => x_secondary_efc,
x_secondary_efc_cd => x_secondary_efc_cd,
x_pell_amount => x_pell_amount,
x_pell_profile => x_pell_profile,
x_enrollment_status => x_enrollment_status,
x_enrollment_dt => x_enrollment_dt,
x_coa_amount => x_coa_amount,
x_academic_calendar => x_academic_calendar,
x_payment_method => x_payment_method,
x_total_pymt_prds => x_total_pymt_prds,
x_incrcd_fed_pell_rcp_cd => x_incrcd_fed_pell_rcp_cd,
x_attending_campus_id => x_attending_campus_id,
x_est_disb_dt1 => x_est_disb_dt1,
x_orig_action_code => x_orig_action_code,
x_orig_status_dt => x_orig_status_dt,
x_orig_ed_use_flags => x_orig_ed_use_flags,
x_ft_pell_amount => x_ft_pell_amount,
x_prev_accpt_efc => x_prev_accpt_efc,
x_prev_accpt_tran_no => x_prev_accpt_tran_no,
x_prev_accpt_sec_efc_cd => x_prev_accpt_sec_efc_cd,
x_prev_accpt_coa => x_prev_accpt_coa,
x_orig_reject_code => x_orig_reject_code,
x_wk_inst_time_calc_pymt => x_wk_inst_time_calc_pymt,
x_wk_int_time_prg_def_yr => x_wk_int_time_prg_def_yr,
x_cr_clk_hrs_prds_sch_yr => x_cr_clk_hrs_prds_sch_yr,
x_cr_clk_hrs_acad_yr => x_cr_clk_hrs_acad_yr,
x_inst_cross_ref_cd => x_inst_cross_ref_cd,
x_low_tution_fee => x_low_tution_fee,
x_rec_source => x_rec_source,
x_pending_amount => x_pending_amount,
x_creation_date => x_last_update_date,
x_created_by => x_last_updated_by,
x_last_update_date => x_last_update_date,
x_last_updated_by => x_last_updated_by,
x_last_update_login => x_last_update_login,
x_birth_dt => x_birth_dt,
x_last_name => x_last_name,
x_first_name => x_first_name,
x_middle_name => x_middle_name,
x_current_ssn => x_current_ssn,
x_legacy_record_flag => x_legacy_record_flag,
x_reporting_pell_cd => x_reporting_pell_cd,
x_rep_entity_id_txt => x_rep_entity_id_txt,
x_atd_entity_id_txt => x_atd_entity_id_txt,
x_note_message => x_note_message,
x_full_resp_code => x_full_resp_code,
x_document_id_txt => x_document_id_txt
);
x_program_update_date := old_references.program_update_date;
x_program_update_date := SYSDATE;
UPDATE igf_gr_rfms_all
SET
ci_cal_type = new_references.ci_cal_type,
ci_sequence_number = new_references.ci_sequence_number,
base_id = new_references.base_id,
award_id = new_references.award_id,
rfmb_id = new_references.rfmb_id,
sys_orig_ssn = new_references.sys_orig_ssn,
sys_orig_name_cd = new_references.sys_orig_name_cd,
transaction_num = new_references.transaction_num,
efc = new_references.efc,
ver_status_code = new_references.ver_status_code,
secondary_efc = new_references.secondary_efc,
secondary_efc_cd = new_references.secondary_efc_cd,
pell_amount = new_references.pell_amount,
enrollment_status = new_references.enrollment_status,
enrollment_dt = new_references.enrollment_dt,
coa_amount = new_references.coa_amount,
academic_calendar = new_references.academic_calendar,
payment_method = new_references.payment_method,
total_pymt_prds = new_references.total_pymt_prds,
incrcd_fed_pell_rcp_cd = new_references.incrcd_fed_pell_rcp_cd,
attending_campus_id = new_references.attending_campus_id,
est_disb_dt1 = new_references.est_disb_dt1,
orig_action_code = new_references.orig_action_code,
orig_status_dt = new_references.orig_status_dt,
orig_ed_use_flags = new_references.orig_ed_use_flags,
ft_pell_amount = new_references.ft_pell_amount,
prev_accpt_efc = new_references.prev_accpt_efc,
prev_accpt_tran_no = new_references.prev_accpt_tran_no,
prev_accpt_sec_efc_cd = new_references.prev_accpt_sec_efc_cd,
prev_accpt_coa = new_references.prev_accpt_coa,
orig_reject_code = new_references.orig_reject_code,
wk_inst_time_calc_pymt = new_references.wk_inst_time_calc_pymt,
wk_int_time_prg_def_yr = new_references.wk_int_time_prg_def_yr,
cr_clk_hrs_prds_sch_yr = new_references.cr_clk_hrs_prds_sch_yr,
cr_clk_hrs_acad_yr = new_references.cr_clk_hrs_acad_yr,
inst_cross_ref_cd = new_references.inst_cross_ref_cd,
low_tution_fee = new_references.low_tution_fee,
rec_source = new_references.rec_source,
pending_amount = new_references.pending_amount,
last_update_date = x_last_update_date,
last_updated_by = x_last_updated_by,
last_update_login = x_last_update_login ,
request_id = x_request_id,
program_id = x_program_id,
program_application_id = x_program_application_id,
program_update_date = x_program_update_date,
birth_dt = new_references.birth_dt,
last_name = new_references.last_name,
first_name = new_references.first_name,
middle_name = new_references.middle_name,
current_ssn = new_references.current_ssn,
legacy_record_flag = new_references.legacy_record_flag,
reporting_pell_cd = new_references.reporting_pell_cd,
rep_entity_id_txt = new_references.rep_entity_id_txt,
atd_entity_id_txt = new_references.atd_entity_id_txt,
note_message = new_references.note_message,
full_resp_code = new_references.full_resp_code,
document_id_txt = new_references.document_id_txt
WHERE rowid = x_rowid;
END update_row;
|| Purpose : Adds a row if there is no existing row, otherwise updates existing row in the table.
|| Known limitations, enhancements or remarks :
|| Change History :
|| Who When What
|| (reverse chronological order - newest change first)
*/
CURSOR c1 IS
SELECT rowid
FROM igf_gr_rfms_all
WHERE origination_id = x_origination_id;
insert_row (
x_rowid,
x_origination_id,
x_ci_cal_type,
x_ci_sequence_number,
x_base_id,
x_award_id,
x_rfmb_id,
x_sys_orig_ssn,
x_sys_orig_name_cd,
x_transaction_num,
x_efc,
x_ver_status_code,
x_secondary_efc,
x_secondary_efc_cd,
x_pell_amount,
x_pell_profile,
x_enrollment_status,
x_enrollment_dt,
x_coa_amount,
x_academic_calendar,
x_payment_method,
x_total_pymt_prds,
x_incrcd_fed_pell_rcp_cd,
x_attending_campus_id,
x_est_disb_dt1,
x_orig_action_code,
x_orig_status_dt,
x_orig_ed_use_flags,
x_ft_pell_amount,
x_prev_accpt_efc,
x_prev_accpt_tran_no,
x_prev_accpt_sec_efc_cd,
x_prev_accpt_coa,
x_orig_reject_code,
x_wk_inst_time_calc_pymt,
x_wk_int_time_prg_def_yr,
x_cr_clk_hrs_prds_sch_yr,
x_cr_clk_hrs_acad_yr,
x_inst_cross_ref_cd,
x_low_tution_fee,
x_rec_source,
x_pending_amount,
x_mode,
x_birth_dt,
x_last_name,
x_first_name,
x_middle_name,
x_current_ssn,
x_legacy_record_flag,
x_reporting_pell_cd,
x_rep_entity_id_txt,
x_atd_entity_id_txt,
x_note_message,
x_full_resp_code,
x_document_id_txt
);
update_row (
x_rowid,
x_origination_id,
x_ci_cal_type,
x_ci_sequence_number,
x_base_id,
x_award_id,
x_rfmb_id,
x_sys_orig_ssn,
x_sys_orig_name_cd,
x_transaction_num,
x_efc,
x_ver_status_code,
x_secondary_efc,
x_secondary_efc_cd,
x_pell_amount,
x_pell_profile,
x_enrollment_status,
x_enrollment_dt,
x_coa_amount,
x_academic_calendar,
x_payment_method,
x_total_pymt_prds,
x_incrcd_fed_pell_rcp_cd,
x_attending_campus_id,
x_est_disb_dt1,
x_orig_action_code,
x_orig_status_dt,
x_orig_ed_use_flags,
x_ft_pell_amount,
x_prev_accpt_efc,
x_prev_accpt_tran_no,
x_prev_accpt_sec_efc_cd,
x_prev_accpt_coa,
x_orig_reject_code,
x_wk_inst_time_calc_pymt,
x_wk_int_time_prg_def_yr,
x_cr_clk_hrs_prds_sch_yr,
x_cr_clk_hrs_acad_yr,
x_inst_cross_ref_cd,
x_low_tution_fee,
x_rec_source,
x_pending_amount,
x_mode,
x_birth_dt,
x_last_name,
x_first_name,
x_middle_name,
x_current_ssn,
x_legacy_record_flag,
x_reporting_pell_cd,
x_rep_entity_id_txt,
x_atd_entity_id_txt,
x_note_message,
x_full_resp_code,
x_document_id_txt
);
PROCEDURE delete_row (
x_rowid IN VARCHAR2
) AS
/*
|| Created By : adhawan
|| Created On : 15-JAN-2001
|| Purpose : Handles the DELETE DML logic for the table.
|| Known limitations, enhancements or remarks :
|| Change History :
|| Who When What
|| (reverse chronological order - newest change first)
*/
BEGIN
before_dml (
p_action => 'DELETE',
x_rowid => x_rowid
);
DELETE FROM igf_gr_rfms_all
WHERE rowid = x_rowid;
END delete_row;