324: LOOP
325:
326: BEGIN
327:
328: pn_xla_event_pkg.create_xla_event(
329: p_payment_item_id => acct_rec.payment_item_id
330: ,p_legal_entity_id => acct_rec.legal_entity_id
331: ,p_ledger_id => acct_rec.set_of_books_id
332: ,p_org_id => acct_rec.org_id
593: p_period_name => p_period_name,
594: p_customer_id => p_customer_id)
595: LOOP
596: BEGIN
597: pn_xla_event_pkg.create_xla_event(
598: p_payment_item_id => acct_rec.payment_item_id
599: ,p_legal_entity_id => acct_rec.legal_entity_id
600: ,p_ledger_id => acct_rec.set_of_books_id
601: ,p_org_id => acct_rec.org_id