The following lines contain the word 'select', 'insert', 'update' or 'delete':
x_last_update_date IN DATE DEFAULT NULL,
x_last_updated_by IN NUMBER DEFAULT NULL,
x_last_update_login IN NUMBER DEFAULT NULL,
x_person_type_code IN VARCHAR2 DEFAULT NULL,
x_funnel_status IN VARCHAR2 DEFAULT NULL,
x_birth_city IN VARCHAR2 DEFAULT NULL,
x_birth_country IN VARCHAR2 DEFAULT NULL,
x_attribute21 IN VARCHAR2 DEFAULT NULL,
x_attribute22 IN VARCHAR2 DEFAULT NULL,
x_attribute23 IN VARCHAR2 DEFAULT NULL,
x_attribute24 IN VARCHAR2 DEFAULT NULL
) AS
/*
|| Created By : [email protected]
|| Created On : 21-NOV-2000
|| 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 IGS_AD_INTERFACE_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;
SELECT rowid
FROM igs_ad_interface_all
WHERE interface_id = x_interface_id
FOR UPDATE NOWAIT;
x_last_update_date IN DATE DEFAULT NULL,
x_last_updated_by IN NUMBER DEFAULT NULL,
x_last_update_login IN NUMBER DEFAULT NULL,
x_person_type_code IN VARCHAR2 DEFAULT NULL,
x_funnel_status IN VARCHAR2 DEFAULT NULL,
x_birth_city IN VARCHAR2 DEFAULT NULL,
x_birth_country IN VARCHAR2 DEFAULT NULL,
x_attribute21 IN VARCHAR2 DEFAULT NULL,
x_attribute22 IN VARCHAR2 DEFAULT NULL,
x_attribute23 IN VARCHAR2 DEFAULT NULL,
x_attribute24 IN VARCHAR2 DEFAULT NULL
) AS
/*
|| Created By : [email protected]
|| Created On : 21-NOV-2000
|| 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_person_number,
x_org_id,
x_interface_id,
x_batch_id,
x_source_type_id,
x_surname,
x_middle_name,
x_given_names,
x_preferred_given_name,
x_sex,
x_birth_dt,
x_title,
x_suffix,
x_pre_name_adjunct,
x_level_of_qual,
x_proof_of_insurance,
x_proof_of_immun,
x_pref_alternate_id,
x_person_id,
x_status,
x_military_service_reg,
x_veteran,
x_match_ind,
x_person_match_ind,
x_error_code,
x_record_status,
x_interface_run_id,
x_attribute_category,
x_attribute1,
x_attribute2,
x_attribute3,
x_attribute4,
x_attribute5,
x_attribute6,
x_attribute7,
x_attribute8,
x_attribute9,
x_attribute10,
x_attribute11,
x_attribute12,
x_attribute13,
x_attribute14,
x_attribute15,
x_attribute16,
x_attribute17,
x_attribute18,
x_attribute19,
x_attribute20,
x_creation_date,
x_created_by,
x_last_update_date,
x_last_updated_by,
x_last_update_login,
x_person_type_code,
x_funnel_status,
x_birth_city,
x_birth_country,
x_attribute21,
x_attribute22,
x_attribute23,
x_attribute24
);
IF (p_action = 'INSERT') THEN
-- Call all the procedures related to Before Insert.
IF Get_Pk_For_Validation(
new_references.interface_id) THEN
Fnd_Message.Set_name('IGS','IGS_GE_MULTI_ORG_DUP_REC');
ELSIF (p_action = 'UPDATE') THEN
-- Call all the procedures related to Before Update.
Check_Constraints;
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.interface_id) THEN
Fnd_Message.Set_name('IGS','IGS_GE_MULTI_ORG_DUP_REC');
ELSIF (p_action = 'VALIDATE_UPDATE') THEN
Check_Constraints;
ELSIF (p_action = 'VALIDATE_DELETE') THEN
Check_Child_Existance;
PROCEDURE insert_row (
x_rowid IN OUT NOCOPY VARCHAR2,
x_person_number IN VARCHAR2,
x_org_id IN NUMBER DEFAULT NULL,
x_interface_id IN NUMBER,
x_batch_id IN NUMBER,
x_source_type_id IN NUMBER,
x_surname IN VARCHAR2,
x_middle_name IN VARCHAR2,
x_given_names IN VARCHAR2,
x_preferred_given_name IN VARCHAR2,
x_sex IN VARCHAR2,
x_birth_dt IN DATE,
x_title IN VARCHAR2,
x_suffix IN VARCHAR2,
x_pre_name_adjunct IN VARCHAR2,
x_level_of_qual IN NUMBER,
x_proof_of_insurance IN VARCHAR2,
x_proof_of_immun IN VARCHAR2,
x_pref_alternate_id IN VARCHAR2,
x_person_id IN NUMBER,
x_status IN VARCHAR2,
x_military_service_reg IN VARCHAR2,
x_veteran IN VARCHAR2,
x_match_ind IN VARCHAR2,
x_person_match_ind IN VARCHAR2,
x_error_code IN VARCHAR2,
x_record_status IN VARCHAR2,
x_interface_run_id IN NUMBER,
x_attribute_category IN VARCHAR2,
x_attribute1 IN VARCHAR2,
x_attribute2 IN VARCHAR2,
x_attribute3 IN VARCHAR2,
x_attribute4 IN VARCHAR2,
x_attribute5 IN VARCHAR2,
x_attribute6 IN VARCHAR2,
x_attribute7 IN VARCHAR2,
x_attribute8 IN VARCHAR2,
x_attribute9 IN VARCHAR2,
x_attribute10 IN VARCHAR2,
x_attribute11 IN VARCHAR2,
x_attribute12 IN VARCHAR2,
x_attribute13 IN VARCHAR2,
x_attribute14 IN VARCHAR2,
x_attribute15 IN VARCHAR2,
x_attribute16 IN VARCHAR2,
x_attribute17 IN VARCHAR2,
x_attribute18 IN VARCHAR2,
x_attribute19 IN VARCHAR2,
x_attribute20 IN VARCHAR2,
x_mode IN VARCHAR2 DEFAULT NULL,
x_person_type_code IN VARCHAR2 DEFAULT NULL,
x_funnel_status IN VARCHAR2 DEFAULT NULL,
x_birth_city IN VARCHAR2 DEFAULT NULL,
x_birth_country IN VARCHAR2 DEFAULT NULL,
x_attribute21 IN VARCHAR2,
x_attribute22 IN VARCHAR2,
x_attribute23 IN VARCHAR2,
x_attribute24 IN VARCHAR2
) AS
/*
|| Created By : [email protected]
|| Created On : 21-NOV-2000
|| Purpose : Handles the INSERT DML logic for the table.
|| Known limitations, enhancements or remarks :
|| Change History :
|| Who When What
|| smvk 13-Feb-2002 Call to igs_ge_gen_003.get_org_id
|| w.r.t. SWCR006
|| (reverse chronological order - newest change first)
*/
CURSOR c IS
SELECT rowid
FROM igs_ad_interface_all
WHERE interface_id = x_interface_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_person_number => x_person_number,
x_org_id => igs_ge_gen_003.get_org_id,
x_interface_id => x_interface_id,
x_batch_id => x_batch_id,
x_source_type_id => x_source_type_id,
x_surname => x_surname,
x_middle_name => x_middle_name,
x_given_names => x_given_names,
x_preferred_given_name => x_preferred_given_name,
x_sex => x_sex,
x_birth_dt => x_birth_dt,
x_title => x_title,
x_suffix => x_suffix,
x_pre_name_adjunct => x_pre_name_adjunct,
x_level_of_qual => x_level_of_qual,
x_proof_of_insurance => x_proof_of_insurance,
x_proof_of_immun => x_proof_of_immun,
x_pref_alternate_id => x_pref_alternate_id,
x_person_id => x_person_id,
x_status => x_status,
x_military_service_reg => x_military_service_reg,
x_veteran => x_veteran,
x_match_ind => x_match_ind,
x_person_match_ind => x_person_match_ind,
x_error_code => x_error_code,
x_record_status => x_record_status,
x_interface_run_id => x_interface_run_id,
x_attribute_category => x_attribute_category,
x_attribute1 => x_attribute1,
x_attribute2 => x_attribute2,
x_attribute3 => x_attribute3,
x_attribute4 => x_attribute4,
x_attribute5 => x_attribute5,
x_attribute6 => x_attribute6,
x_attribute7 => x_attribute7,
x_attribute8 => x_attribute8,
x_attribute9 => x_attribute9,
x_attribute10 => x_attribute10,
x_attribute11 => x_attribute11,
x_attribute12 => x_attribute12,
x_attribute13 => x_attribute13,
x_attribute14 => x_attribute14,
x_attribute15 => x_attribute15,
x_attribute16 => x_attribute16,
x_attribute17 => x_attribute17,
x_attribute18 => x_attribute18,
x_attribute19 => x_attribute19,
x_attribute20 => x_attribute20,
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_person_type_code => x_person_type_code,
x_funnel_status => x_funnel_status,
x_birth_city => x_birth_city,
x_birth_country => x_birth_country,
x_attribute21 => x_attribute21,
x_attribute22 => x_attribute22,
x_attribute23 => x_attribute23,
x_attribute24 => x_attribute24
);
INSERT INTO igs_ad_interface_all (
person_number,
org_id,
interface_id,
batch_id,
source_type_id,
surname,
middle_name,
given_names,
preferred_given_name,
sex,
birth_dt,
title,
suffix,
pre_name_adjunct,
level_of_qual,
proof_of_insurance,
proof_of_immun,
pref_alternate_id,
person_id,
status,
military_service_reg,
veteran,
match_ind,
person_match_ind,
error_code,
record_status,
interface_run_id,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
person_type_code,
funnel_status,
creation_date,
created_by,
last_update_date,
last_updated_by,
last_update_login,
request_id,
program_id,
program_application_id,
program_update_date,
birth_city,
birth_country,
attribute21,
attribute22,
attribute23,
attribute24
) VALUES (
new_references.person_number,
new_references.org_id,
new_references.interface_id,
new_references.batch_id,
new_references.source_type_id,
new_references.surname,
new_references.middle_name,
new_references.given_names,
new_references.preferred_given_name,
new_references.sex,
new_references.birth_dt,
new_references.title,
new_references.suffix,
new_references.pre_name_adjunct,
new_references.level_of_qual,
new_references.proof_of_insurance,
new_references.proof_of_immun,
new_references.pref_alternate_id,
new_references.person_id,
new_references.status,
new_references.military_service_reg,
new_references.veteran,
new_references.match_ind,
new_references.person_match_ind,
new_references.error_code,
new_references.record_status,
new_references.interface_run_id,
new_references.attribute_category,
new_references.attribute1,
new_references.attribute2,
new_references.attribute3,
new_references.attribute4,
new_references.attribute5,
new_references.attribute6,
new_references.attribute7,
new_references.attribute8,
new_references.attribute9,
new_references.attribute10,
new_references.attribute11,
new_references.attribute12,
new_references.attribute13,
new_references.attribute14,
new_references.attribute15,
new_references.attribute16,
new_references.attribute17,
new_references.attribute18,
new_references.attribute19,
new_references.attribute20,
new_references.person_type_code,
new_references.funnel_status,
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,
new_references.birth_city,
new_references.birth_country,
new_references.attribute21,
new_references.attribute22,
new_references.attribute23,
new_references.attribute24
);
END insert_row;
SELECT
person_number,
interface_id,
batch_id,
source_type_id,
surname,
middle_name,
given_names,
preferred_given_name,
sex,
birth_dt,
title,
suffix,
pre_name_adjunct,
level_of_qual,
proof_of_insurance,
proof_of_immun,
pref_alternate_id,
person_id,
status,
military_service_reg,
veteran,
match_ind,
person_match_ind,
error_code,
record_status,
interface_run_id,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
person_type_code,
funnel_status,
birth_city,
birth_country,
attribute21,
attribute22,
attribute23,
attribute24
FROM igs_ad_interface_all
WHERE rowid = x_rowid
FOR UPDATE NOWAIT;
fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
PROCEDURE update_row (
x_rowid IN VARCHAR2,
x_person_number IN VARCHAR2,
x_org_id IN NUMBER DEFAULT NULL,
x_interface_id IN NUMBER,
x_batch_id IN NUMBER,
x_source_type_id IN NUMBER,
x_surname IN VARCHAR2,
x_middle_name IN VARCHAR2,
x_given_names IN VARCHAR2,
x_preferred_given_name IN VARCHAR2,
x_sex IN VARCHAR2,
x_birth_dt IN DATE,
x_title IN VARCHAR2,
x_suffix IN VARCHAR2,
x_pre_name_adjunct IN VARCHAR2,
x_level_of_qual IN NUMBER,
x_proof_of_insurance IN VARCHAR2,
x_proof_of_immun IN VARCHAR2,
x_pref_alternate_id IN VARCHAR2,
x_person_id IN NUMBER,
x_status IN VARCHAR2,
x_military_service_reg IN VARCHAR2,
x_veteran IN VARCHAR2,
x_match_ind IN VARCHAR2,
x_person_match_ind IN VARCHAR2,
x_error_code IN VARCHAR2,
x_record_status IN VARCHAR2,
x_interface_run_id IN NUMBER,
x_attribute_category IN VARCHAR2,
x_attribute1 IN VARCHAR2,
x_attribute2 IN VARCHAR2,
x_attribute3 IN VARCHAR2,
x_attribute4 IN VARCHAR2,
x_attribute5 IN VARCHAR2,
x_attribute6 IN VARCHAR2,
x_attribute7 IN VARCHAR2,
x_attribute8 IN VARCHAR2,
x_attribute9 IN VARCHAR2,
x_attribute10 IN VARCHAR2,
x_attribute11 IN VARCHAR2,
x_attribute12 IN VARCHAR2,
x_attribute13 IN VARCHAR2,
x_attribute14 IN VARCHAR2,
x_attribute15 IN VARCHAR2,
x_attribute16 IN VARCHAR2,
x_attribute17 IN VARCHAR2,
x_attribute18 IN VARCHAR2,
x_attribute19 IN VARCHAR2,
x_attribute20 IN VARCHAR2,
x_mode IN VARCHAR2 DEFAULT NULL,
x_person_type_code IN VARCHAR2 DEFAULT NULL,
x_funnel_status IN VARCHAR2 DEFAULT NULL,
x_birth_city IN VARCHAR2 DEFAULT NULL,
x_birth_country IN VARCHAR2 DEFAULT NULL,
x_attribute21 IN VARCHAR2,
x_attribute22 IN VARCHAR2,
x_attribute23 IN VARCHAR2,
x_attribute24 IN VARCHAR2
) AS
/*
|| Created By : [email protected]
|| Created On : 21-NOV-2000
|| Purpose : Handles the UPDATE DML logic for the table.
|| Known limitations, enhancements or remarks :
|| Change History :
|| Who When What
|| smvk 13-Feb-2002 Call to igs_ge_gen_003.get_org_id
|| w.r.t. SWCR006
|| (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_person_number => x_person_number,
x_org_id => igs_ge_gen_003.get_org_id,
x_interface_id => x_interface_id,
x_batch_id => x_batch_id,
x_source_type_id => x_source_type_id,
x_surname => x_surname,
x_middle_name => x_middle_name,
x_given_names => x_given_names,
x_preferred_given_name => x_preferred_given_name,
x_sex => x_sex,
x_birth_dt => x_birth_dt,
x_title => x_title,
x_suffix => x_suffix,
x_pre_name_adjunct => x_pre_name_adjunct,
x_level_of_qual => x_level_of_qual,
x_proof_of_insurance => x_proof_of_insurance,
x_proof_of_immun => x_proof_of_immun,
x_pref_alternate_id => x_pref_alternate_id,
x_person_id => x_person_id,
x_status => x_status,
x_military_service_reg => x_military_service_reg,
x_veteran => x_veteran,
x_match_ind => x_match_ind,
x_person_match_ind => x_person_match_ind,
x_error_code => x_error_code,
x_record_status => x_record_status,
x_interface_run_id => x_interface_run_id,
x_attribute_category => x_attribute_category,
x_attribute1 => x_attribute1,
x_attribute2 => x_attribute2,
x_attribute3 => x_attribute3,
x_attribute4 => x_attribute4,
x_attribute5 => x_attribute5,
x_attribute6 => x_attribute6,
x_attribute7 => x_attribute7,
x_attribute8 => x_attribute8,
x_attribute9 => x_attribute9,
x_attribute10 => x_attribute10,
x_attribute11 => x_attribute11,
x_attribute12 => x_attribute12,
x_attribute13 => x_attribute13,
x_attribute14 => x_attribute14,
x_attribute15 => x_attribute15,
x_attribute16 => x_attribute16,
x_attribute17 => x_attribute17,
x_attribute18 => x_attribute18,
x_attribute19 => x_attribute19,
x_attribute20 => x_attribute20,
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_person_type_code => x_person_type_code,
x_funnel_status => x_funnel_status,
x_birth_city => x_birth_city,
x_birth_country => x_birth_country,
x_attribute21 => x_attribute21,
x_attribute22 => x_attribute22,
x_attribute23 => x_attribute23,
x_attribute24 => x_attribute24
);
x_program_update_date := old_references.program_update_date;
x_program_update_date := SYSDATE;
UPDATE igs_ad_interface_all
SET
person_number = new_references.person_number,
interface_id = new_references.interface_id,
batch_id = new_references.batch_id,
source_type_id = new_references.source_type_id,
surname = new_references.surname,
middle_name = new_references.middle_name,
given_names = new_references.given_names,
preferred_given_name = new_references.preferred_given_name,
sex = new_references.sex,
birth_dt = new_references.birth_dt,
title = new_references.title,
suffix = new_references.suffix,
pre_name_adjunct = new_references.pre_name_adjunct,
level_of_qual = new_references.level_of_qual,
proof_of_insurance = new_references.proof_of_insurance,
proof_of_immun = new_references.proof_of_immun,
pref_alternate_id = new_references.pref_alternate_id,
person_id = new_references.person_id,
status = new_references.status,
military_service_reg = new_references.military_service_reg,
veteran = new_references.veteran,
match_ind = new_references.match_ind,
person_match_ind = new_references.person_match_ind,
error_code = new_references.error_code,
record_status = new_references.record_status,
interface_run_id = new_references.interface_run_id,
attribute_category = new_references.attribute_category,
attribute1 = new_references.attribute1,
attribute2 = new_references.attribute2,
attribute3 = new_references.attribute3,
attribute4 = new_references.attribute4,
attribute5 = new_references.attribute5,
attribute6 = new_references.attribute6,
attribute7 = new_references.attribute7,
attribute8 = new_references.attribute8,
attribute9 = new_references.attribute9,
attribute10 = new_references.attribute10,
attribute11 = new_references.attribute11,
attribute12 = new_references.attribute12,
attribute13 = new_references.attribute13,
attribute14 = new_references.attribute14,
attribute15 = new_references.attribute15,
attribute16 = new_references.attribute16,
attribute17 = new_references.attribute17,
attribute18 = new_references.attribute18,
attribute19 = new_references.attribute19,
attribute20 = new_references.attribute20,
person_type_code = new_references.person_type_code,
funnel_status = new_references.funnel_status,
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_city = new_references.birth_city,
birth_country = new_references.birth_country,
felony_convicted_flag = old_references.felony_convicted_flag,
attribute21 = new_references.attribute21,
attribute22 = new_references.attribute22,
attribute23 = new_references.attribute23,
attribute24 = new_references.attribute24
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 igs_ad_interface_all
WHERE interface_id = x_interface_id;
insert_row (
x_rowid,
x_person_number,
x_org_id,
x_interface_id,
x_batch_id,
x_source_type_id,
x_surname,
x_middle_name,
x_given_names,
x_preferred_given_name,
x_sex,
x_birth_dt,
x_title,
x_suffix,
x_pre_name_adjunct,
x_level_of_qual,
x_proof_of_insurance,
x_proof_of_immun,
x_pref_alternate_id,
x_person_id,
x_status,
x_military_service_reg,
x_veteran,
x_match_ind,
x_person_match_ind,
x_error_code,
x_record_status,
x_interface_run_id,
x_attribute_category,
x_attribute1,
x_attribute2,
x_attribute3,
x_attribute4,
x_attribute5,
x_attribute6,
x_attribute7,
x_attribute8,
x_attribute9,
x_attribute10,
x_attribute11,
x_attribute12,
x_attribute13,
x_attribute14,
x_attribute15,
x_attribute16,
x_attribute17,
x_attribute18,
x_attribute19,
x_attribute20,
NVL(x_mode,'R'),
x_person_type_code,
x_funnel_status,
x_birth_city,
x_birth_country,
x_attribute21,
x_attribute22,
x_attribute23,
x_attribute24
);
update_row (
x_rowid,
x_person_number,
x_org_id,
x_interface_id,
x_batch_id,
x_source_type_id,
x_surname,
x_middle_name,
x_given_names,
x_preferred_given_name,
x_sex,
x_birth_dt,
x_title,
x_suffix,
x_pre_name_adjunct,
x_level_of_qual,
x_proof_of_insurance,
x_proof_of_immun,
x_pref_alternate_id,
x_person_id,
x_status,
x_military_service_reg,
x_veteran,
x_match_ind,
x_person_match_ind,
x_error_code,
x_record_status,
x_interface_run_id,
x_attribute_category,
x_attribute1,
x_attribute2,
x_attribute3,
x_attribute4,
x_attribute5,
x_attribute6,
x_attribute7,
x_attribute8,
x_attribute9,
x_attribute10,
x_attribute11,
x_attribute12,
x_attribute13,
x_attribute14,
x_attribute15,
x_attribute16,
x_attribute17,
x_attribute18,
x_attribute19,
x_attribute20,
NVL(x_mode,'R'),
x_person_type_code,
x_funnel_status,
x_birth_city,
x_birth_country,
x_attribute21,
x_attribute22,
x_attribute23,
x_attribute24
);
PROCEDURE delete_row (
x_rowid IN VARCHAR2
) AS
/*
|| Created By : [email protected]
|| Created On : 21-NOV-2000
|| 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 igs_ad_interface_all
WHERE rowid = x_rowid;
END delete_row;