Search Results source_order_number




Overview

OEFV_SALES_ORDERS is a retrofitted Oracle Order Entry (OE) view in Oracle E-Business Suite 12.1.1 and 12.2.2 that presents a flattened, user-readable projection of sales order header information. The "OEFV" prefix denotes an Order Entry Foundation View, and the "_FV" convention indicates this object was originally built for the Oracle EBS Forms-based (10g/Java) user interface rather than for direct use in reports or interfaces. In practice, the view is used as a descriptive reference for sales order headers, exposing denormalized lookup meanings and joined descriptive fields that would otherwise require extensive joins across the SO_HEADERS, SO_LOOKUPS, and contact-related tables.

Because the view carries the label "Retrofitted," it is important to understand that its definition has been adapted for the newer EBS release. The ETRM record for this object states "Not implemented in this database," meaning that in the specific environment catalogued, no physical instantiation of OEFV_SALES_ORDERS exists at runtime; the definition is retained for documentation and migration purposes. The user search term "source_order_number" corresponds directly to the column SRC_HEADER.ORDER_NUMBER, which the view exposes as a source order reference—typically used to link internal orders to externally sourced or referenced orders.

Underlying Base Objects

The documented ETRM metadata lists no explicitly named base objects for OEFV_SALES_ORDERS. However, the view text reveals its effective dependency set. The primary driving table is the order header table, aliased HEADER (OE_ORDER_HEADERS_ALL), which provides the bulk of the columns. Descriptive joins are made to:

The embedded _LA tokens instruct the Forms runtime to resolve coded values into their user-facing meanings via SO_LOOKUPS, AR_LOOKUPS, and FND_COMMON_LOOKUPS. The _DF token references the SO_HEADERS descriptive flexfield context.

Key Columns

Notable columns exposed by the view include:

Common Use Cases and Queries

Typical usage involves retrieving a readable header record for a sales order or tracing the relationship between an order and its source order number. A representative query follows:

SELECT ORDER_NUMBER, ORDER_TYPE_NAME, ORIGINAL_SYSTEM_REFERENCE, PURCHASE_ORDER_NUM, OPEN_FLAG, ORDER_CATEGORY FROM OEFV_SALES_ORDERS WHERE SRC_HEADER.ORDER_NUMBER = :p_source_order_number;

Note that since the ETRM documentation marks this view as "Not implemented in this database," integrators should verify availability before relying on it, and may instead query OE_ORDER_HEADERS_ALL joined to OE_LOOKUPS and related tables where a directly supported object is required. The view remains a useful navigational reference for understanding the header-level data model in the OE module.