300:
301: --bug 5334577
302: Select count(*)
303: into X_Sched_Hold_count
304: from ap_payment_schedules_all
305: where invoice_id = X_invoice_id
306: and hold_flag = 'Y';
307:
308: select count(*)
658:
659: --bug 5334577
660: Select count(*)
661: into X_Sched_Hold_count
662: from ap_payment_schedules_all
663: where invoice_id = X_invoice_id
664: and hold_flag = 'Y';
665:
666: debug_info := ' Total Awt Amount: '||l_awt_amount||', '||'Invoice Amount Remaining: '||