Search Results get_info
Overview
APPS.ICX_CAT_UTIL_PKG is a utility package body in the Oracle E-Business Suite Internet Commerce Exchange (iProcurement/ICX) schema. Its documented purpose is to centralize currency-related helper logic used by the iProcurement catalog and shopping modules. The package, whose header comment identifies it as ICXCUTLB.pls (115.2), provides two principal utilities: a private procedure, get_info, that retrieves a currency's minimum accountable unit (MAU), and a public function, convert_amount_sql, that converts a monetary amount from one currency to another using Oracle General Ledger exchange rates. By encapsulating these operations, the package ensures consistent rounding and currency handling across catalog pricing, requisition display, and cross-currency shopping scenarios in EBS 12.1.1 and 12.2.2.
Key Procedures and Functions
The ETRM metadata documents the following program units:
- get_info — A procedure that accepts a currency code and returns its minimum accountable unit as an
IN OUT NOCOPY NUMBERparameter. It queries FND_CURRENCIES and, when no explicit MAU is defined, derives the value using the expressionpower(10, (-1 * extended_precision)). If the currency code does not exist, it raises the custom exceptionINVALID_CURRENCY. Though not listed as publicly documented in the metadata, this procedure is called internally by convert_amount_sql and is frequently the object users locate when searching for "get_info." - convert_amount_sql — The primary documented function. It converts an amount between a source and target currency using a specified conversion date and, optionally, a conversion rate type. When the source currency equals the target currency or the source is null, the original amount is returned unchanged. When no conversion type is supplied, the function retrieves the default rate type from the purchasing system parameters. It then fetches the target currency's MAU via get_info, applies the GL exchange rate, and rounds the result to the MAU before returning it. If no rate exists, the function's exception handler returns null.
Tables Accessed
The package reads from the following tables through APPS synonyms:
- FND_CURRENCIES — The Oracle Application Object Library currency definition table. It supplies the
minimum_accountable_unitandextended_precisionvalues used to compute MAU and to round converted amounts correctly. - PO_SYSTEM_PARAMETERS — The Purchasing application setup table. It is queried for
default_rate_typewhen the caller does not provide an explicit conversion rate type. A local exception handler defaults this value to null if the select fails, preserving function execution.
Usage Notes
ICX_CAT_UTIL_PKG is most commonly invoked from iProcurement catalog and shopping form logic, and from custom or extension code that must display monetary values in a user's preferred currency. The convert_amount_sql function is typically called when prices must be restated from a supplier or base currency into the session currency. The get_info procedure supports this by supplying the rounding increment. The ETRM metadata records no other packages referencing this package (referenced by 0 other packages), indicating its role as a leaf-level utility rather than a shared framework component. Because exchange-rate lookups rely on gl_currency_api.get_rate, callers should ensure that rates and rate types are defined for the required date, and should anticipate a null return when the GL currency API raises NO_RATE. Applications must also handle the INVALID_CURRENCY exception when an unrecognized currency code is passed to get_info.
-
PACKAGE BODY: APPS.ICX_CAT_UTIL_PKG
12.2.2
-
PACKAGE BODY: APPS.ICX_CAT_UTIL_PKG
12.1.1
-
PACKAGE BODY: APPS.GMF_GLCOMMON_DB
12.2.2
-
PACKAGE BODY: APPS.GMF_GLCOMMON_DB
12.1.1
-
PACKAGE: APPS.FND_CURRENCY_CACHE
12.1.1
-
PACKAGE: APPS.FND_CURRENCY_CACHE
12.2.2
-
PACKAGE: APPS.FND_CURRENCY
12.2.2
-
PACKAGE: APPS.FND_CURRENCY
12.1.1
-
PACKAGE: APPS.IGS_GE_REPORT
12.1.1
-
PACKAGE BODY: APPS.FND_CURRENCY_CACHE
12.2.2
-
PACKAGE BODY: APPS.FND_CURRENCY_CACHE
12.1.1
-
PACKAGE: APPS.GMF_GLCOMMON_DB
12.1.1
-
PACKAGE: APPS.GMF_GLCOMMON_DB
12.2.2
-
PACKAGE BODY: APPS.IGS_GE_REPORT
12.1.1
-
PACKAGE BODY: APPS.GL_CURRENCY_API
12.1.1
-
PACKAGE BODY: APPS.GL_CURRENCY_API
12.2.2
-
PACKAGE BODY: APPS.ICX_REQ_CUSTOM
12.1.1
-
PACKAGE BODY: APPS.ICX_REQ_CUSTOM
12.2.2
-
PACKAGE: APPS.OKC_CURRENCY_API
12.2.2
-
PACKAGE: APPS.OKC_CURRENCY_API
12.1.1
-
PACKAGE BODY: APPS.FND_CURRENCY
12.2.2
-
PACKAGE BODY: APPS.FND_CURRENCY
12.1.1
-
APPS.ICX_REQ_CUSTOM SQL Statements
12.2.2
-
APPS.ICX_REQ_CUSTOM SQL Statements
12.1.1
-
PACKAGE BODY: APPS.WSMPGENE
12.2.2
-
PACKAGE BODY: APPS.HR_CURRENCY_PKG
12.1.1
-
PACKAGE BODY: APPS.HR_CURRENCY_PKG
12.2.2
-
PACKAGE BODY: APPS.WSMPGENE
12.1.1
-
PACKAGE BODY: APPS.OKC_CURRENCY_API
12.2.2
-
PACKAGE BODY: APPS.OKC_CURRENCY_API
12.1.1
-
PACKAGE BODY: APPS.PA_INVOICE_CURRENCY
12.1.1
-
PACKAGE BODY: APPS.PA_WORKFLOW_UTILS
12.2.2
-
PACKAGE BODY: APPS.PA_WORKFLOW_UTILS
12.1.1
-
PACKAGE BODY: APPS.PA_INVOICE_CURRENCY
12.2.2
-
PACKAGE BODY: APPS.AP_OTHR_CHRG_MATCH_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_INVOICE_CORRECTIONS_PKG
12.1.1
-
PACKAGE BODY: APPS.OTA_TRAINING_RECORD
12.1.1
-
PACKAGE BODY: APPS.AP_OTHR_CHRG_MATCH_PKG
12.2.2
-
PACKAGE BODY: APPS.OTA_TRAINING_RECORD
12.2.2
-
PACKAGE BODY: APPS.AP_INVOICE_CORRECTIONS_PKG
12.2.2
-
PACKAGE BODY: APPS.QPR_SR_UTIL
12.2.2
-
PACKAGE BODY: APPS.AP_IMPORT_UTILITIES_PKG
12.1.1
-
PACKAGE BODY: APPS.QPR_SR_UTIL
12.1.1
-
PACKAGE: APPS.JL_JLCOARCR_XMLP_PKG
12.2.2
-
PACKAGE: APPS.JL_JLCOARCR_XMLP_PKG
12.1.1
-
PACKAGE: APPS.JG_JGZZRCAK_XMLP_PKG
12.1.1
-
PACKAGE: APPS.JG_JGZZRCAK_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_IMPORT_UTILITIES_PKG
12.2.2
-
PACKAGE BODY: APPS.PAY_EVENTS_WRAPPER
12.2.2
-
PACKAGE BODY: APPS.JL_JLCOARCR_XMLP_PKG
12.2.2