1064: g_acctd_amount_due_remaining ,
1065: g_amount_due_original
1066: from ra_customer_trx ct ,
1067: ar_payment_schedules pay ,
1068: fnd_currencies fc
1069: where ct.customer_trx_id = p_invoice_id
1070: and pay.customer_trx_id = ct.customer_trx_id
1071: and pay.payment_schedule_id = p_payment_schedule_id
1072: and ct.invoice_currency_code = fc.currency_code;