Search Results prepay_number
Overview
APPS.AP_VIEW_PREPAYS_V is a reporting view in the Oracle E-Business Suite Payables (SQLAP) product family. It consolidates prepayment invoice information with the detail of how each prepayment has been applied, remaining balances, and the associated suppliers, purchase orders, and receiving transactions. The view is registered in the Application Object Library under FND Design Data SQLAP.AP_VIEW_PREPAYS_V, is owned by the APPS schema, and carries a status of VALID in both Oracle EBS 12.1.1 and 12.2.2.
The view is designed primarily for inquiry and reporting rather than transactional processing. It is not referenced by any other database object, meaning no dependent views, packages, or concurrent programs rely on it. Consultants and developers typically use it to answer questions about prepayment consumption: which prepayment invoices remain outstanding, how much has been applied against them, and which purchase order or receipt the prepayment relates to. Because the view exposes the PREPAY_NUMBER column directly, it is a natural starting point for any query originating from a user-supplied prepayment number.
Underlying Base Objects
The view is defined over a combination of Payables, Purchasing, and Receiving objects, mediated by two PL/SQL utility packages. The core invoice data comes from AP_INVOICES_ALL, AP_INVOICE_LINES, and AP_INVOICE_DISTRIBUTIONS. Supplier information is drawn from PO_VENDORS and PO_VENDOR_SITES_ALL, while purchase order context is supplied by PO_HEADERS_ALL. Receiving details originate from RCV_SHIPMENT_HEADERS, RCV_SHIPMENT_LINES, and RCV_TRANSACTIONS.
Two packages contribute derived values. AP_PREPAY_UTILS_PKG supplies the prepayment application logic, including amounts applied and remaining. AP_MATCHING_UTILS_PKG supports matching-related computations. FND_GLOBAL supplies session context such as ORG_ID and SET_OF_BOOKS_ID, enforcing multi-org and ledger security at query time. Because the underlying invoice objects are synonyms to the corresponding AP tables, the view inherits standard Payables security and joins through the operating unit context established by FND_GLOBAL.
Key Columns
- PREPAY_NUMBER (VARCHAR2 50) — The user-facing prepayment invoice number; the primary search key for this view.
- INVOICE_ID / INVOICE_LINE_NUMBER — Identifiers for the invoice and line carrying the prepayment.
- PREPAY_INVOICE_ID / PREPAY_LINE_NUMBER — The prepayment invoice and line being applied.
- PREPAY_AMOUNT_APPLIED / TAX_AMOUNT_APPLIED — Amounts of the prepayment already applied, including tax components.
- PREPAY_AMOUNT_REMAINING — The unconsumed prepayment balance available for future application.
- ACCOUNTING_DATE, PERIOD_NAME, SET_OF_BOOKS_ID — Accounting period and ledger context for the transaction.
- INVOICE_INCLUDES_PREPAY_FLAG — Indicates whether the invoice includes a prepayment line.
- PO_LINE_LOCATION_ID, PO_DISTRIBUTION_ID, RCV_TRANSACTION_ID — Links to purchase order schedules, distributions, and receiving transactions.
- ORG_ID — Operating unit identifier enforcing multi-org access.
- VENDOR_ID, VENDOR_SITE_ID, VENDOR_NAME, VENDOR_NUMBER, VENDOR_SITE_CODE — Supplier and supplier site descriptors.
- PO_NUMBER, RECEIPT_NUMBER — Readable purchase order and receipt references.
- INVOICE_CURRENCY_CODE — Currency of the prepayment invoice.
Common Use Cases and Queries
The most frequent use case is locating a prepayment by its number and reviewing how much remains unapplied. A typical query filters on PREPAY_NUMBER and ORG_ID:
- SELECT PREPAY_NUMBER, VENDOR_NAME, PREPAY_AMOUNT_APPLIED, PREPAY_AMOUNT_REMAINING, INVOICE_CURRENCY_CODE FROM APPS.AP_VIEW_PREPAYS_V WHERE PREPAY_NUMBER = :prepay_number AND ORG_ID = :org_id;
- Open prepayment analysis by supplier: SELECT VENDOR_NAME, VENDOR_NUMBER, PREPAY_NUMBER, PREPAY_AMOUNT_REMAINING FROM APPS.AP_VIEW_PREPAYS_V WHERE PREPAY_AMOUNT_REMAINING > 0 ORDER BY VENDOR_NAME;
- Prepayments tied to a purchase order: SELECT PREPAY_NUMBER, PO_NUMBER, RECEIPT_NUMBER, PREPAY_AMOUNT_APPLIED FROM APPS.AP_VIEW_PREPAYS_V WHERE PO_NUMBER = :po_number;
Because the view joins invoice, purchase order, and receiving data, it is well suited to reconciliation reports and to integration extracts that require prepayment status alongside supplier and PO context. Queries should always include ORG_ID or rely on FND_GLOBAL session context to respect multi-org security.
-
VIEW: APPS.AP_VIEW_PREPAYS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_VIEW_PREPAYS_V, object_name:AP_VIEW_PREPAYS_V, status:VALID,
-
View: AP_UNAPPLY_PREPAYS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_UNAPPLY_PREPAYS_V, object_name:AP_UNAPPLY_PREPAYS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_UNAPPLY_PREPAYS_V ,
-
VIEW: APPS.AP_UNAPPLY_PREPAYS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_UNAPPLY_PREPAYS_V, object_name:AP_UNAPPLY_PREPAYS_V, status:VALID,
-
VIEW: APPS.AP_APPLY_PREPAYS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_APPLY_PREPAYS_V, object_name:AP_APPLY_PREPAYS_V, status:VALID,
-
View: AP_UNAPPLY_PREPAYS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_UNAPPLY_PREPAYS_V, object_name:AP_UNAPPLY_PREPAYS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_UNAPPLY_PREPAYS_V ,
-
VIEW: APPS.AP_VIEW_PREPAYS_V
12.2.2
-
VIEW: APPS.AP_VIEW_PREPAYS_V
12.1.1
-
VIEW: APPS.AP_UNAPPLY_PREPAYS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_UNAPPLY_PREPAYS_V, object_name:AP_UNAPPLY_PREPAYS_V, status:VALID,
-
VIEW: APPS.AP_UNAPPLY_PREPAYS_V
12.1.1
-
VIEW: APPS.AP_VIEW_PREPAYS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_VIEW_PREPAYS_V, object_name:AP_VIEW_PREPAYS_V, status:VALID,
-
VIEW: APPS.AP_UNAPPLY_PREPAYS_V
12.2.2
-
View: AP_APPLY_PREPAYS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_APPLY_PREPAYS_V, object_name:AP_APPLY_PREPAYS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_APPLY_PREPAYS_V ,
-
View: AP_APPLY_PREPAYS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_APPLY_PREPAYS_V, object_name:AP_APPLY_PREPAYS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_APPLY_PREPAYS_V ,
-
View: AP_VIEW_PREPAYS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_VIEW_PREPAYS_V, object_name:AP_VIEW_PREPAYS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_VIEW_PREPAYS_V ,
-
VIEW: APPS.AP_APPLY_PREPAYS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_APPLY_PREPAYS_V, object_name:AP_APPLY_PREPAYS_V, status:VALID,
-
View: AP_VIEW_PREPAYS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_VIEW_PREPAYS_V, object_name:AP_VIEW_PREPAYS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_VIEW_PREPAYS_V ,
-
VIEW: APPS.AP_APPLY_PREPAYS_V
12.2.2
-
VIEW: APPS.AP_APPLY_PREPAYS_V
12.1.1
-
VIEW: APPS.AP_INVOICE_DISTRIBUTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_DISTRIBUTIONS_V, object_name:AP_INVOICE_DISTRIBUTIONS_V, status:VALID,
-
VIEW: APPS.AP_INVOICE_DISTRIBUTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_DISTRIBUTIONS_V, object_name:AP_INVOICE_DISTRIBUTIONS_V, status:VALID,
-
View: AP_INVOICE_DISTRIBUTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_DISTRIBUTIONS_V, object_name:AP_INVOICE_DISTRIBUTIONS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICE_DISTRIBUTIONS_V ,
-
View: AP_INVOICE_DISTRIBUTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_DISTRIBUTIONS_V, object_name:AP_INVOICE_DISTRIBUTIONS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICE_DISTRIBUTIONS_V ,
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,