3395: /* 11825040 - Clean up line level balances if required */
3396: arp_standard.debug(' clean up line level balances');
3397: select count(*)
3398: into l_llca_count
3399: from ra_customer_trx_lines
3400: where customer_trx_id = l_control_rec.previous_customer_trx_id
3401: and line_type = 'LINE'
3402: and amount_due_remaining is not null;
3403: