Search Results cancelled_quantity2
Overview
APPS.OEBV_ORDER_CANCELLATIONS is a read-only reporting view in Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 that exposes line-level order cancellation records from Oracle Order Management. The view is owned by the APPS schema and is defined as a restricted projection over OE_ORDER_LINES_HISTORY, isolating the subset of history rows where the history type code equals 'CANCELLATION' and where a positive cancelled quantity exists. In effect, it acts as a filtered, security-aware window onto the order line history table, removing the need for report authors and integrators to reimplement the cancellation filter, the quantity threshold, and the sold-to-org security predicate themselves.
Because the view filters on CANCELLED_QUANTITY (the column referenced in the user's search), it is the primary supported source for answering questions about how much of an ordered line was cancelled in a given transaction. Typical consumers include order management dashboards, revenue and returns analyses, exception reports, OBIEE or BI Publisher data models, and custom PL/SQL that must reconcile cancelled quantities against ordered and shipped quantities.
Underlying Base Objects
The documented base object is OE_ORDER_LINES_HISTORY, accessed through a synonym in the APPS schema. This table stores the audit and history trail of order lines, with each row recording a change event qualified by HIST_TYPE_CODE. The view selects only rows where HIST_TYPE_CODE = 'CANCELLATION', ensuring that only true cancellation events are returned.
Two additional predicates are baked into the view definition:
NVL(CANCELLED_QUANTITY, 0) > 0— excludes cancellation history rows that carry no positive cancelled quantity, eliminating no-op or informational entries.'_SEC:SOLD_TO_ORG_ID' IS NOT NULL— a substituted security predicate that enforces Oracle EBS Multi-Org Access Control (MOAC), so that a query returns only cancellations for organizations the executing responsibility is permitted to see.
The view is declared WITH READ ONLY, so no insert, update, or delete operations are permitted through it; all maintenance must occur against the base table by the appropriate Order Management processes.
Key Columns
- CANCELLED_QUANTITY / CANCELLED_QUANTITY2 — the cancelled amount on the line, expressed in the primary and secondary (dual unit of measure) quantities respectively. These are the columns of direct interest to the user's search.
- HEADER_ID — identifier of the parent order header; joins to OE_ORDER_HEADERS_ALL.
- LINE_ID — identifier of the order line; joins to OE_ORDER_LINES_ALL.
- ORG_ID — the operating unit that owns the transaction, used by the MOAC security predicate.
- HIST_COMMENTS — free-text comments recorded at the time of cancellation.
- HIST_CREATION_DATE / HIST_CREATED_BY — when and by whom the cancellation history record was created.
- LAST_UPDATE_DATE / LAST_UPDATED_BY / CREATION_DATE — standard EBS audit columns.
- CHARGE_PERIODICITY_CODE — periodicity code associated with the line's charge, relevant for service and subscription lines.
- Reason (display column) — the first selected expression applies a lookup label to OE_ORDER_LINES_HISTORY.REASON_CODE against the OE_LOOKUPS lookup type CANCEL_CODE, returning the MEANING as the cancellation reason. This column appears under a derived label rather than a physical column name.
Common Use Cases and Queries
A frequent requirement is to list all cancellations for an order line, including the reason and quantity:
- Cancelled versus ordered quantity analysis: join the view to OE_ORDER_LINES_ALL on LINE_ID and compare CANCELLED_QUANTITY with ORDERED_QUANTITY to derive open or net quantities.
- Cancellation trend reporting: aggregate CANCELLED_QUANTITY by ORG_ID or by HIST_CREATION_DATE period to identify cancellation patterns.
- Reason code analysis: use the derived reason column to group cancellations by CANCEL_CODE meaning.
- Integration extracts: feed downstream systems with cancellation events, relying on the built-in MOAC predicate for data security.
A representative query is:
SELECT header_id, line_id, org_id, cancelled_quantity, cancelled_quantity2, hist_creation_date, hist_comments FROM apps.oebv_order_cancellations WHERE header_id = :p_header_id ORDER BY hist_creation_date;
Because the view enforces both the cancellation filter and organization security, such queries remain correct and compliant with EBS access rules without additional predicates. For historical reconciliation, note that the view reflects only cancellation history entries; current line status must still be obtained from OE_ORDER_LINES_ALL. The view is available in both 12.1.1 and 12.2.2, with the underlying table remaining OE_ORDER_LINES_HISTORY.
-
VIEW: APPS.OEBV_ORDER_CANCELLATIONS
12.1.1
-
VIEW: APPS.OEBV_ORDER_CANCELLATIONS
12.2.2
-
View: OE_LINES_VIEW_RETURNS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_LINES_VIEW_RETURNS_V, object_name:OE_LINES_VIEW_RETURNS_V, status:VALID, product: ONT - Order Management , description: No longer used , implementation_dba_data: APPS.OE_LINES_VIEW_RETURNS_V ,
-
View: OE_LINES_VIEW_RETURNS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_LINES_VIEW_RETURNS_V, object_name:OE_LINES_VIEW_RETURNS_V, status:VALID, product: ONT - Order Management , description: No longer used , implementation_dba_data: APPS.OE_LINES_VIEW_RETURNS_V ,
-
VIEW: APPS.OE_LINES_VIEW_RETURNS_V
12.1.1
-
VIEW: APPS.OE_LINES_VIEW_RETURNS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_LINES_VIEW_RETURNS_V, object_name:OE_LINES_VIEW_RETURNS_V, status:VALID,
-
VIEW: APPS.OE_LINES_VIEW_RETURNS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_LINES_VIEW_RETURNS_V, object_name:OE_LINES_VIEW_RETURNS_V, status:VALID,
-
VIEW: APPS.OE_LINES_VIEW_RETURNS_V
12.2.2
-
View: OEBV_ORDER_CANCELLATIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.OEBV_ORDER_CANCELLATIONS ONT.OEBV_ORDER_CANCELLATIONS, object_name:OEBV_ORDER_CANCELLATIONS, status:VALID, product: ONT - Order Management , description: Base BIS Business View for Order Cancellations. , implementation_dba_data: APPS.OEBV_ORDER_CANCELLATIONS ,
-
VIEW: WSH.WSH_DELIVERY_DETAILS#
12.2.2
-
View: OEBV_ORDER_CANCELLATIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.OEBV_ORDER_CANCELLATIONS ONT.OEBV_ORDER_CANCELLATIONS, object_name:OEBV_ORDER_CANCELLATIONS, status:VALID, product: ONT - Order Management , description: Base BIS Business View for Order Cancellations. , implementation_dba_data: APPS.OEBV_ORDER_CANCELLATIONS ,
-
VIEW: APPS.JTM_OE_ORDER_LINES_ALL_V
12.1.1
owner:APPS, object_type:VIEW, object_name:JTM_OE_ORDER_LINES_ALL_V, status:VALID,
-
VIEW: WSH.WSH_DEL_DETAILS_INTERFACE#
12.2.2
-
APPS.WSH_USA_QUANTITY_PVT SQL Statements
12.2.2
-
View: WSH_DELIVERY_DETAILS_OB_GRP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DELIVERY_DETAILS_OB_GRP_V, object_name:WSH_DELIVERY_DETAILS_OB_GRP_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_DELIVERY_DETAILS_OB_GRP_V ,
-
VIEW: APPS.JTM_OE_ORDER_LINES_ALL_V
12.2.2
owner:APPS, object_type:VIEW, object_name:JTM_OE_ORDER_LINES_ALL_V, status:VALID,
-
VIEW: APPS.WMS_WP_WWB_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WMS.WMS_WP_WWB_LINES_V, object_name:WMS_WP_WWB_LINES_V, status:VALID,
-
View: WSH_DELIVERY_DETAILS_OB_GRP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DELIVERY_DETAILS_OB_GRP_V, object_name:WSH_DELIVERY_DETAILS_OB_GRP_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_DELIVERY_DETAILS_OB_GRP_V ,
-
VIEW: APPS.WSH_DELIVERY_DETAILS_OB_GRP_V
12.1.1
-
VIEW: APPS.WSH_DELIVERY_DETAILS_OB_GRP_V
12.2.2
-
VIEW: APPS.WSHBV_DELIVERY_DETAILS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_DELIVERY_DETAILS, object_name:WSHBV_DELIVERY_DETAILS, status:VALID,
-
VIEW: APPS.WSHBV_DELIVERY_DETAILS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_DELIVERY_DETAILS, object_name:WSHBV_DELIVERY_DETAILS, status:VALID,
-
VIEW: ONT.OE_BLANKET_LINES_ALL#
12.2.2
-
VIEW: ONT.OE_BLANKET_LINES_HIST#
12.2.2
-
VIEW: ONT.OE_ORDER_LINES_ALL#
12.2.2
-
VIEW: ONT.OE_ORDER_LINES_HISTORY#
12.2.2
-
TABLE: WMS.WMS_WSH_WDD_GTEMP
12.1.1
owner:WMS, object_type:TABLE, fnd_design_data:WMS.WMS_WSH_WDD_GTEMP, object_name:WMS_WSH_WDD_GTEMP, status:VALID,
-
VIEW: APPS.JAI_OM_WSH_DELIVERIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JA.JAI_OM_WSH_DELIVERIES_V, object_name:JAI_OM_WSH_DELIVERIES_V, status:VALID,
-
TABLE: WMS.WMS_WSH_WDD_GTEMP
12.2.2
owner:WMS, object_type:TABLE, fnd_design_data:WMS.WMS_WSH_WDD_GTEMP, object_name:WMS_WSH_WDD_GTEMP, status:VALID,
-
VIEW: APPS.WSH_STOP_DELIVERABLES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_STOP_DELIVERABLES_V, object_name:WSH_STOP_DELIVERABLES_V, status:VALID,
-
VIEW: APPS.WSH_DELIVERABLES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DELIVERABLES_V, object_name:WSH_DELIVERABLES_V, status:VALID,
-
VIEW: APPS.WSH_STOP_DELIVERABLES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_STOP_DELIVERABLES_V, object_name:WSH_STOP_DELIVERABLES_V, status:VALID,
-
VIEW: WSH.WSH_DELIVERY_DETAILS#
12.2.2
owner:WSH, object_type:VIEW, object_name:WSH_DELIVERY_DETAILS#, status:VALID,
-
APPS.WSH_USA_QUANTITY_PVT SQL Statements
12.1.1
-
VIEW: APPS.WSH_DELIVERABLES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DELIVERABLES_V, object_name:WSH_DELIVERABLES_V, status:VALID,
-
View: WSHBV_DELIVERY_DETAILS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_DELIVERY_DETAILS, object_name:WSHBV_DELIVERY_DETAILS, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSHBV_DELIVERY_DETAILS ,
-
VIEW: APPS.WSH_TRIP_DELIVERABLES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_TRIP_DELIVERABLES_V, object_name:WSH_TRIP_DELIVERABLES_V, status:VALID,
-
VIEW: APPS.WSH_DLVY_DELIVERABLES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DLVY_DELIVERABLES_V, object_name:WSH_DLVY_DELIVERABLES_V, status:VALID,
-
VIEW: APPS.WSH_DLVY_DELIVERABLES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DLVY_DELIVERABLES_V, object_name:WSH_DLVY_DELIVERABLES_V, status:VALID,
-
VIEW: WSH.WSH_DEL_DETAILS_INTERFACE#
12.2.2
owner:WSH, object_type:VIEW, object_name:WSH_DEL_DETAILS_INTERFACE#, status:VALID,
-
VIEW: APPS.WSH_TRIP_DELIVERABLES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_TRIP_DELIVERABLES_V, object_name:WSH_TRIP_DELIVERABLES_V, status:VALID,
-
View: OE_LINE_ACKS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_LINE_ACKS_V, object_name:OE_LINE_ACKS_V, status:VALID, product: ONT - Order Management , description: Information about the acknowledgements for Order Lines , implementation_dba_data: APPS.OE_LINE_ACKS_V ,
-
VIEW: APPS.WSHFV_DELIVERY_DETAILS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHFV_DELIVERY_DETAILS, object_name:WSHFV_DELIVERY_DETAILS, status:VALID,
-
VIEW: ONT.OE_LINES_IFACE_ALL#
12.2.2
-
View: WSHBV_DELIVERY_DETAILS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_DELIVERY_DETAILS, object_name:WSHBV_DELIVERY_DETAILS, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSHBV_DELIVERY_DETAILS ,
-
VIEW: APPS.WSHFV_DELIVERY_DETAILS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHFV_DELIVERY_DETAILS, object_name:WSHFV_DELIVERY_DETAILS, status:VALID,
-
View: OE_LINE_ACKS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_LINE_ACKS_V, object_name:OE_LINE_ACKS_V, status:VALID, product: ONT - Order Management , description: Information about the acknowledgements for Order Lines , implementation_dba_data: APPS.OE_LINE_ACKS_V ,
-
VIEW: APPS.OE_LINE_ACKS_V
12.2.2
-
View: JAI_OM_WSH_DELIVERIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JA.JAI_OM_WSH_DELIVERIES_V, object_name:JAI_OM_WSH_DELIVERIES_V, status:VALID, product: JA - Asia/Pacific Localizations , implementation_dba_data: APPS.JAI_OM_WSH_DELIVERIES_V ,
-
View: WSH_DEL_DTL_ASSGN_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_DEL_DTL_ASSGN_V, object_name:WSH_DEL_DTL_ASSGN_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_DEL_DTL_ASSGN_V ,