Search Results invoice_functional_amount




Overview

APBV_AP_INVOICES is a business view in the Oracle E-Business Suite Payables (AP) module, owned by the APPS schema and documented as VALID in both release 12.1.1 and 12.2.2. The view presents a curated, read-only projection of invoice header data drawn from AP_INVOICES, intended primarily for reporting, integration, and Oracle Business Intelligence (DBI) consumption rather than for transactional processing. Its defining characteristic is that it exposes business-friendly column names — INVOICE_DESCRIPTION, INVOICE_NUMBER, INVOICE_ENTERED_AMOUNT, INVOICE_POSTING_STATUS — mapped onto the underlying AP_INVOICES attributes such as DESCRIPTION, INVOICE_NUM, INVOICE_AMOUNT, and POSTING_STATUS. The view text confirms the read-only nature through the WITH READ ONLY clause, which prevents DML through the view and reinforces its role as a query-only interface.

Because AP_INVOICES is a wide, denormalized table with legacy naming conventions, APBV_AP_INVOICES provides an abstraction that improves readability for downstream consumers and isolates them from certain underlying naming changes — the inline comment marking PAYMENT_METHOD_CODE as changed for DBI illustrates that this view has been adapted to support the Payables/Procurement analytics schema.

Underlying Base Objects

The view is defined over a single documented base object, the AP_INVOICES synonym in the APPS schema, which resolves to the AP.AP_INVOICES table. The ETRM metadata for 12.2.2 lists the referenced base object explicitly as AP_INVOICES (SYNONYM), confirming there is no join, union, or aggregation logic. Every row in APBV_AP_INVOICES corresponds one-to-one with a row in AP_INVOICES, filtered only by whatever predicate the caller applies. Consequently, the view inherits the full row population of the invoice header table, including cancelled, unapproved, and fully paid invoices. No security predicate is embedded in the view text, so any access restriction is applied by the caller or by Oracle application-level security rather than by the view itself.

Key Columns

Common Use Cases and Queries

The view is typically used for invoice listings, aging and approval reporting, and extract programs feeding a data warehouse. A straightforward query retrieving invoice descriptions and amounts for a period might read:

  • SELECT INVOICE_NUMBER, INVOICE_DESCRIPTION, INVOICE_ENTERED_AMOUNT, INVOICE_CURRENCY_CODE, INVOICE_DATE FROM APPS.APBV_AP_INVOICES WHERE INVOICE_DESCRIPTION LIKE '%service%';
  • SELECT VENDOR_SITE_ID, COUNT(*), SUM(INVOICE_ENTERED_AMOUNT) FROM APPS.APBV_AP_INVOICES WHERE INVOICE_POSTING_STATUS = 'UNPOSTED' GROUP BY VENDOR_SITE_ID;
  • SELECT INVOICE_ID, INVOICE_NUMBER, PAYMENT_STATUS, INVOICE_APPROVED_AMOUNT FROM APPS.APBV_AP_INVOICES WHERE INVOICE_DATE BETWEEN :from_date AND :to_date;

Because the view exposes INVOICE_ID, it can serve as the driving query for drill-down into AP_INVOICE_DISTRIBUTIONS_ALL or AP_INVOICE_PAYMENTS_ALL. Reporting tools such as Oracle BI Publisher and the DBI subject areas consume it directly. Developers should note the WITH READ ONLY restriction and always qualify the view with the APPS schema in SQL scripts.