Results for “retro_lin”

4 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

APPS.OE_RETROBILLED_INFO_V is a reporting view in the Oracle E-Business Suite Order Management module that correlates original sales order lines with the retrobill (retro-billed) order lines subsequently generated against them. Retrobilling is the Order Management mechanism by which a price adjustment, surcharge, or late-arriving charge is applied to an order that has already been shipped and invoiced; the system creates a new order line referencing the original line and documents the difference in pricing. This view exposes both sides of that relationship in a single row, allowing users to see the original ordered item alongside the retrobilled quantity, unit selling price, and extended amount.

Because retrobilled lines are ordinary rows in OE_ORDER_LINES_ALL distinguished by their order source and by the orig_sys_document_ref / orig_sys_line_ref pointers back to the originating order and line, the view acts as a convenience join layer that abstracts those linkage mechanics. It is typically consumed in reports, reconciliations, and integration extracts where the business needs to trace revenue adjustments back to the source order, and it is relevant to the custom search term "retro_lin" because the underlying retrobill line rows are commonly aliased RETRO_LIN in this and related SQL statements.

Underlying Base Objects

The view is defined over four documented base objects, all referenced through APPS synonyms:

The view additionally restricts the retrobill side to ORDER_SOURCE_ID = 27, the seeded order source that identifies retrobill-generated orders.

Key Columns

Common Use Cases and Queries

Typical scenarios include reconciling retro-billed adjustments to their source orders, extracting retrobill activity for revenue or AR analysis, and auditing pricing changes on previously shipped lines.

To list all retrobilled adjustments for a given original order number:

  • SELECT v.order_number, v.retrobill_line_number, v.ordered_item, v.qty, v.unit_selling_price, v.amount, v.pricing_date FROM apps.oe_retrobilled_info_v v WHERE v.order_number = :p_order_number;

To summarize retrobill amounts by item and order type:

  • SELECT v.ordered_item, v.name order_type, SUM(v.amount) total_amount FROM apps.oe_retrobilled_info_v v GROUP BY v.ordered_item, v.name ORDER BY total_amount DESC;

To trace a specific retrobill line back to its origin using the surrogate keys:

  • SELECT v.header_id, v.line_id, v.retrobill_header_id, v.retrobill_line_id FROM apps.oe_retrobilled_info_v v WHERE v.retrobill_header_id = :p_header_id AND v.retrobill_line_id = :p_line_id;