5: /* This function will fetch batch name depending upon transaction source */
6: cursor c_get_ar_batch_name
7: is
8: select rab.name 9: from ra_batches rab 10: ,ra_customer_trx ract
11: where rab.batch_id = ract.batch_id
12: and ract.customer_trx_id = trx_id;
13: