Search Results g_currency
Overview
The APPS.HR_NUMBER package body is a utility package within the Oracle E-Business Suite Human Resources module. Its principal business function is to provide consistent, locale-independent conversion of numeric values between Oracle's internal NUMBER datatype, "canonical" number strings, user-facing display (character) number strings, and character currency strings. Because Oracle EBS is deployed globally, numeric and currency values must be rendered differently depending on the session's NLS (National Language Support) settings — for example, the decimal separator and group separator characters vary by territory. This package isolates that locale-dependent formatting logic so that other HR and web-based components can reliably parse and present numeric and monetary values regardless of the underlying NLS configuration. In the context of the user's search term g_currency, this variable is a package-level global declared as V$NLS_PARAMETERS.VALUE%TYPE, used internally to hold an NLS parameter value (typically the currency formatting characters) retrieved via the package's cursor.
Key Procedures and Functions
Seven documented procedures and functions are exposed by the package:
- NUMBER_TO_CANONICAL — Converts an Oracle
NUMBERinto a canonical-format number string, normalizing the decimal separator to a period so the result is independent of the session's NLS numeric characters. - CANONICAL_TO_NUMBER — Performs the inverse operation, converting a canonical number string back into an Oracle
NUMBER, applying the session's NLS group and decimal separators as required. - CHARNUMBER_TO_NUMBER — Converts a character number expressed in display format into an Oracle
NUMBER. Per the source, it validates the input usingHR_UTIL_MISC_WEB.IS_VALID_NUMBERbefore conversion. - CHARNUMBER_TO_CANONICAL — Converts a display-format character number into its canonical string representation.
- CANONICAL_TO_CHARNUMBER — Converts a canonical number string into a display-format character number.
- CANONICAL_TO_CHARCURRENCY — Converts a canonical numeric value into a locale-formatted character currency string, using the NLS currency information held in the package's globals such as
g_currency. - CHARCURRENCY_TO_CANONICAL — Converts a character currency string back into canonical numeric form, stripping locale-specific currency formatting.
Tables Accessed
The package reads from a single documented data source: the dynamic performance view V$NLS_PARAMETERS, accessed through an APPS synonym. The package declares a cursor, gcsr_group_separator, that selects the VALUE column for a given PARAMETER name. This is used to fetch NLS settings such as NLS_NUMERIC_CHARACTERS (which supplies the group and decimal separators) and the currency-related parameters that populate the g_currency global. No application tables are written; the package is purely a read-and-transform utility.
Usage Notes
HR_NUMBER is typically invoked by other PL/SQL packages, Oracle Forms, and web-based (Self-Service) components that need to present or accept numeric and monetary data in a locale-correct but internally consistent manner. ETRM records that the package is referenced by one other package, indicating its role as a shared low-level utility. Because it depends on V$NLS_PARAMETERS, its behavior is governed by the NLS environment of the calling session, making it suitable for globalized deployments. Developers extending HR functionality should reuse these functions rather than re-implementing NLS-aware number parsing and formatting, ensuring consistent handling of decimal separators, group separators, and currency display across the application.
-
PACKAGE BODY: APPS.HR_NUMBER
12.2.2
-
PACKAGE BODY: APPS.HR_NUMBER
12.1.1
-
Lookup Type: PAYMENTTEMPLATECODE_SEARCH_OPT
12.1.1
product: CE - Cash Management , meaning: Payment Template Code Poplist Search Option , description: payment template code poplist search option ,
-
Lookup Type: PAYMENTTEMPLATECODE_SEARCH_OPT
12.2.2
product: CE - Cash Management , meaning: Payment Template Code Poplist Search Option , description: payment template code poplist search option ,
-
PACKAGE BODY: APPS.HRI_BPL_SAL
12.1.1
-
PACKAGE: APPS.XTR_TRANS_INTERFACE
12.2.2
-
PACKAGE: APPS.XTR_TRANS_INTERFACE
12.1.1
-
PACKAGE BODY: APPS.OE_CUSTACCEPTREP_PVT
12.2.2
-
PACKAGE: APPS.XTR_AUTO_RECONCILIATION
12.1.1
-
PACKAGE: APPS.QP_MODIFIER_LIST_UTIL
12.2.2
-
PACKAGE BODY: APPS.OE_CUSTACCEPTREP_PVT
12.1.1
-
APPS.FV_GEN_ARTRX_REIMB_PROC SQL Statements
12.2.2
-
PACKAGE: APPS.QP_MODIFIER_LIST_UTIL
12.1.1
-
PACKAGE: APPS.XTR_AUTO_RECONCILIATION
12.2.2
-
PACKAGE: APPS.OE_PRICE_LIST_UTIL
12.2.2
-
PACKAGE: APPS.OE_PRICE_LIST_UTIL
12.1.1
-
APPS.FV_REIMB_ACTIVITY_PROCESS SQL Statements
12.2.2
-
PACKAGE: APPS.FII_AR_UTIL_PKG
12.1.1
-
PACKAGE: APPS.QP_PRICE_LIST_UTIL
12.1.1
-
PACKAGE: APPS.WIP_RES_UTIL
12.2.2
-
PACKAGE: APPS.WIP_RES_UTIL
12.1.1
-
PACKAGE: APPS.QP_PRICE_LIST_UTIL
12.2.2
-
APPS.XTR_TRANS_INTERFACE SQL Statements
12.2.2
-
PACKAGE BODY: APPS.FV_GEN_ARTRX_REIMB_PROC
12.2.2
-
APPS.XTR_TRANS_INTERFACE SQL Statements
12.1.1
-
PACKAGE: APPS.FII_GL_UTIL_PKG
12.1.1
-
PACKAGE BODY: APPS.XTR_TRANS_INTERFACE
12.2.2
-
PACKAGE BODY: APPS.XTR_TRANS_INTERFACE
12.1.1
-
PACKAGE BODY: APPS.OZF_SD_BATCH_PVT
12.1.1
-
PACKAGE BODY: APPS.XTR_AUTO_RECONCILIATION
12.1.1
-
PACKAGE BODY: APPS.FV_REIMB_ACTIVITY_PROCESS
12.2.2
-
PACKAGE BODY: APPS.OKL_SEC_CONCURRENT_PVT
12.2.2
-
PACKAGE BODY: APPS.XTR_AUTO_RECONCILIATION
12.2.2
-
PACKAGE BODY: APPS.FII_GL_UTIL_PKG
12.1.1
-
PACKAGE BODY: APPS.OZF_SD_BATCH_PVT
12.2.2
-
PACKAGE BODY: APPS.OKL_SEC_CONCURRENT_PVT
12.1.1
-
PACKAGE BODY: APPS.FII_AR_UTIL_PKG
12.1.1
-
PACKAGE: APPS.FII_EA_UTIL_PKG
12.1.1
-
PACKAGE: APPS.OKL_POOLCONC_PVT
12.2.2
-
PACKAGE: APPS.OKL_POOLCONC_PVT
12.1.1
-
PACKAGE BODY: APPS.OE_RELATED_ITEMS_PVT
12.1.1
-
PACKAGE BODY: APPS.OE_RELATED_ITEMS_PVT
12.2.2
-
PACKAGE BODY: APPS.FII_EA_UTIL_PKG
12.1.1
-
APPS.FII_AR_UTIL_PKG SQL Statements
12.1.1
-
APPS.HR_NUMBER dependencies on V$NLS_PARAMETERS
12.1.1
-
APPS.HR_NUMBER dependencies on V$NLS_PARAMETERS
12.2.2
-
PACKAGE: APPS.ISC_MAINT_RPT_UTIL_PKG
12.1.1
-
APPS.FV_GEN_ARTRX_REIMB_PROC dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.XTR_AUTO_RECONCILIATION dependencies on XTR_AUTO_RECONCILIATION
12.1.1
-
APPS.OE_CUSTACCEPTREP_PVT dependencies on OE_DEBUG_PUB
12.1.1