7448: from ap_ppa_invoices_gt apig
7449: where apig.invoice_id = apilg.invoice_id))
7450: loop
7451:
7452: AP_Accounting_Events_Pkg.Create_Events(
7453: p_event_type => 'INVOICES',
7454: p_doc_type => NULL,
7455: p_doc_id => invs.invoice_id,
7456: p_accounting_date => NULL,
7741: from ap_ppa_invoices_gt apig
7742: where apig.invoice_id = apilg.invoice_id))
7743: LOOP
7744:
7745: AP_Accounting_Events_Pkg.Create_Events(
7746: p_event_type => 'INVOICES',
7747: p_doc_type => NULL,
7748: p_doc_id => invs.invoice_id,
7749: p_accounting_date => NULL,