Tuesday, 19 May 2015

Applied and Unapplied Credit Memo Query

                  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);

1 comment:

  1. Hi,

    Can 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 !

    ReplyDelete

Query to Find Receipt Class and its GL Combinition Query

SELECT ARC.NAME ReceiptClass,        ARC.CREATION_METHOD_CODE Creation_Mehthod,        DECODE (ARC.REMIT_METHOD_CODE,             ...