Search Results dbms_debug
Overview
ONT_FREIGHT_UTIL is a utility package body owned by APPS in the Oracle E-Business Suite Order Management (ONT) module. As classified by ETRM (API classification: UTIL), it is an internal helper package rather than a public application programming interface. Its principal business function is to support freight and pricing diagnostics for order lines — resolving the pricing qualifiers, price lists, list lines, phases, and adjustments that determine how freight charges are calculated and applied to sales order lines and delivery details. The package is oriented toward debugging and inspecting the freight/pricing determination path rather than executing an end-user business transaction. The header comment block identifies the source file as OEXUFDBB.pls, a versioned member of the Order Management freight utility family.
Key Procedures and Functions
ETRM documents a single procedure for this package: FREIGHT_DEBUG. It accepts a header name, an optional list line identifier, and a line identifier, and reports freight-related pricing detail for the referenced order or price list context. The procedure declares private cursors that query list header and list line information (list_header_id, list_line_id, list_line_type_code, effective dates, modifier level, pricing phase, incompatibility group, price break type, operand, automatic flag, arithmetic operator, qualification indicator, product precedence, and price-by-formula identifier) by joining the price list header and list line views. It uses these cursors to trace how a freight modifier was qualified and priced.
The package body also contains an internal debug output routine named dbms_debug, a private helper that writes diagnostic text in fixed-width chunks of 80 characters. Though not part of the documented API surface, its presence explains why a search for "dbms_debug" surfaces this object. The routine builds dynamic PL/SQL statements that invoke dbms_output.put_line, escaping embedded single quotes, and traps all exceptions silently. It is important to note that this is a locally defined procedure that merely shares the name of the Oracle server package DBMS_DEBUG; it is not a call to that package.
Tables Accessed
The documented tables accessed through APPS synonyms include OE_ORDER_LINES_ALL and OE_PRICE_ADJUSTMENTS, which supply order line attributes and the freight price adjustments applied to those lines; WSH_DELIVERY_DETAILS, which links order lines to shipment detail; and the pricing schema tables QP_LIST_LINES, QP_LIST_HEADER_PHASES, QP_PRICING_PHASES, QP_EVENT_PHASES, QP_QUALIFIERS, QP_PRICING_ATTRIBUTES, and QP_PRICE_FORMULA_LINES, which together define qualifiers, phases, and formula-driven pricing for freight modifiers. The synonym PLITBLM corresponds to the PL/SQL integer table type used for list processing. The package reads these objects to assemble a diagnostic picture of freight qualification and pricing; the metadata does not indicate that it writes to any table.
Usage Notes
ONT_FREIGHT_UTIL is an internal diagnostic utility. It is typically invoked from custom PL/SQL or ad hoc scripts when investigating why a freight charge was or was not applied to an order line, rather than from a standard Order Management form or concurrent program. Because it is classified as a utility and is referenced by zero other packages, there is no supported public call path into it, and its procedures are not guaranteed to be stable across releases. The embedded dbms_debug helper relies on dbms_output, so a client must have server output enabled to observe results. Developers analyzing freight pricing in either 12.1.1 or 12.2.2 should treat this package as reference material and avoid depending on it in production customizations.
-
PACKAGE BODY: APPS.ONT_FREIGHT_UTIL
12.1.1
-
PACKAGE BODY: APPS.ONT_FREIGHT_UTIL
12.2.2
-
PACKAGE BODY: APPS.FND_DFLEX
12.1.1
-
PACKAGE BODY: APPS.FND_DFLEX
12.2.2
-
SYNONYM: PUBLIC.DBMS_DEBUG
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_DEBUG, status:VALID,
-
PACKAGE: SYS.DBMS_DEBUG
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEBUG, status:VALID,
-
PACKAGE: SYS.DBMS_DEBUG
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_DEBUG, status:VALID,
-
PACKAGE: SYS.PBREAK
12.1.1
owner:SYS, object_type:PACKAGE, object_name:PBREAK, status:VALID,
-
SYNONYM: PUBLIC.DBMS_DEBUG
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_DEBUG, status:VALID,
-
TYPE: SYS.DBMS_DEBUG_VC2COLL
12.1.1
owner:SYS, object_type:TYPE, object_name:DBMS_DEBUG_VC2COLL, status:VALID,
-
PACKAGE: SYS.PBRPH
12.2.2
owner:SYS, object_type:PACKAGE, object_name:PBRPH, status:VALID,
-
PACKAGE BODY: SYS.DBMS_DEBUG
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_DEBUG, status:VALID,
-
PACKAGE: SYS.PBRPH
12.1.1
owner:SYS, object_type:PACKAGE, object_name:PBRPH, status:VALID,
-
PACKAGE: SYS.PBREAK
12.2.2
owner:SYS, object_type:PACKAGE, object_name:PBREAK, status:VALID,
-
TYPE: SYS.DBMS_DEBUG_VC2COLL
12.2.2
owner:SYS, object_type:TYPE, object_name:DBMS_DEBUG_VC2COLL, status:VALID,
-
PACKAGE BODY: SYS.DBMS_DEBUG
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_DEBUG, status:VALID,
-
PACKAGE BODY: APPS.FND_VSET
12.2.2
-
PACKAGE BODY: APPS.FND_VSET
12.1.1
-
PACKAGE BODY: APPS.FND_DSQL
12.1.1
-
PACKAGE BODY: APPS.FND_DSQL
12.2.2
-
PACKAGE: SYS.PBSDE
12.1.1
owner:SYS, object_type:PACKAGE, object_name:PBSDE, status:VALID,
-
PACKAGE: SYS.PBSDE
12.2.2
owner:SYS, object_type:PACKAGE, object_name:PBSDE, status:VALID,
-
PACKAGE: SYS.PBUTL
12.1.1
owner:SYS, object_type:PACKAGE, object_name:PBUTL, status:VALID,
-
APPS.ONT_FREIGHT_UTIL SQL Statements
12.1.1
-
PACKAGE BODY: SYS.PBREAK
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:PBREAK, status:VALID,
-
APPS.ONT_FREIGHT_UTIL SQL Statements
12.2.2
-
PACKAGE BODY: SYS.PBRPH
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:PBRPH, status:VALID,
-
PACKAGE: SYS.PBUTL
12.2.2
owner:SYS, object_type:PACKAGE, object_name:PBUTL, status:VALID,
-
PACKAGE: SYS.DBMS_PIPE
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_PIPE, status:VALID,
-
PACKAGE BODY: SYS.PBREAK
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:PBREAK, status:VALID,
-
PACKAGE BODY: SYS.PBSDE
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:PBSDE, status:VALID,
-
PACKAGE BODY: SYS.PBRPH
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:PBRPH, status:VALID,
-
PACKAGE BODY: SYS.PBSDE
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:PBSDE, status:VALID,
-
PACKAGE: SYS.DBMS_PIPE
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_PIPE, status:VALID,
-
PACKAGE: SYS.DBMS_SESSION
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_SESSION, status:VALID,
-
PACKAGE: SYS.DBMS_SESSION
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_SESSION, status:VALID,
-
PACKAGE BODY: SYS.DBMS_DEBUG
12.2.2
-
PACKAGE BODY: SYS.DBMS_DEBUG
12.1.1
-
PACKAGE: SYS.DBMS_DEBUG
12.1.1
-
PACKAGE: SYS.DBMS_DEBUG
12.2.2
-
PACKAGE: SYS.UTL_RAW
12.1.1
owner:SYS, object_type:PACKAGE, object_name:UTL_RAW, status:VALID,
-
PACKAGE: SYS.UTL_RAW
12.2.2
owner:SYS, object_type:PACKAGE, object_name:UTL_RAW, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
SYS.DBMS_DEBUG dependencies on DBMS_DEBUG
12.1.1
-
SYS.PBREAK dependencies on DBMS_DEBUG
12.1.1
-
SYS.DBMS_DEBUG dependencies on DBMS_DEBUG
12.2.2
-
SYS.PBRPH dependencies on DBMS_DEBUG
12.1.1