477: +---------------------------------------------------------------------*/
478: -- Checking to see if over application is allowed for transaction type
479: SELECT ctt.allow_overapplication_flag, ctt.credit_memo_type_id
480: INTO l_allow_overapplication, l_credit_memo_type_id
481: FROM ra_cust_trx_types ctt,
482: ra_customer_trx ct
483: WHERE ct.cust_trx_type_id = ctt.cust_trx_type_id
484: AND ct.customer_trx_id = p_customer_trx_id;
485: