Search Results start_date_changed




Overview

The APPS.OEFV_ORDER_AGREEMENTS view is a predefined Oracle E-Business Suite database object owned by the APPS schema and classified under the ONT (Order Management) product. In ETRM releases 12.1.1 and 12.2.2 it holds a VALID status and functions as a denormalized, reporting-oriented presentation layer over the order agreement (sales agreement) data model. Rather than requiring report authors and integrators to join the agreement header, its translations, receivables rules, customer address hierarchy, salesperson, terms, and price list tables individually, the view exposes all of these attributes in a single flattened result set. It is commonly consumed by Oracle Reports, custom concurrent programs, Discoverer workbooks, OBIEE/BI Publisher data models, and ad hoc SQL used by order management and pricing analysts.

A distinguishing characteristic of this view is that several of its columns are not plain database values but are returned as descriptive-flex or lookup-convention expressions, for example '_LA:AGREEMENT_TYPE_CODE:QP_LOOKUPS:QP_AGREEMENT_TYPE:MEANING', '_LA:OVERRIDE_ARULE_FLAG:OE_LOOKUPS:YES_NO:MEANING', and '_LA:OVERRIDE_IRULE_FLAG:OE_LOOKUPS:YES_NO:MEANING'. The leading '_LA:' token instructs the Oracle EBS "lookup attribute" mechanism to translate the stored lookup code into its meaning at runtime, while '_DF:' entries reference descriptive flexfield definitions. Consumers must therefore be aware that the returned values may be interpreted by the calling tool rather than being literal table contents.

Underlying Base Objects

Per the documented 12.2.2 metadata, the view is defined over the following APPS synonyms and program units:

The joins are predominantly outer joins ((+) syntax), ensuring agreements are returned even when optional rule, site, or address data is absent.

Key Columns

Common Use Cases and Queries

Typical uses include listing active agreements for a sold-to customer, reporting agreements by salesperson, and validating pricing or invoicing rule assignments. Because the view already resolves names and addresses, it is well suited to a single-table query.

Example: active agreements with customer and term details.

  • SELECT agreement_num, name, start_date_active, end_date_active, salesrep_name, location, city FROM apps.oefv_order_agreements WHERE TRUNC(SYSDATE) BETWEEN start_date_active AND NVL(end_date_active, TRUNC(SYSDATE)+1) ORDER BY agreement_num;

Example: agreements by sold-to organization.

  • SELECT agreement_num, name, purchase_order_num, price_list_id FROM apps.oefv_order_agreements WHERE sold_to_org_id = :p_sold_to_org_id;

Note that lookup-translated columns (agreement type and override flags) are returned as encoded tokens and should be interpreted by the consuming reporting tool; direct SQL extraction may require the corresponding QP_LOOKUPS or OE_LOOKUPS query. The view is read-only and should not be used for transactional DML.