Search Results source_header_number
Overview
APPS.WSH_PURGE_SOURCE_NUMBERS_V is a lightweight Oracle EBS view in the Shipping (WSH) module whose purpose is to expose the distinct set of source document numbers referenced by delivery details. In Oracle EBS 12.1.1 and 12.2.2, delivery details are linked back to their originating source transaction — a sales order (source code 'OE') or a purchase order (source code 'PO') — through the SOURCE_CODE and SOURCE_HEADER_NUMBER columns of WSH_DELIVERY_DETAILS. This view distills those columns into a compact, deduplicated list.
The view is primarily a supporting/utility object for purge and cleanup processes. The naming convention ("PURGE_SOURCE_NUMBERS") indicates that it is intended to feed purging routines with the set of source header numbers that must be considered when archiving or removing shipping data. Because it returns only distinct values, it is also convenient for validation, reconciliation, and reporting where a distinct list of sourced order or PO numbers associated with deliveries is required. The user's search term, source_header_number, maps directly to the central column this view projects.
Underlying Base Objects
The view is defined over two documented referenced objects:
- WSH_DELIVERY_DETAILS (SYNONYM) — the primary base object. This is the core Shipping table that stores individual delivery detail lines and their links to source transactions. The view selects exclusively from this object, filtering by
SOURCE_CODEand projecting the source identifiers. - WSH_LOOKUPS (VIEW) — referenced as a supporting lookup object. WSH_LOOKUPS resolves shipping lookup codes (for example the meanings of source systems such as 'OE' and 'PO').
The documented view text is minimal and directly joins no tables explicitly; the predicate restricts the result to the two shipping source systems, and the DISTINCT clause removes duplicate (source_code, source_header_number) combinations. Note that the alias mapping collapses SOURCE_HEADER_NUMBER into both SOURCE_ID and SOURCE_NUMBER, so these two output columns carry identical values.
Key Columns
- source_system — aliased from
SOURCE_CODE; identifies the originating application of the delivery. Only two values are returned by this view:OE(Order Entry / Sales Orders) andPO(Purchasing / Purchase Orders). - source_id — aliased from
SOURCE_HEADER_NUMBER; the source document header number treated as an identifier for the originating order or PO. - source_number — also aliased from
SOURCE_HEADER_NUMBER; a second projection of the same header number, provided for naming consistency with purge/reporting parameters.
Because all three columns derive from two physical columns, the view does not expose delivery-level detail such as quantity, delivery ID, or line number. It is deliberately narrow to keep purge processing efficient.
Common Use Cases and Queries
Typical uses include purge preparation, reconciliation, and audit reporting. To list all distinct source header numbers by source system:
SELECT source_system, source_id FROM apps.wsh_purge_source_numbers_v ORDER BY source_system, source_id;SELECT source_system, COUNT(*) FROM apps.wsh_purge_source_numbers_v GROUP BY source_system;SELECT source_id FROM apps.wsh_purge_source_numbers_v WHERE source_system = 'OE' ORDER BY source_id;
Because the view performs no aggregation beyond DISTINCT and applies a fixed predicate, it can be joined back to WSH_DELIVERY_DETAILS for drill-down. In 12.1.1 and 12.2.2 the definition and behavior are consistent; performance depends on the indexes supporting SOURCE_CODE and SOURCE_HEADER_NUMBER on the base table.
-
VIEW: APPS.WSH_PURGE_SOURCE_NUMBERS_V
12.1.1
-
VIEW: APPS.WSH_CMSTPW_ORDERS_V
12.2.2
-
View: WSH_CMSTPW_ORDERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_CMSTPW_ORDERS_V, object_name:WSH_CMSTPW_ORDERS_V, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSH_CMSTPW_ORDERS_V ,
-
VIEW: MSC.MSC_ST_DELIVERY_DETAILS#
12.2.2
-
VIEW: MSC.MSC_DELIVERY_DETAILS#
12.2.2
-
VIEW: APPS.WSH_CMSTPW_ORDERS_V
12.1.1
-
VIEW: APPS.MST_ORDER_NUMBERS_V
12.1.1
-
VIEW: WMS.WMS_WP_WAVE_LINES#
12.2.2
-
TABLE: MST.MST_PERSONAL_QUERY_RESULTS
12.1.1
owner:MST, object_type:TABLE, object_name:MST_PERSONAL_QUERY_RESULTS, status:VALID,
-
VIEW: APPS.MST_R_MASTER_ORDER_DET_V
12.1.1
-
VIEW: APPS.WSH_CMSTPW_ORDERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_CMSTPW_ORDERS_V, object_name:WSH_CMSTPW_ORDERS_V, status:VALID,
-
View: FTE_LOAD_DETAILS_V
12.2.2
product: FTE - Transportation Execution , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.WSHBV_CONTAINER_CONTENTS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_CONTAINER_CONTENTS, object_name:WSHBV_CONTAINER_CONTENTS, status:VALID,
-
VIEW: APPS.WSH_CMSTPW_ORDERS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:WSH_CMSTPW_ORDERS_V, status:VALID,
-
VIEW: APPS.MST_ARRIVAL_SET_VIOLATION_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_ARRIVAL_SET_VIOLATION_V, status:VALID,
-
View: FTE_LOAD_DETAILS_V
12.1.1
product: FTE - Transportation Execution , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.WSHBV_CONTAINER_CONTENTS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_CONTAINER_CONTENTS, object_name:WSHBV_CONTAINER_CONTENTS, status:VALID,
-
TABLE: MSC.MSC_DELIVERY_DETAILS
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_DELIVERY_DETAILS, object_name:MSC_DELIVERY_DETAILS, status:VALID,
-
VIEW: APPS.WSHFV_CONTAINER_CONTENTS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHFV_CONTAINER_CONTENTS, object_name:WSHFV_CONTAINER_CONTENTS, status:VALID,
-
TABLE: MST.MST_MULTI_SELECTION_GT
12.1.1
owner:MST, object_type:TABLE, object_name:MST_MULTI_SELECTION_GT, status:VALID,
-
VIEW: APPS.MST_SHIP_SET_VIOLATION_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_SHIP_SET_VIOLATION_V, status:VALID,
-
VIEW: MSC.MSC_ST_DELIVERY_DETAILS#
12.2.2
owner:MSC, object_type:VIEW, object_name:MSC_ST_DELIVERY_DETAILS#, status:VALID,
-
VIEW: APPS.WSHFV_CONTAINER_CONTENTS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHFV_CONTAINER_CONTENTS, object_name:WSHFV_CONTAINER_CONTENTS, status:VALID,
-
TABLE: MSC.MSC_ST_DELIVERY_DETAILS
12.2.2
owner:MSC, object_type:TABLE, object_name:MSC_ST_DELIVERY_DETAILS, status:VALID,
-
TABLE: MSC.MSC_ST_DELIVERY_DETAILS
12.1.1
owner:MSC, object_type:TABLE, object_name:MSC_ST_DELIVERY_DETAILS, status:VALID,
-
VIEW: MSC.MSC_DELIVERY_DETAILS#
12.2.2
owner:MSC, object_type:VIEW, object_name:MSC_DELIVERY_DETAILS#, status:VALID,
-
VIEW: APPS.MST_PQ_ORDER_RESULTS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_PQ_ORDER_RESULTS_V, status:VALID,
-
TABLE: MSC.MSC_DELIVERY_DETAILS
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_DELIVERY_DETAILS, object_name:MSC_DELIVERY_DETAILS, status:VALID,
-
VIEW: APPS.MST_OD_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_OD_SUMMARY_V, status:VALID,
-
VIEW: APPS.MST_SHIP_SET_VIOLATION_DEL_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_SHIP_SET_VIOLATION_DEL_V, status:VALID,
-
VIEW: APPS.MST_CUSTOMER_ORDERS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_CUSTOMER_ORDERS_V, status:VALID,
-
VIEW: APPS.MST_AO_ORDERS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_AO_ORDERS_V, status:VALID,
-
VIEW: WMS.WMS_WP_WAVE_LINES#
12.2.2
owner:WMS, object_type:VIEW, object_name:WMS_WP_WAVE_LINES#, status:VALID,
-
VIEW: APPS.MST_DD_ORDER_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_DD_ORDER_SUMMARY_V, status:VALID,
-
VIEW: APPS.MST_SUPPLIER_ORDERS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_SUPPLIER_ORDERS_V, status:VALID,
-
APPS.WSH_WSHRDBSR_XMLP_PKG SQL Statements
12.2.2
-
VIEW: APPS.MST_WSH_TOPMOST_PACKAGES_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_WSH_TOPMOST_PACKAGES_V, status:VALID,
-
APPS.WSH_WSHRDBSR_XMLP_PKG SQL Statements
12.1.1
-
VIEW: APPS.MST_ARR_SET_VIOLATION_DEL_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_ARR_SET_VIOLATION_DEL_V, status:VALID,
-
VIEW: APPS.WSH_ITM_SHIPITEMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSH_ITM_SHIPITEMS_V, object_name:WSH_ITM_SHIPITEMS_V, status:VALID,
-
VIEW: APPS.MST_WSH_DEL_DET_NOTPACKED_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_WSH_DEL_DET_NOTPACKED_V, status:VALID,
-
VIEW: APPS.MST_WSH_DEL_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_WSH_DEL_DETAILS_V, status:VALID,
-
VIEW: APPS.MST_WSH_DEL_DET_WFIRMDEL_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MST_WSH_DEL_DET_WFIRMDEL_V, status:VALID,
-
View: WSHBV_CONTAINER_CONTENTS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_CONTAINER_CONTENTS, object_name:WSHBV_CONTAINER_CONTENTS, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSHBV_CONTAINER_CONTENTS ,
-
PACKAGE BODY: APPS.WSH_DCP_PVT
12.2.2
-
VIEW: APPS.MST_WSH_DEL_DET_WFIRMDEL_V
12.1.1
-
VIEW: WSH.WSH_DELIVERY_DETAILS#
12.2.2
-
PACKAGE BODY: APPS.WSH_DCP_PVT
12.1.1
-
VIEW: APPS.MST_WSH_DEL_DETAILS_V
12.1.1
-
View: WSHBV_CONTAINER_CONTENTS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WSH.WSHBV_CONTAINER_CONTENTS, object_name:WSHBV_CONTAINER_CONTENTS, status:VALID, product: WSH - Shipping Execution , implementation_dba_data: APPS.WSHBV_CONTAINER_CONTENTS ,