The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT *
FROM ar_receivable_applications
WHERE cash_receipt_id=c_cash_receipt_id
AND status = p_application_type
AND display='Y';
SELECT cr.*
INTO l_receipt_header
FROM ar_cash_receipts cr
WHERE cr.payment_server_order_num=p_payment_server_order_num
AND EXISTS (SELECT status from ar_cash_receipt_history crh
WHERE crh.status = 'REMITTED'
AND crh.cash_receipt_id=cr.cash_receipt_id);
SELECT NVL(prepayment_flag,'N')
INTO l_prepayment_flag
FROM ra_terms
WHERE term_id=p_payment_term_id;
SELECT NVL(prepayment_flag,'N')
INTO l_prepayment_flag
FROM ra_customer_trx
WHERE customer_trx_id=p_customer_trx_id;