Search Results earliest_settlement_date
Overview
APPS.AP_APPLY_PREPAYS_V is a supplementary Oracle EBS view owned by the APPS schema and registered under FND Design Data as SQLAP.AP_APPLY_PREPAYS_V. Its purpose is to simplify forms coding within the Payables application by presenting prepayment application data in a denormalized, query-ready form. Oracle explicitly warns that this is a supplementary view used to simplify forms coding and that querying or altering data through it is not recommended, since its definition may change dramatically in subsequent minor or major releases. The view is therefore best treated as a read-only reporting and diagnostic surface, not as an integration interface.
The view exposes prepayment invoices together with the amount remaining to be applied, tax amount remaining, and associated purchasing, receiving, and vendor context. It is particularly relevant to the searched term earliest_settlement_date, which is exposed as a DATE column at the end of the projection list, immediately following RECEIPT_NUMBER.
Underlying Base Objects
Per the ETRM 12.2.2 metadata, AP_APPLY_PREPAYS_V is defined over a substantial set of base objects accessed through APPS synonyms and views: AP_HOLDS, AP_HOLD_CODES, AP_INVOICES, AP_INVOICE_DISTRIBUTIONS_ALL, AP_INVOICE_LINES_ALL, PO_HEADERS_ALL, PO_LINE_LOCATIONS_ALL, PO_VENDORS (view), PO_VENDOR_SITES_ALL (view), RCV_SHIPMENT_HEADERS, RCV_SHIPMENT_LINES, and RCV_TRANSACTIONS. It also calls the package AP_PREPAY_UTILS_PKG and the FINANCIALS_SYSTEM_PARAMS_ALL and FND_GLOBAL packages.
The join graph is consistent with the column list: AP_INVOICES and AP_INVOICE_LINES_ALL supply the prepayment invoice and line attributes (PREPAY_NUMBER, PREPAY_LINE_NUMBER, INVOICE_AMOUNT, ACCOUNTING_DATE, PERIOD_NAME, SET_OF_BOOKS_ID); AP_INVOICE_DISTRIBUTIONS_ALL provides distribution-level accounting context; PO_HEADERS_ALL and PO_LINE_LOCATIONS_ALL supply PO_NUMBER, PO_HEADER_ID, PO_LINE_LOCATION_ID, and PO_DISTRIBUTION_ID; the RCV tables supply RECEIPT_NUMBER and RCV_TRANSACTION_ID; and PO_VENDORS and PO_VENDOR_SITES_ALL supply VENDOR_NAME, VENDOR_NUMBER, and VENDOR_SITE_CODE.
Key Columns
- INVOICE_ID / PREPAY_NUMBER / INVOICE_DATE / INVOICE_AMOUNT — identify the prepayment invoice header.
- PREPAY_LINE_NUMBER, PREPAY_AMOUNT_REMAINING, TAX_AMOUNT_REMAINING, AMOUNT — quantify the unapplied prepayment balance at line level, the values most often aggregated in reports.
- ACCOUNTING_DATE, PERIOD_NAME, SET_OF_BOOKS_ID — accounting context for the prepayment.
- VENDOR_ID, VENDOR_SITE_ID, VENDOR_NAME, VENDOR_NUMBER, VENDOR_SITE_CODE — supplier identification.
- PO_HEADER_ID, PO_NUMBER, PO_LINE_LOCATION_ID, PO_DISTRIBUTION_ID — purchasing linkage.
- RCV_TRANSACTION_ID, RECEIPT_NUMBER, ORG_ID — receiving and operating unit context.
- INVOICE_CURRENCY_CODE, PAYMENT_CURRENCY_CODE, PAYMENT_CROSS_RATE — currency conversion attributes.
- EARLIEST_SETTLEMENT_DATE — the date on which the prepayment may first be settled; used to control or schedule application of the prepayment against a later standard invoice.
Common Use Cases and Queries
Typical use is to list unapplied prepayments available for application, or to inspect the earliest settlement timing for a given supplier, PO, or receipt.
SELECT prepay_number, invoice_id, vendor_name,
prepay_amount_remaining, tax_amount_remaining,
earliest_settlement_date
FROM apps.ap_apply_prepays_v
WHERE org_id = :p_org_id
AND prepay_amount_remaining > 0
ORDER BY earliest_settlement_date;
For PO-level analysis, filter by PO_NUMBER or PO_HEADER_ID and join to standard Payables tables using INVOICE_ID. Because the view is not a supported interface, production code should generally read the underlying AP_INVOICES and AP_INVOICE_LINES_ALL tables directly, using this view only for ad-hoc investigation.
-
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.JE_NO_INVEST_LINES#
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.AP_INVOICES_ALL#
12.2.2
-
View: AP_INVOICES_MRC_V
12.1.1
product: AP - Payables , description: SINGLE-ORG MRC view , implementation_dba_data: Not implemented in this database ,
-
View: AP_INVOICES_MRC_V
12.2.2
product: AP - Payables , description: SINGLE-ORG MRC view , implementation_dba_data: Not implemented in this database ,
-
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_INVOICES_ALL_MRC_V
12.1.1
product: AP - Payables , description: MULTI-ORG MRC view , implementation_dba_data: Not implemented in this database ,
-
View: AP_INVOICES_ALL_MRC_V
12.2.2
product: AP - Payables , description: MULTI-ORG MRC view , implementation_dba_data: Not implemented in this database ,
-
VIEW: AP.AP_INV_DISTS_UPDATE#
12.2.2
-
VIEW: AP.AP_INVOICE_DISTRIBUTIONS_ALL#
12.2.2
-
APPS.AP_PREPAY_UTILS_PKG SQL Statements
12.2.2
-
View: AP_INVOICES_UNION_PREPAYS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICES_UNION_PREPAYS_V, object_name:AP_INVOICES_UNION_PREPAYS_V, status:VALID, product: AP - Payables , description: (Release 10SC Only) , implementation_dba_data: APPS.AP_INVOICES_UNION_PREPAYS_V ,
-
VIEW: AP.AP_INVOICE_DISTS_ARCH#
12.2.2
-
VIEW: APPS.AP_APPLY_PREPAYS_V
12.1.1
-
View: AP_INVOICES_UNION_PREPAYS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICES_UNION_PREPAYS_V, object_name:AP_INVOICES_UNION_PREPAYS_V, status:VALID, product: AP - Payables , description: (Release 10SC Only) , implementation_dba_data: APPS.AP_INVOICES_UNION_PREPAYS_V ,
-
VIEW: APPS.AP_APPLY_PREPAYS_V
12.2.2
-
APPS.AP_PREPAY_UTILS_PKG SQL Statements
12.1.1
-
VIEW: APPS.AP_INVOICES_UNION_PREPAYS_V
12.2.2
-
VIEW: APPS.JL_BR_AP_INVOICES_SHIP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JL.JL_BR_AP_INVOICES_SHIP_V, object_name:JL_BR_AP_INVOICES_SHIP_V, status:VALID,
-
VIEW: APPS.JL_BR_AP_INVOICES_SHIP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JL.JL_BR_AP_INVOICES_SHIP_V, object_name:JL_BR_AP_INVOICES_SHIP_V, status:VALID,
-
View: AMS_AP_INVOICES_V
12.2.2
product: AMS - Marketing , description: Payables Invoices , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.AP_INVOICES_UNION_PREPAYS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICES_UNION_PREPAYS_V, object_name:AP_INVOICES_UNION_PREPAYS_V, status:VALID,
-
VIEW: APPS.AP_INVOICES_UNION_PREPAYS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICES_UNION_PREPAYS_V, object_name:AP_INVOICES_UNION_PREPAYS_V, status:VALID,
-
TABLE: AP.JE_NO_INVEST_LINES
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:JE.JE_NO_INVEST_LINES, object_name:JE_NO_INVEST_LINES, status:VALID,
-
VIEW: AP.JE_NO_INVEST_LINES#
12.2.2
owner:AP, object_type:VIEW, object_name:JE_NO_INVEST_LINES#, status:VALID,
-
TABLE: AP.JE_NO_INVEST_LINES
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:JE.JE_NO_INVEST_LINES, object_name:JE_NO_INVEST_LINES, status:VALID,
-
View: AMS_AP_INVOICES_V
12.1.1
product: AMS - Marketing , description: Payables Invoices , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.AP_INVOICES_UNION_PREPAYS_V
12.1.1
-
View: PA_NL_TRANSFER_AP_INV_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_NL_TRANSFER_AP_INV_VIEW, object_name:PA_NL_TRANSFER_AP_INV_VIEW, status:VALID, product: PA - Projects , description: View of project-related invoice distributions in AP for NL , implementation_dba_data: APPS.PA_NL_TRANSFER_AP_INV_VIEW ,
-
View: PA_NL_TRANSFER_AP_INV_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_NL_TRANSFER_AP_INV_VIEW, object_name:PA_NL_TRANSFER_AP_INV_VIEW, status:VALID, product: PA - Projects , description: View of project-related invoice distributions in AP for NL , implementation_dba_data: APPS.PA_NL_TRANSFER_AP_INV_VIEW ,
-
View: JL_BR_AP_INVOICES_SHIP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JL.JL_BR_AP_INVOICES_SHIP_V, object_name:JL_BR_AP_INVOICES_SHIP_V, status:VALID, product: JL - Latin America Localizations , description: - Retrofitted , implementation_dba_data: APPS.JL_BR_AP_INVOICES_SHIP_V ,
-
View: JL_BR_AP_INVOICES_SHIP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JL.JL_BR_AP_INVOICES_SHIP_V, object_name:JL_BR_AP_INVOICES_SHIP_V, status:VALID, product: JL - Latin America Localizations , description: - Retrofitted , implementation_dba_data: APPS.JL_BR_AP_INVOICES_SHIP_V ,
-
VIEW: AP.AP_INVOICES_ALL#
12.2.2
owner:AP, object_type:VIEW, object_name:AP_INVOICES_ALL#, status:VALID,
-
APPS.AP_WEB_DB_AP_INT_PKG SQL Statements
12.1.1
-
APPS.AP_WEB_DB_AP_INT_PKG SQL Statements
12.2.2
-
VIEW: AP.AP_INVOICE_DISTS_ARCH#
12.2.2
owner:AP, object_type:VIEW, object_name:AP_INVOICE_DISTS_ARCH#, status:VALID,
-
View: AP_INVOICES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_INVOICES_V SQLAP.AP_INVOICES_V, object_name:AP_INVOICES_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICES_V ,
-
View: PA_TRANSFER_AP_INVOICES_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_TRANSFER_AP_INVOICES_VIEW, object_name:PA_TRANSFER_AP_INVOICES_VIEW, status:VALID, product: PA - Projects , description: View of project-related invoice distributions in AP , implementation_dba_data: APPS.PA_TRANSFER_AP_INVOICES_VIEW ,
-
TABLE: AP.AP_DIST_LINE_GT
12.2.2
owner:AP, object_type:TABLE, object_name:AP_DIST_LINE_GT, status:VALID,
-
TABLE: AP.AP_DIST_LINE_GT
12.1.1
owner:AP, object_type:TABLE, object_name:AP_DIST_LINE_GT, status:VALID,
-
View: AP_INVOICES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_INVOICES_V SQLAP.AP_INVOICES_V, object_name:AP_INVOICES_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICES_V ,
-
View: AP_INVOICE_DISTS_MRC_V
12.2.2
product: AP - Payables , description: SINGLE-ORG MRC view , implementation_dba_data: Not implemented in this database ,
-
View: AP_INVOICE_DISTS_ALL_MRC_V
12.1.1
product: AP - Payables , description: MULTI-ORG MRC view , implementation_dba_data: Not implemented in this database ,
-
View: AP_INVOICE_DISTS_MRC_V
12.1.1
product: AP - Payables , description: SINGLE-ORG MRC view , implementation_dba_data: Not implemented in this database ,
-
TABLE: AP.AP_INVOICE_DISTS_ARCH
12.1.1
owner:AP, object_type:TABLE, object_name:AP_INVOICE_DISTS_ARCH, status:VALID,
-
VIEW: APPS.PA_NL_TRANSFER_AP_INV_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_NL_TRANSFER_AP_INV_VIEW, object_name:PA_NL_TRANSFER_AP_INV_VIEW, status:VALID,
-
APPS.AP_WEB_EXPORT_ER SQL Statements
12.1.1
-
View: AP_INVOICE_DISTS_ALL_MRC_V
12.2.2
product: AP - Payables , description: MULTI-ORG MRC view , implementation_dba_data: Not implemented in this database ,