The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT to_number(o3.org_information3) set_of_books_id
FROM hr_organization_information o3
WHERE organization_id = cpn_operating_unit_id
AND o3.org_information_context = cpv_information_context;
SELECT accrual_amount
FROM jai_rcv_rep_accrual_t
WHERE transaction_id = cpn_transaction_id;
SELECT quantity
FROM rcv_transactions
WHERE transaction_id = cpn_transaction_id;
/* IF condition added for bug 7567537 - amount should be updated only for
* transactions from PO source*/
IF pr_new.invoice_distribution_id IS NULL AND pr_new.write_off_id IS NULL
THEN
OPEN cur_get_accrual_amount (cpn_transaction_id => ln_transaction_id);