Search Results base_line_number
Overview
The APPS.ONT_UPGRADE_EXCEPTION_REPORT package body is a utility package in the Oracle Order Management (ONT) module of Oracle E-Business Suite. Its principal business function is to resolve and report accurate line numbering information during upgrade processing, particularly when order lines are associated with service lines, parent lines, or shipment schedule lines. The package supports data integrity checks that compare how line numbers are stored and derived across hierarchical order structures, which is critical when migrating or validating order data between releases such as 12.1.1 and 12.2.2.
Because the header comment carries the identifier OEXNUPUB.pls, the package is classified as an ONT public package intended for reuse. It is registered in the ETRM with an API classification of OTHER, indicating that it is a supporting internal utility rather than a formally published business API. The package is not referenced by any other documented packages (referencing count is zero), which frames it as a self-contained helper used by upgrade or exception-reporting logic.
Key Procedures and Functions
The ETRM documents three functions within this package body. Each is designed to return a numeric line identifier after resolving the appropriate source record.
- BASE_LINE_NUMBER — Returns the base (top-level) line number for a given order line. It traverses the relationship between service parent lines, shipment schedule lines, and parent lines to determine which line number represents the true base of the line hierarchy. The function defaults all incoming parameters to NULL, and its exception handler returns NULL when no matching row is found.
- SHIPMENT_SCHEDULE_NUMBER — Resolves and returns the shipment schedule line number associated with the supplied parent, service parent, or schedule line identifiers. It exists to isolate the shipment scheduling level of an order line, which is a distinct numbering dimension from the base line number.
- OPTION_LINE_NUMBER — Returns the line number applicable to the option (service or configuration option) aspect of an order line. This supports accurate reporting when options are attached to parent or service line structures.
Together, these functions allow upgrade routines to reconstruct the correct line numbering across the three numbering perspectives used by Oracle Order Management: base, shipment schedule, and option.
Tables Accessed
The package reads from a single documented table, SO_LINES_ALL, accessed through its APPS synonym. This is the central repository of order line data in Order Management, containing columns such as LINE_ID, PARENT_LINE_ID, SERVICE_PARENT_LINE_ID, SHIPMENT_SCHEDULE_LINE_ID, and LINE_NUMBER. The functions perform single-row SELECT ... INTO queries filtering on LINE_ID to retrieve the parent, schedule, and line number values that drive the resolution logic. No inserts, updates, or deletes are documented; the package is strictly read-only with respect to order data.
Usage Notes
ONT_UPGRADE_EXCEPTION_REPORT is typically invoked from upgrade and data-validation processes rather than from end-user forms. It is well suited to concurrent programs that audit or report order line numbering discrepancies during a release upgrade, and it may be called from custom PL/SQL that needs to normalize line number references across parent, service, and schedule hierarchies.
Because all parameters default to NULL and the functions return NULL on NO_DATA_FOUND, callers should treat a NULL return as an unresolved line rather than an error condition, and should guard against it in downstream reporting. Developers performing customizations should reference the package through its APPS synonym and avoid modifying the package body, as it is shipped as an Oracle-owned object.
-
PACKAGE BODY: APPS.ONT_UPGRADE_EXCEPTION_REPORT
12.2.2
-
PACKAGE BODY: APPS.ONT_UPGRADE_EXCEPTION_REPORT
12.1.1
-
APPS.ONT_UPGRADE_EXCEPTION_REPORT SQL Statements
12.1.1
-
APPS.ONT_UPGRADE_EXCEPTION_REPORT SQL Statements
12.2.2
-
PACKAGE: APPS.ONT_UPGRADE_EXCEPTION_REPORT
12.2.2
-
PACKAGE: APPS.ONT_UPGRADE_EXCEPTION_REPORT
12.1.1
-
APPS.OEXVWCAN SQL Statements
12.2.2
-
APPS.OEXVWCAN SQL Statements
12.1.1
-
VIEW: APPS.SO_ORDER_CANCELLATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_ORDER_CANCELLATIONS_V, object_name:SO_ORDER_CANCELLATIONS_V, status:VALID,
-
PACKAGE BODY: APPS.OEXVWCAN
12.1.1
-
PACKAGE: APPS.OEXVWCAN
12.2.2
-
View: SO_ORDER_CANCELLATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_ORDER_CANCELLATIONS_V, object_name:SO_ORDER_CANCELLATIONS_V, status:VALID, product: OE - Order Entry , implementation_dba_data: APPS.SO_ORDER_CANCELLATIONS_V ,
-
View: SO_ORDER_CANCELLATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_ORDER_CANCELLATIONS_V, object_name:SO_ORDER_CANCELLATIONS_V, status:VALID, product: OE - Order Entry , implementation_dba_data: APPS.SO_ORDER_CANCELLATIONS_V ,
-
VIEW: APPS.SO_ORDER_CANCELLATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_ORDER_CANCELLATIONS_V, object_name:SO_ORDER_CANCELLATIONS_V, status:VALID,
-
PACKAGE: APPS.OEXVWCAN
12.1.1
-
PACKAGE BODY: APPS.OEXVWCAN
12.2.2
-
VIEW: APPS.SO_ORDER_CANCELLATIONS_V
12.2.2
-
VIEW: APPS.SO_ORDER_CANCELLATIONS_V
12.1.1
-
PACKAGE: APPS.OE_QUERY
12.1.1
-
PACKAGE: APPS.OE_QUERY
12.2.2
-
View: SO_LINES_CANCEL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES_CANCEL_V, object_name:SO_LINES_CANCEL_V, status:VALID, product: OE - Order Entry , implementation_dba_data: APPS.SO_LINES_CANCEL_V ,
-
View: SO_LINES_CANCEL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES_CANCEL_V, object_name:SO_LINES_CANCEL_V, status:VALID, product: OE - Order Entry , implementation_dba_data: APPS.SO_LINES_CANCEL_V ,
-
VIEW: APPS.SO_LINES_CANCEL_V
12.2.2
-
VIEW: APPS.SO_LINES_CANCEL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES_CANCEL_V, object_name:SO_LINES_CANCEL_V, status:VALID,
-
VIEW: APPS.SO_LINES_CANCEL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES_CANCEL_V, object_name:SO_LINES_CANCEL_V, status:VALID,
-
VIEW: APPS.SO_LINES_CANCEL_V
12.1.1
-
PACKAGE BODY: APPS.OE_QUERY
12.1.1
-
PACKAGE BODY: APPS.OE_QUERY
12.2.2
-
APPS.OE_QUERY SQL Statements
12.1.1
-
APPS.OE_QUERY SQL Statements
12.2.2
-
APPS.OE_CANSRV SQL Statements
12.2.2
-
APPS.OE_CANSRV SQL Statements
12.1.1
-
APPS.ONT_UPGRADE_EXCEPTION_REPORT dependencies on SO_LINES_ALL
12.2.2
-
APPS.ONT_UPGRADE_EXCEPTION_REPORT dependencies on SO_LINES_ALL
12.1.1
-
APPS.OEXVWCAN dependencies on SO_LINES
12.2.2
-
APPS.OEXVWCAN dependencies on SO_LINES
12.1.1
-
APPS.ONT_UPGRADE_EXCEPTION_REPORT dependencies on ONT_UPGRADE_EXCEPTION_REPORT
12.1.1
-
APPS.ONT_UPGRADE_EXCEPTION_REPORT dependencies on ONT_UPGRADE_EXCEPTION_REPORT
12.2.2
-
PACKAGE BODY: APPS.OE_CANSRV
12.1.1
-
PACKAGE BODY: APPS.OE_CANSRV
12.2.2
-
APPS.OE_QUERY dependencies on SO_LINES
12.2.2
-
APPS.OE_QUERY dependencies on SO_LINES
12.1.1
-
eTRM - OE Tables and Views
12.1.1
description: Temporary table ,
-
eTRM - OE Tables and Views
12.2.2
description: Temporary table ,