select *
from ar_receivable_applications_all ra,
AR_PAYMENT_SCHEDULES_ALL APSA,
ra_customer_trx_all rcta
where ra.applied_customer_trx_id = rcta.customer_trx_id
and ra.applied_payment_schedule_id =apsa.payment_schedule_id
and rcta.customer_trx_id = 3419
and ra.application_type = 'CM'
and ra.status = 'APP'
and apsa.status IN ('CL', 'OP')
and ra.apply_date between to_date(&sd) and
to_date(&ed);
Hi,
ReplyDeleteCan you show me how to retrieve the unapplied Credits(Credit Memos and Receipts) for a customer on an 'As of date' for the Aging purposes ?
Thanks !