Skip to the content.

AP Period Close Exceptions – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™. Oracle EBS module: Payables · all Payables reports

Overview

Based on Oracle standard Period Close Exceptions Report Source: Period Close Exceptions Report (XML) Short Name: APXPCER DB package: ap_period_close_pkg

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Ledger, Operating Unit, Exception Type, Period Name, From Accounting Date, To Accounting Date, Supplier

Oracle EBS Tables Used

ap_invoices_all, ap_invoice_distributions_all, ap_suppliers, hz_parties, hr_all_organization_units, gl_ledgers, fnd_currencies, ap_invoice_lines_all, ap_checks_all, ap_payment_history_all, ce_bank_accounts, ce_bank_acct_uses_all, ap_system_parameters_all, ap_inv_selection_criteria_all, ap_selected_invoices_all, ap_lookup_codes, fnd_lookups, iby_pay_service_requests, xla_ae_headers, xla_events, xla_event_types_tl, xla_transaction_entities

Report Categories

Enginatics, R12 only

GL Account Analysis, GL Account Analysis (Drilldown) (with inventory and WIP), GL Account Distribution Analysis, AP Invoice on Hold, AP Invoices and Lines, AP Accounted Invoice Aging, AP Invoice Approval Status, CE Bank Statement and Reconciliation

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output Example
Blitz Report™ XML Import AP_Period_Close_Exceptions.xml
SQL Source AP Period Close Exceptions.sql
Full Report on Enginatics www.enginatics.com/reports/ap-period-close-exceptions/

Case Study & Technical Analysis: AP Period Close Exceptions

Executive Summary

The AP Period Close Exceptions report lists the Oracle Payables items that stop an accounting period from closing cleanly. It covers invoice distributions that are not posted, invoices without distributions, payments that are not posted, future dated payments, unconfirmed payment batches and Subledger Accounting events that are not transferred or not processed. Accounting managers and Payables supervisors run it before period close to clear each exception by its owner. It follows the logic of the Oracle standard Period Close Exceptions Report (APXPCER), and runs in Excel through Blitz Report.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. Each exception type is a separate UNION ALL branch, and the outer query returns :period_name with the branch rows.
  2. Invoice distributions are linked to invoices on invoice id, and the posted flag and reversal flag decide whether a distribution is unaccounted.
  3. Payment history rows are linked to checks on check id, and transaction types such as PAYMENT CREATED and PAYMENT CLEARING select the unposted history.
  4. Subledger events in XLA_EVENTS are linked to XLA_TRANSACTION_ENTITIES by entity id, and to XLA_AE_HEADERS for the transfer status. The entity code selects invoices or payments.
  5. Batch status is decoded from AP_LOOKUP_CODES and FND_LOOKUPS, and from the payment service request status for the Payments system.

Parameters & Filtering

Performance & Optimization

FAQ

Q: What does an Unaccounted Invoice Distribution exception mean? A: The invoice distribution is not posted and is not a reversal. The item must be posted before the period can be closed.

Q: How do I find payments that are still future dated? A: Run the report with the Exception Type set to Future Dated Payments. These are issued checks with a future payment due date, shown with the accounting date on which they fall.


© Enginatics GmbH