Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Declare

pi_cash_receip_id ar_cash_receipts.cash_receipt_id%TYPE;
pi_receipt_number ar_cash_receipts.receipt_number%TYPE;
pi_receivable_application_id ar_receivable_applications.receivable_application_id
%TYPE;
pi_reversal_gl_date ar_receivable_applications.reversal_gl_date%TYPE;
pi_user_id number;
lc_return_status varchar2(240);
v_sucess_records number := 0;
ln_msg_count NUMBER;
lc_msg_data varchar2(230);
x_msg_index_out number := 0;
v_error_records_n NUMBER :=0;
/*cursor c1 is select a.cash_receipt_id cash_receipt_id,
a.receipt_number receipt_number,A.CREATED_BY user_id,
b.RECEIVABLE_APPLICATION_ID RECEIVABLE_APPLICATION_ID,
b.REVERSAL_GL_DATE REVERSAL_GL_DATE
from
ar_cash_receipts_all a,
ar_receivable_applications_all b
where
a.cash_receipt_id=b.cash_receipt_id
AND a.receipt_number=894396 ---:p_receipt_number
AND B.status='ACC';*/

You might also like