The following lines contain the word 'select', 'insert', 'update' or 'delete':
PROCEDURE Insert_Row(X_Rowid IN OUT NOCOPY /* file.sql.39 change */ VARCHAR2,
X_Entity_Org_Id NUMBER,
X_Period_Set_Name VARCHAR2,
X_Weight_Uom_Code VARCHAR2,
X_Last_Update_Date DATE,
X_Last_Updated_By NUMBER,
X_Creation_Date DATE,
X_Created_By NUMBER,
X_Last_Update_Login NUMBER,
X_Entity_Branch_Reference VARCHAR2,
X_Conversion_Type VARCHAR2,
X_Conversion_Option VARCHAR2,
X_Category_Set_Id NUMBER,
X_Tax_Office_Code VARCHAR2,
X_Tax_Office_Name VARCHAR2,
X_Tax_Office_Location_Id NUMBER,
X_Last_Arrival_Period VARCHAR2,
X_Last_Arrival_Id NUMBER,
X_Last_Arrival_Adj_Period VARCHAR2,
X_Last_Arrival_Adj_Id NUMBER,
X_Last_Dispatch_Period VARCHAR2,
X_Last_Dispatch_Id NUMBER,
X_Last_Dispatch_Adj_Period VARCHAR2,
X_Last_Dispatch_Adj_Id NUMBER,
X_Attribute_Category 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_Attribute16 VARCHAR2,
X_Attribute17 VARCHAR2,
X_Attribute18 VARCHAR2,
X_Attribute19 VARCHAR2,
X_Attribute20 VARCHAR2,
X_Attribute21 VARCHAR2,
X_Attribute22 VARCHAR2,
X_Attribute23 VARCHAR2,
X_Attribute24 VARCHAR2,
X_Attribute25 VARCHAR2,
X_Attribute26 VARCHAR2,
X_Attribute27 VARCHAR2,
X_Attribute28 VARCHAR2,
X_Attribute29 VARCHAR2,
X_Attribute30 VARCHAR2
) IS
CURSOR C IS SELECT rowid FROM MTL_MOVEMENT_PARAMETERS
WHERE entity_org_id = X_Entity_Org_Id;
INSERT INTO MTL_MOVEMENT_PARAMETERS(
entity_org_id,
period_set_name,
weight_uom_code,
last_update_date,
last_updated_by,
creation_date,
created_by,
last_update_login,
entity_branch_reference,
conversion_type,
conversion_option,
category_set_id,
tax_office_code,
tax_office_name,
tax_office_location_id,
last_arrival_period,
last_arrival_id,
last_arrival_adj_period,
last_arrival_adj_id,
last_dispatch_period,
last_dispatch_id,
last_dispatch_adj_period,
last_dispatch_adj_id,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
attribute21,
attribute22,
attribute23,
attribute24,
attribute25,
attribute26,
attribute27,
attribute28,
attribute29,
attribute30
) VALUES (
X_Entity_Org_Id,
X_Period_Set_Name,
X_Weight_Uom_Code,
X_Last_Update_Date,
X_Last_Updated_By,
X_Creation_Date,
X_Created_By,
X_Last_Update_Login,
X_Entity_Branch_Reference,
X_Conversion_Type,
X_Conversion_Option,
X_Category_Set_Id,
X_Tax_Office_Code,
X_Tax_Office_Name,
X_Tax_Office_Location_Id,
X_Last_Arrival_Period,
X_Last_Arrival_Id,
X_Last_Arrival_Adj_Period,
X_Last_Arrival_Adj_Id,
X_Last_Dispatch_Period,
X_Last_Dispatch_Id,
X_Last_Dispatch_Adj_Period,
X_Last_Dispatch_Adj_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_Attribute21,
X_Attribute22,
X_Attribute23,
X_Attribute24,
X_Attribute25,
X_Attribute26,
X_Attribute27,
X_Attribute28,
X_Attribute29,
X_Attribute30
);
END Insert_Row;
SELECT *
FROM MTL_MOVEMENT_PARAMETERS
WHERE rowid = X_Rowid
FOR UPDATE of Entity_Org_Id NOWAIT;
FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_DELETED');
PROCEDURE Update_Row(X_Rowid VARCHAR2,
X_Entity_Org_Id NUMBER,
X_Period_Set_Name VARCHAR2,
X_Weight_Uom_Code VARCHAR2,
X_Last_Update_Date DATE,
X_Last_Updated_By NUMBER,
X_Last_Update_Login NUMBER,
X_Entity_Branch_Reference VARCHAR2,
X_Conversion_Type VARCHAR2,
X_Conversion_Option VARCHAR2,
X_Category_Set_Id NUMBER,
X_Tax_Office_Code VARCHAR2,
X_Tax_Office_Name VARCHAR2,
X_Tax_Office_Location_Id NUMBER,
X_Last_Arrival_Period VARCHAR2,
X_Last_Arrival_Id NUMBER,
X_Last_Arrival_Adj_Period VARCHAR2,
X_Last_Arrival_Adj_Id NUMBER,
X_Last_Dispatch_Period VARCHAR2,
X_Last_Dispatch_Id NUMBER,
X_Last_Dispatch_Adj_Period VARCHAR2,
X_Last_Dispatch_Adj_Id NUMBER,
X_Attribute_Category 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_Attribute16 VARCHAR2,
X_Attribute17 VARCHAR2,
X_Attribute18 VARCHAR2,
X_Attribute19 VARCHAR2,
X_Attribute20 VARCHAR2,
X_Attribute21 VARCHAR2,
X_Attribute22 VARCHAR2,
X_Attribute23 VARCHAR2,
X_Attribute24 VARCHAR2,
X_Attribute25 VARCHAR2,
X_Attribute26 VARCHAR2,
X_Attribute27 VARCHAR2,
X_Attribute28 VARCHAR2,
X_Attribute29 VARCHAR2,
X_Attribute30 VARCHAR2
) IS
BEGIN
UPDATE MTL_MOVEMENT_PARAMETERS
SET
entity_org_id = X_Entity_Org_Id,
period_set_name = X_Period_Set_Name,
weight_uom_code = X_Weight_Uom_Code,
last_update_date = X_Last_Update_Date,
last_updated_by = X_Last_Updated_By,
last_update_login = X_Last_Update_Login,
entity_branch_reference = X_Entity_Branch_Reference,
conversion_type = X_Conversion_Type,
conversion_option = X_Conversion_Option,
category_set_id = X_Category_Set_Id,
tax_office_code = X_Tax_Office_Code,
tax_office_name = X_Tax_Office_Name,
tax_office_location_id = X_Tax_Office_Location_Id,
last_arrival_period = X_Last_Arrival_Period,
last_arrival_id = X_Last_Arrival_Id,
last_arrival_adj_period = X_Last_Arrival_Adj_Period,
last_arrival_adj_id = X_Last_Arrival_Adj_Id,
last_dispatch_period = X_Last_Dispatch_Period,
last_dispatch_id = X_Last_Dispatch_Id,
last_dispatch_adj_period = X_Last_Dispatch_Adj_Period,
last_dispatch_adj_id = X_Last_Dispatch_Adj_Id,
attribute_category = X_Attribute_Category,
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,
attribute16 = X_Attribute16,
attribute17 = X_Attribute17,
attribute18 = X_Attribute18,
attribute19 = X_Attribute19,
attribute20 = X_Attribute20,
attribute21 = X_Attribute21,
attribute22 = X_Attribute22,
attribute23 = X_Attribute23,
attribute24 = X_Attribute24,
attribute25 = X_Attribute25,
attribute26 = X_Attribute26,
attribute27 = X_Attribute27,
attribute28 = X_Attribute28,
attribute29 = X_Attribute29,
attribute30 = X_Attribute30
WHERE rowid = X_Rowid;
END Update_Row;
PROCEDURE Delete_Row(X_Rowid VARCHAR2) IS
BEGIN
DELETE FROM MTL_MOVEMENT_PARAMETERS
WHERE rowid = X_Rowid;
END Delete_Row;