The following lines contain the word 'select', 'insert', 'update' or 'delete':
PROCEDURE Insert_Row(X_Rowid IN OUT VARCHAR2,
X_Freight_Charge_Id IN OUT NUMBER,
X_Creation_Date DATE,
X_Created_By NUMBER,
X_Last_Update_Date DATE,
X_Last_Updated_By NUMBER,
X_Last_Update_Login NUMBER,
X_Freight_Charge_Type_Id NUMBER,
X_Picking_Header_Id NUMBER,
X_Amount NUMBER,
X_Currency_Code VARCHAR2,
X_Conversion_Date DATE,
X_Conversion_Rate NUMBER,
X_Conversion_Type_Code VARCHAR2,
X_Invoice_Status VARCHAR2,
X_Context VARCHAR2,
X_Attribute1 VARCHAR2,
X_Attribute2 VARCHAR2,
X_Attribute3 VARCHAR2,
X_Attribute4 VARCHAR2,
X_Attribute5 VARCHAR2,
X_Attribute6 VARCHAR2,
X_Attribute7 VARCHAR2,
X_Attribute8 VARCHAR2,
X_Attribute9 VARCHAR2,
X_Attribute10 VARCHAR2,
X_Attribute11 VARCHAR2,
X_Attribute12 VARCHAR2,
X_Attribute13 VARCHAR2,
X_Attribute14 VARCHAR2,
X_Attribute15 VARCHAR2,
X_Delivery_Id NUMBER DEFAULT NULL,
X_Picking_Line_Detail_Id NUMBER DEFAULT NULL,
X_Container_Id NUMBER DEFAULT NULL,
X_AC_Attribute_Category VARCHAR2 DEFAULT NULL,
X_AC_Attribute1 VARCHAR2 DEFAULT NULL,
X_AC_Attribute2 VARCHAR2 DEFAULT NULL,
X_AC_Attribute3 VARCHAR2 DEFAULT NULL,
X_AC_Attribute4 VARCHAR2 DEFAULT NULL,
X_AC_Attribute5 VARCHAR2 DEFAULT NULL,
X_AC_Attribute6 VARCHAR2 DEFAULT NULL,
X_AC_Attribute7 VARCHAR2 DEFAULT NULL,
X_AC_Attribute8 VARCHAR2 DEFAULT NULL,
X_AC_Attribute9 VARCHAR2 DEFAULT NULL,
X_AC_Attribute10 VARCHAR2 DEFAULT NULL,
X_AC_Attribute11 VARCHAR2 DEFAULT NULL,
X_AC_Attribute12 VARCHAR2 DEFAULT NULL,
X_AC_Attribute13 VARCHAR2 DEFAULT NULL,
X_AC_Attribute14 VARCHAR2 DEFAULT NULL,
X_AC_Attribute15 VARCHAR2 DEFAULT NULL
) IS
CURSOR C IS SELECT rowid FROM SO_FREIGHT_CHARGES
WHERE freight_charge_id = X_Freight_Charge_Id;
CURSOR NEXTID IS SELECT so_freight_charges_s.nextval FROM sys.dual;
INSERT INTO SO_FREIGHT_CHARGES(
freight_charge_id,
creation_date,
created_by,
last_update_date,
last_updated_by,
last_update_login,
freight_charge_type_id,
picking_header_id,
amount,
currency_code,
conversion_date,
conversion_rate,
conversion_type_code,
invoice_status,
context,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
delivery_id,
picking_line_detail_id,
container_id,
ac_attribute_category,
ac_attribute1,
ac_attribute2,
ac_attribute3,
ac_attribute4,
ac_attribute5,
ac_attribute6,
ac_attribute7,
ac_attribute8,
ac_attribute9,
ac_attribute10,
ac_attribute11,
ac_attribute12,
ac_attribute13,
ac_attribute14,
ac_attribute15
) VALUES (
X_Freight_Charge_Id,
X_Creation_Date,
X_Created_By,
X_Last_Update_Date,
X_Last_Updated_By,
X_Last_Update_Login,
X_Freight_Charge_Type_Id,
X_Picking_Header_Id,
X_Amount,
X_Currency_Code,
X_Conversion_Date,
X_Conversion_Rate,
X_Conversion_Type_Code,
X_Invoice_Status,
X_Context,
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_Delivery_Id,
X_Picking_Line_Detail_Id,
X_Container_Id,
X_AC_Attribute_Category,
X_AC_Attribute1,
X_AC_Attribute2,
X_AC_Attribute3,
X_AC_Attribute4,
X_AC_Attribute5,
X_AC_Attribute6,
X_AC_Attribute7,
X_AC_Attribute8,
X_AC_Attribute9,
X_AC_Attribute10,
X_AC_Attribute11,
X_AC_Attribute12,
X_AC_Attribute13,
X_AC_Attribute14,
X_AC_Attribute15
);
END Insert_Row;
SELECT *
FROM SO_FREIGHT_CHARGES
WHERE rowid = X_Rowid
FOR UPDATE of Freight_Charge_Id NOWAIT;
FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_DELETED');
PROCEDURE Update_Row(X_Rowid VARCHAR2,
X_Freight_Charge_Id NUMBER,
X_Last_Update_Date DATE,
X_Last_Updated_By NUMBER,
X_Last_Update_Login NUMBER,
X_Freight_Charge_Type_Id NUMBER,
X_Picking_Header_Id NUMBER,
X_Amount NUMBER,
X_Currency_Code VARCHAR2,
X_Conversion_Date DATE,
X_Conversion_Rate NUMBER,
X_Conversion_Type_Code VARCHAR2,
X_Invoice_Status VARCHAR2,
X_Context VARCHAR2,
X_Attribute1 VARCHAR2,
X_Attribute2 VARCHAR2,
X_Attribute3 VARCHAR2,
X_Attribute4 VARCHAR2,
X_Attribute5 VARCHAR2,
X_Attribute6 VARCHAR2,
X_Attribute7 VARCHAR2,
X_Attribute8 VARCHAR2,
X_Attribute9 VARCHAR2,
X_Attribute10 VARCHAR2,
X_Attribute11 VARCHAR2,
X_Attribute12 VARCHAR2,
X_Attribute13 VARCHAR2,
X_Attribute14 VARCHAR2,
X_Attribute15 VARCHAR2,
X_Delivery_Id NUMBER DEFAULT NULL,
X_Picking_Line_Detail_Id NUMBER DEFAULT NULL,
X_Container_Id NUMBER DEFAULT NULL,
X_AC_Attribute_Category VARCHAR2 DEFAULT NULL,
X_AC_Attribute1 VARCHAR2 DEFAULT NULL,
X_AC_Attribute2 VARCHAR2 DEFAULT NULL,
X_AC_Attribute3 VARCHAR2 DEFAULT NULL,
X_AC_Attribute4 VARCHAR2 DEFAULT NULL,
X_AC_Attribute5 VARCHAR2 DEFAULT NULL,
X_AC_Attribute6 VARCHAR2 DEFAULT NULL,
X_AC_Attribute7 VARCHAR2 DEFAULT NULL,
X_AC_Attribute8 VARCHAR2 DEFAULT NULL,
X_AC_Attribute9 VARCHAR2 DEFAULT NULL,
X_AC_Attribute10 VARCHAR2 DEFAULT NULL,
X_AC_Attribute11 VARCHAR2 DEFAULT NULL,
X_AC_Attribute12 VARCHAR2 DEFAULT NULL,
X_AC_Attribute13 VARCHAR2 DEFAULT NULL,
X_AC_Attribute14 VARCHAR2 DEFAULT NULL,
X_AC_Attribute15 VARCHAR2 DEFAULT NULL
) IS
BEGIN
UPDATE SO_FREIGHT_CHARGES
SET
freight_charge_id = X_Freight_Charge_Id,
last_update_date = X_Last_Update_Date,
last_updated_by = X_Last_Updated_By,
last_update_login = X_Last_Update_Login,
freight_charge_type_id = X_Freight_Charge_Type_Id,
picking_header_id = X_Picking_Header_Id,
amount = X_Amount,
currency_code = X_Currency_Code,
conversion_date = X_Conversion_Date,
conversion_rate = X_Conversion_Rate,
conversion_type_code = X_Conversion_Type_Code,
invoice_status = X_Invoice_Status,
context = X_Context,
attribute1 = X_Attribute1,
attribute2 = X_Attribute2,
attribute3 = X_Attribute3,
attribute4 = X_Attribute4,
attribute5 = X_Attribute5,
attribute6 = X_Attribute6,
attribute7 = X_Attribute7,
attribute8 = X_Attribute8,
attribute9 = X_Attribute9,
attribute10 = X_Attribute10,
attribute11 = X_Attribute11,
attribute12 = X_Attribute12,
attribute13 = X_Attribute13,
attribute14 = X_Attribute14,
attribute15 = X_Attribute15,
delivery_id = X_Delivery_Id,
picking_line_detail_id = X_Picking_Line_Detail_Id,
container_id = X_Container_Id,
ac_attribute_category = X_AC_Attribute_Category,
ac_attribute1 = X_AC_Attribute1,
ac_attribute2 = X_AC_Attribute2,
ac_attribute3 = X_AC_Attribute3,
ac_attribute4 = X_AC_Attribute4,
ac_attribute5 = X_AC_Attribute5,
ac_attribute6 = X_AC_Attribute6,
ac_attribute7 = X_AC_Attribute7,
ac_attribute8 = X_AC_Attribute8,
ac_attribute9 = X_AC_Attribute9,
ac_attribute10 = X_AC_Attribute10,
ac_attribute11 = X_AC_Attribute11,
ac_attribute12 = X_AC_Attribute12,
ac_attribute13 = X_AC_Attribute13,
ac_attribute14 = X_AC_Attribute14,
ac_attribute15 = X_AC_Attribute15
WHERE rowid = X_Rowid;
END Update_Row;
PROCEDURE Delete_Row(X_Rowid VARCHAR2) IS
BEGIN
DELETE FROM SO_FREIGHT_CHARGES
WHERE rowid = X_Rowid;
END Delete_Row;