Search Results oe_upgrade_misc_new
Overview
OE_UPGRADE_MISC_NEW is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite, classified as a miscellaneous upgrade utility rather than a runtime Order Management API. Its name and dependency footprint identify it as a one-time data migration helper used during an upgrade into Release 12.1.1 or 12.2.2, performing currency conversion and cleanup of order-related data that earlier releases stored inconsistently. The package is marked VALID and referenced by no other database object, confirming that it is invoked manually or from a driver script during the upgrade cycle and is not part of the functional call stack of Order Management or Advanced Pricing.
The package resolves currency and set-of-books context, rounds monetary amounts to the appropriate precision, rebuilds freight-related records, and touches price adjustment and pricing list data inherited from the pre-upgrade model. In the 12.2.2 data model, much of this responsibility moved into standard pricing and order capture APIs, so OE_UPGRADE_MISC_NEW remains an environment-specific remediation utility rather than a supported integration point.
Key Procedures and Functions
The documented API surface consists of four programs:
- CONVERT_CURRENCY — Converts monetary values from a source currency into the target currency, relying on the currency definitions and conversion machinery accessible through GL_CURRENCY_API and FND_CURRENCIES. It supports the bulk revaluation of pre-upgrade order and adjustment amounts.
- CREATE_FREIGHT_RECORD — Builds or repairs freight charge records associated with orders, ensuring that freight handling data migrated from the prior release is represented in the upgraded Order Management tables.
- ROUND_AMOUNT — Applies currency-appropriate rounding to an amount, a necessary step before currency conversion so that stored values comply with the precision and extended precision rules of the target currency.
- GET_SOB_CURRENCY — Returns the functional currency of a set of books (ledger), used to determine the default currency context for conversion and rounding operations.
Parameter signatures are not documented in the ETRM metadata and should not be assumed; consumers should treat each program as a helper with a narrow, upgrade-specific purpose.
Tables Accessed
The package reads and writes the following objects through APPS synonyms:
- AR_SYSTEM_PARAMETERS_ALL — source of operating unit–level currency and rounding preferences.
- FND_CURRENCIES — currency definitions supplying precision and extended precision values used by ROUND_AMOUNT.
- GL_SETS_OF_BOOKS — provides the ledger needed by GET_SOB_CURRENCY.
- OE_PRICE_ADJUSTMENTS and OE_PRICE_ADJUSTMENTS_S — the adjustment header and its translation table, updated as part of the pricing data migration.
- QP_LIST_HEADERS_B, QP_LIST_HEADERS_TL, and QP_LIST_LINES — Advanced Pricing list headers, their translations, and list lines, consulted or corrected so that price lists align with converted order data.
- DUAL — used for scalar currency and rounding lookups.
Additional internal dependencies include OE_CODE_CONTROL, OE_DEBUG_PUB, OE_SYS_PARAMETERS_PVT, and GL_CURRENCY_API, which supply code generation control, debugging output, system parameter access, and the supported currency conversion call respectively.
Usage Notes
OE_UPGRADE_MISC_NEW is not referenced by any database object, so it is never called automatically by Order Management or Advanced Pricing. It is typically executed by an upgrade driver or by a DBA or technical consultant during a controlled upgrade window, most often after standard upgrade steps have been applied and before users are granted access to the environment. Because the package manipulates historical order and pricing records directly, it should be run only on a backed-up, non-production instance first, with the results validated against source-system totals. Custom code should not depend on this package; any new development requiring currency conversion or rounding should use the supported GL currency APIs and Order Management public APIs instead. Presence of this package on a 12.2.2 instance is normal, but its execution outside an upgrade context is not supported and can corrupt pricing and freight data.
-
PACKAGE BODY: APPS.OE_UPGRADE_MISC_NEW
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_UPGRADE_MISC_NEW, status:VALID,
-
PACKAGE: APPS.OE_UPGRADE_MISC_NEW
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_UPGRADE_MISC_NEW, status:VALID,
-
PACKAGE: APPS.OE_UPGRADE_MISC_NEW
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_UPGRADE_MISC_NEW, status:VALID,
-
PACKAGE BODY: APPS.OE_UPGRADE_MISC_NEW
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_UPGRADE_MISC_NEW, status:VALID,
-
PACKAGE: APPS.OE_UPGRADE_MISC_NEW
12.1.1
-
PACKAGE: APPS.OE_UPGRADE_MISC_NEW
12.2.2
-
PACKAGE: APPS.OE_SYS_PARAMETERS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_SYS_PARAMETERS_PVT, status:VALID,
-
PACKAGE: APPS.OE_SYS_PARAMETERS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_SYS_PARAMETERS_PVT, status:VALID,
-
SYNONYM: APPS.OE_PRICE_ADJUSTMENTS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_PRICE_ADJUSTMENTS_S, status:VALID,
-
SYNONYM: APPS.OE_PRICE_ADJUSTMENTS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_PRICE_ADJUSTMENTS_S, status:VALID,
-
SYNONYM: APPS.QP_LIST_HEADERS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_HEADERS_TL, status:VALID,
-
SYNONYM: APPS.QP_LIST_HEADERS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_HEADERS_TL, status:VALID,
-
SYNONYM: APPS.OE_PRICE_ADJUSTMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_PRICE_ADJUSTMENTS, status:VALID,
-
SYNONYM: APPS.OE_PRICE_ADJUSTMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_PRICE_ADJUSTMENTS, status:VALID,
-
SYNONYM: APPS.AR_SYSTEM_PARAMETERS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_SYSTEM_PARAMETERS_ALL, status:VALID,
-
SYNONYM: APPS.AR_SYSTEM_PARAMETERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_SYSTEM_PARAMETERS_ALL, status:VALID,
-
PACKAGE BODY: APPS.OE_UPGRADE_MISC_NEW
12.2.2
-
PACKAGE BODY: APPS.OE_UPGRADE_MISC_NEW
12.1.1
-
PACKAGE: APPS.OE_CODE_CONTROL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_CODE_CONTROL, status:VALID,
-
SYNONYM: APPS.QP_LIST_HEADERS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_HEADERS_B, status:VALID,
-
SYNONYM: APPS.QP_LIST_HEADERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_HEADERS_B, status:VALID,
-
PACKAGE: APPS.OE_CODE_CONTROL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_CODE_CONTROL, status:VALID,
-
SYNONYM: APPS.QP_LIST_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_LINES, status:VALID,
-
SYNONYM: APPS.QP_LIST_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_LINES, status:VALID,
-
PACKAGE: APPS.GL_CURRENCY_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GL_CURRENCY_API, status:VALID,
-
PACKAGE: APPS.GL_CURRENCY_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GL_CURRENCY_API, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
APPS.OE_UPGRADE_MISC_NEW dependencies on OE_UPGRADE_MISC_NEW
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.OE_UPGRADE_MISC_NEW dependencies on OE_UPGRADE_MISC_NEW
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.OE_DEBUG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_DEBUG_PUB, status:VALID,
-
PACKAGE: APPS.OE_DEBUG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_DEBUG_PUB, status:VALID,
-
SYNONYM: APPS.FND_CURRENCIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_CURRENCIES, status:VALID,
-
SYNONYM: APPS.FND_CURRENCIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_CURRENCIES, status:VALID,
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, 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
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,