You are on page 1of 1

With

FUNCTION GET_applied_Amount(p_invoice_amount number) RETURN NUMBER as


begin
return p_invoice_amount * 500;
end;

data_inv as (
Select INVOICE_NUM, GET_applied_Amount (invoice_amount) invoice_amount From
Ap_invoices_all )

Select INVOICE_NUM , invoice_amount from data_inv

You might also like