Search Results oe_value_to_id
Overview
APPS.OE_VALUE_TO_ID is a utility package body in the Oracle Order Management (OM) module of Oracle E-Business Suite, present and valid in both release 12.1.1 and 12.2.2. Its central purpose is to resolve a human-readable "value" — a descriptive name, code, or flexfield segment value — into the corresponding internal numeric identifier (ID) used as a foreign key throughout the Order Management and Oracle Receivables data model. In effect, it acts as a centralized lookup and validation engine that shields calling code from having to know the specific join path, view, or lookup table required to translate a meaningful business attribute into the surrogate key expected by the transactional tables.
Because so many OM attributes (order type, salesrep, price list, payment term, ship-to and bill-to organizations, contacts, and so on) are stored internally as IDs but presented to users as names, this package is a foundational dependency for Order Management forms, APIs, and concurrent programs. The ETRM metadata classifies it as an OTHER API classification, indicating it is a supporting internal utility rather than a published public interface.
Key Procedures and Functions
The package exposes a large set of narrowly scoped resolution routines (104 documented procedures/functions in the 12.2.2 metadata). Representative documented members include:
- GET_ATTR_TBL — retrieves an attribute-table structure used to drive the mapping of descriptive values to IDs.
- KEY_FLEX — resolves key flexfield combinations, leveraging FND_FLEX_EXT for the flexfield engine.
- ACCOUNTING_RULE / INVOICING_RULE / RA_RULES — return the identifier for an accounting or invoicing rule given its descriptive value.
- AGREEMENT — resolves a sales agreement to its ID via OE_AGREEMENTS_V.
- CONVERSION_TYPE — maps a currency conversion type to its identifier via OE_GL_DAILY_CONVERSION_TYPES_V.
- DELIVER_TO_ORG, DELIVER_TO_CONTACT, INVOICE_TO_ORG, INVOICE_TO_CONTACT, SHIP_TO_CONTACT, SHIP_FROM_ORG, SOLD_TO_ORG, INVENTORY_ORG — a family of organization and contact resolvers built on the OE_*_ORGS_V views and HZ contact structures.
- FOB_POINT, FREIGHT_TERMS, SHIPMENT_PRIORITY, SHIP_METHODS — resolve shipping and freight lookups.
- ORDER_SOURCE, ORDER_TYPE — resolve order sources and order types.
- PAYMENT_TERM, PRICE_LIST, SALES_CREDIT_TYPE, SALESREP — resolve terms, price lists, sales credits, and sales representatives.
- FOB/RA_TERMS, PAYMENT_TYPES — resolve receivables terms and payment types.
Each routine accepts a descriptive input and returns the matching internal ID (or raises an error via FND_MESSAGE/OE_MSG_PUB when no match is found). The exact parameter lists are not enumerated in the metadata and must not be assumed.
Tables Accessed
The package reads from a broad set of Order Management, Receivables, and Trading Community (HZ) tables through APPS synonyms. Documented references include:
- Order Management: OE_ORDER_SOURCES, OE_PAYMENT_TYPES_TL, OE_SALES_CREDIT_TYPES — used for source, payment type, and sales credit resolution.
- Receivables: AR_RECEIPT_METHODS and RA_CUSTOMER_TRX — receipt method and transaction lookups.
- Trading Community / HZ: HZ_CUST_ACCOUNTS, HZ_CUST_ACCT_RELATE, HZ_CUST_ACCT_SITES, HZ_CUST_ACCT_SITES_ALL, HZ_CUST_SITE_USES, HZ_CUST_SITE_USES_ALL, HZ_LOCATIONS, HZ_PARTIES, HZ_PARTY_SITES, HZ_ROLE_RESPONSIBILITY — these back the customer, site, and contact resolvers.
In addition, the package depends on numerous OE_* views (OE_AGREEMENTS_V, OE_CONTACTS_V, OE_DELIVER_TO_ORGS_V, OE_INVOICE_TO_ORGS_V, OE_SHIP_FROM_ORGS_V, OE_SHIP_TO_ORGS_V, OE_SOLD_TO_ORGS_V, and others) plus Oracle HR operating units, IBY credit card issuers, QP list headers, RA_SALESREPS, and the MO_GLOBAL multi-org context. Reads dominate; the package is primarily a lookup utility.
Usage Notes
OE_VALUE_TO_ID is an internal, widely reused utility rather than a user-facing interface. In Oracle EBS 12.1.1 and 12.2.2 it is typically invoked indirectly by Order Management forms and by other OM PL/SQL packages — the metadata notes it is referenced by 24 other packages (itself included via recursive reference). Customizations and extensions that need to convert a business value (such as an order type name or a ship-to organization) into the numeric ID expected by Order Management APIs commonly call these routines. Because it depends on MO_GLOBAL, the correct operating unit context must be initialized before invocation. Callers should handle the exceptions the package raises when a value cannot be resolved. It is not referenced by any database object other than dependent packages, confirming its role as a leaf utility in the dependency chain. Parameter specifics should be confirmed against the actual package specification in the target instance, since the ETRM metadata documents procedure names and dependencies rather than signatures.
-
PACKAGE BODY: APPS.OE_VALUE_TO_ID
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VALUE_TO_ID, status:VALID,
-
PACKAGE BODY: APPS.OE_VALUE_TO_ID
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VALUE_TO_ID, status:VALID,
-
PACKAGE: APPS.OE_VALUE_TO_ID
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_VALUE_TO_ID, status:VALID,
-
PACKAGE: APPS.OE_VALUE_TO_ID
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_VALUE_TO_ID, status:VALID,
-
SYNONYM: APPS.OE_PAYMENT_TYPES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_PAYMENT_TYPES_TL, status:VALID,
-
SYNONYM: APPS.OE_PAYMENT_TYPES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_PAYMENT_TYPES_TL, status:VALID,
-
PACKAGE BODY: APPS.OE_PRICE_BREAK_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_PRICE_BREAK_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_PRICE_LIST_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_PRICE_LIST_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_BLANKET_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_BLANKET_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_CREATE_ACCOUNT_INFO
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CREATE_ACCOUNT_INFO, status:VALID,
-
PACKAGE BODY: APPS.OE_CONTRACT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CONTRACT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_PRICE_BREAK_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_PRICE_BREAK_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_PRICE_LIST_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_PRICE_LIST_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_CONTRACT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CONTRACT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_BLANKET_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_BLANKET_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_PRICE_LIST_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_PRICE_LIST_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_PRICE_LIST_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_PRICE_LIST_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_CREATE_ACCOUNT_INFO
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CREATE_ACCOUNT_INFO, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_UTIL, status:VALID,
-
SYNONYM: APPS.HZ_ROLE_RESPONSIBILITY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_ROLE_RESPONSIBILITY, status:VALID,
-
PACKAGE BODY: APPS.OE_PRICE_LIST_LINE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_PRICE_LIST_LINE_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_IMPORT_SPECIFIC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_IMPORT_SPECIFIC_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_INLINE_CUSTOMER_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_INLINE_CUSTOMER_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_HEADER_PAYMENT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_HEADER_PAYMENT_UTIL, status:VALID,
-
PACKAGE: APPS.OE_PREPAYMENT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_PREPAYMENT_UTIL, status:VALID,
-
SYNONYM: APPS.HZ_ROLE_RESPONSIBILITY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_ROLE_RESPONSIBILITY, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_SCREDIT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_SCREDIT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_CUSTOMER_INFO_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CUSTOMER_INFO_PVT, status:VALID,
-
VIEW: APPS.IBY_CREDITCARD_ISSUERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IBY.IBY_CREDITCARD_ISSUERS_V, object_name:IBY_CREDITCARD_ISSUERS_V, status:VALID,
-
VIEW: APPS.IBY_CREDITCARD_ISSUERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBY.IBY_CREDITCARD_ISSUERS_V, object_name:IBY_CREDITCARD_ISSUERS_V, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_IMPORT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_IMPORT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_INLINE_CUSTOMER_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_INLINE_CUSTOMER_PUB, status:VALID,
-
PACKAGE BODY: APPS.WSH_PROCESS_INTERFACED_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WSH_PROCESS_INTERFACED_PKG, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_IMPORT_SPECIFIC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_IMPORT_SPECIFIC_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_PAYMENT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_PAYMENT_UTIL, status:VALID,
-
SYNONYM: APPS.OE_ORDER_SOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_SOURCES, status:VALID,
-
PACKAGE BODY: APPS.OE_PRICE_LIST_LINE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_PRICE_LIST_LINE_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_HEADER_SCREDIT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_HEADER_SCREDIT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_HEADER_SCREDIT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_HEADER_SCREDIT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_SCREDIT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_SCREDIT_UTIL, status:VALID,
-
SYNONYM: APPS.OE_ORDER_SOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_SOURCES, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_IMPORT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_IMPORT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_PAYMENT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_PAYMENT_UTIL, status:VALID,
-
PACKAGE: APPS.OE_PREPAYMENT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_PREPAYMENT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_HEADER_PAYMENT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_HEADER_PAYMENT_UTIL, status:VALID,
-
VIEW: APPS.OE_CONTACTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_CONTACTS_V, object_name:OE_CONTACTS_V, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDIT_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDIT_TYPES, status:VALID,