The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT batch_name
INTO c_batch_name
FROM ap_batches
WHERE batch_id = p_inv_batch_id;
Select invoice_num
into cp_invoice_number
from ap_invoices
where invoice_id = p_invoice_id;
SELECT vendor_name
INTO cp_supplier_name
FROM po_vendors
WHERE vendor_id = p_vendor_id;
SELECT distinct accounting_date acc_date
FROM ap_invoice_distributions
WHERE invoice_id = p_invoice_id
and NVL(match_status_flag,'N') = 'N';
SELECT upper(nvl(source, 'X'))
FROM ap_invoices
WHERE invoice_id = p_invoice_id;
Select user_name
Into l_user_name
From fnd_user
Where user_id = p_entered_by;