select ra.trx_number from ar_cash_receipts_all cr, ar_receivable_applications_all ar,ra_customer_trx_all ra where cr.cash_receipt_id = ar.CASH_RECEIPT_ID ' and ar.amount_applied = -3817.5 and ar.status = 'APP' and ar.applied_customer_trx_id = ra.cust…