The following lines contain the word 'select', 'insert', 'update' or 'delete':
PROCEDURE insert_row (
x_rowid IN OUT NOCOPY VARCHAR2,
x_adjustment_id IN NUMBER,
x_book_type_code IN VARCHAR2,
x_code_combination_id IN NUMBER,
x_set_of_books_id IN NUMBER,
x_dr_cr_flag IN VARCHAR2,
x_amount IN NUMBER,
x_adjustment_type IN VARCHAR2,
x_adjustment_offset_type IN VARCHAR2,
x_transfer_to_gl_flag IN VARCHAR2,
x_units_assigned IN NUMBER,
x_asset_id IN NUMBER,
x_distribution_id IN NUMBER,
x_period_counter IN NUMBER,
x_report_ccid IN NUMBER,
x_mode IN VARCHAR2,
x_event_id IN NUMBER -- for R12 SLA upgrade
) AS
/*
|| Created By :
|| Created On : 14-APR-2002
|| 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)
*/
/* This is commented out NOCOPY as the this table contains multiple rows for the same
adjustment id.
CURSOR c IS
SELECT rowid
FROM igi_iac_adjustments
WHERE adjustment_id = x_adjustment_id;
x_last_update_date DATE;
x_last_updated_by NUMBER;
x_last_update_login NUMBER;
x_last_update_date := SYSDATE;
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;
igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'insert_row',FALSE);
INSERT INTO igi_iac_adjustments (
adjustment_id,
book_type_code,
code_combination_id,
set_of_books_id,
dr_cr_flag,
amount,
adjustment_type,
adjustment_offset_type,
transfer_to_gl_flag,
units_assigned,
asset_id,
distribution_id,
period_counter,
report_ccid,
creation_date,
created_by,
last_update_date,
last_updated_by,
last_update_login,
event_id -- for R12 SLA upgrade
) VALUES (
x_adjustment_id,
x_book_type_code,
x_code_combination_id,
x_set_of_books_id,
x_new_dr_cr_flag,
x_new_amount,
x_adjustment_type,
x_adjustment_offset_type,
x_transfer_to_gl_flag,
x_units_assigned,
x_asset_id,
x_distribution_id,
x_period_counter,
x_report_ccid,
x_creation_date,
x_created_by,
x_last_update_date,
x_last_updated_by,
x_last_update_login,
x_event_id -- for R12 SLA upgrade
);
END insert_row;
PROCEDURE delete_row (
x_adjustment_id IN NUMBER
) AS
/*
|| Created By :
|| Created On : 14-APR-2002
|| 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
DELETE FROM igi_iac_adjustments
WHERE adjustment_id = x_adjustment_id;
END delete_row;