Search Results so_headers_rma_v




Overview

The view SO_HEADERS_RMA_V is an Oracle Order Entry (OE) object that exposes the header-level attributes of return merchandise authorization (RMA) sales orders within Oracle E-Business Suite. It is a denormalized read-only projection over the order headers entity, presenting the columns that define an RMA order's identity, status, customer, shipping, pricing, and descriptive-flexfield context in a single queryable structure. The object is documented in ETRM for both 12.1.1 and 12.2.2, which indicates that it is a stable part of the Order Management data model across these releases.

In EBS 12.1.1 and 12.2.2, RMA headers are stored physically in the OE_ORDER_HEADERS_ALL table and its associated interface and translated tables. This view provides a presentation or interface layer that surfaces the RMA-relevant subset of those columns, allowing reports, concurrent programs, and integration extracts to read RMA headers without joining across the full order header schema. Its role is therefore primarily reporting and inbound/outbound integration: it is a projection, not a transaction table, and should be treated as read-only in custom development.

Underlying Base Objects

The ETRM metadata for this view documents no referenced base objects and explicitly records the implementation status as "Not implemented in this database." This status means the view is shipped as part of the Oracle EBS schema but may not be instantiated in every environment, or is intended for reference only in the documented release. The view text, however, is a SELECT statement over a header table alias H, from which all columns are projected. In standard EBS architecture that alias corresponds to OE_ORDER_HEADERS_ALL, the master table for order and RMA headers. Because the metadata lists no base objects, the exact underlying object should be verified in each deployed instance by querying ALL_VIEWS and ALL_DEPENDENCIES for the view name before relying on it in custom code.

Key Columns

The view projects the full header column set, with several categories of particular importance:

Common Use Cases and Queries

Typical usage includes RMA reporting, order-status dashboards, and integration extracts to external systems. Because freight terms are stored as a code, resolving the name requires a lookup join. A sample query illustrating the freight terms resolution follows:

  • SELECT h.order_number, h.freight_terms_code, fv.meaning AS freight_terms_name, h.date_ordered, h.open_flag FROM so_headers_rma_v h, fnd_lookup_values_vl fv WHERE fv.lookup_type = 'FREIGHT_TERMS' AND fv.lookup_code = h.freight_terms_code AND fv.language = USERENV('LANG');
  • To list open RMAs by customer: SELECT order_number, customer_id, order_category, date_ordered FROM so_headers_rma_v WHERE open_flag = 'Y' AND cancelled_flag = 'N';
  • To join RMAs to their lines for detail reporting, relate HEADER_ID to the order line table's HEADER_ID.

Because the view is documented as not implemented in the reference database, developers should confirm its presence and column list in the target instance, and prefer direct access to OE_ORDER_HEADERS_ALL when guaranteed availability is required.