Search Results hz_preference_pub
Overview
APPS.HZ_PREFERENCE_PUB is a public API package body within the Oracle E-Business Suite Trading Community Architecture (TCA) schema. Its purpose is to provide a supported, programmatic interface for creating, maintaining, and querying party preferences stored against records in the HZ_PARTIES model. In Oracle EBS 12.1.1 and 12.2.2, preferences allow an application to capture configurable, contact-related attributes for a party — such as a preferred language, contact method, or communication channel — without modifying the core party record. HZ_PREFERENCE_PUB abstracts the underlying preference storage and validation logic, exposing a controlled public API (API classification PUB) so that forms, concurrent programs, and custom extensions can manipulate preferences without directly touching the base tables. The package is documented as VALID and references the standard TCA and FND utility layers, and it is not referenced by any database object, confirming its role as a top-level entry point rather than an internal helper.
Key Procedures and Functions
The ETRM metadata documents eleven procedures and functions. The query-side routines are the CONTAINS_PREFERENCE, CONTAINS_VALUE, and RETRIEVE functions, which determine whether a given preference exists for a party and return preference data respectively. The VALUE_VARCHAR2, VALUE_NUMBER, and VALUE_DATE functions return a stored preference value coerced into the appropriate datatype, reflecting that HZ_PARTY_PREFERENCES stores values in a typed, multi-column form. The maintenance routines are ADD, PUT, and REMOVE, providing the standard insert, update, and delete operations against a party's preferences. The package therefore follows the conventional TCA pattern of paired existence checks, typed value accessors, and transactional DML procedures. Parameter lists are not enumerated in the metadata and are not reproduced here; callers should consult the package specification or the ETRM package documentation for exact signatures.
Tables Accessed
The documented table references are FND_LOOKUP_VALUES, HZ_PARTIES, HZ_PARTY_PREFERENCES, HZ_PARTY_PREFERENCES_S, and DUAL. HZ_PARTY_PREFERENCES is the primary transactional table into which ADD, PUT, and REMOVE write and from which RETRIEVE and the VALUE_* functions read; HZ_PARTY_PREFERENCES_S is the corresponding sequence used to generate preference identifiers. HZ_PARTIES is accessed to validate that the target party exists and is a valid parent for the preference. FND_LOOKUP_VALUES supplies the valid preference codes and, where applicable, the lookup-driven validation of preference names and values. DUAL supports lightweight existence checks without touching the base tables. The package additionally depends on HZ_PARTY_PREFERENCES_PKG, HZ_COMMON_PUB, HZ_UTILITY_PUB, HZ_UTILITY_V2PUB, HZ_POPULATE_BOT_PKG, and the FND_API/FND_MSG_PUB stack for message handling, consistent with TCA API conventions.
Usage Notes
HZ_PREFERENCE_PUB is normally invoked from TCA-based forms, from concurrent programs that bulk-load or maintain party data, and from custom PL/SQL that must attach preferences to a party. It is referenced by seven other packages, indicating it is consumed by higher-level TCA APIs. Custom code should call the public procedures rather than inserting directly into HZ_PARTY_PREFERENCES, because the package enforces lookup validation, message-based error reporting through FND_MSG_PUB, and consistent sequencing. It is worth noting that the documented function set omits an explicit UPDATE function, so maintenance is likely handled through ADD/PUT semantics; callers should verify the exact behavior against their release's package specification before relying on idempotent behavior across 12.1.1 and 12.2.2.
-
PACKAGE BODY: APPS.HZ_PREFERENCE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_PREFERENCE_PUB, status:VALID,
-
PACKAGE: APPS.HZ_PREFERENCE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_PREFERENCE_PUB, status:VALID,
-
PACKAGE: APPS.HZ_PREFERENCE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_PREFERENCE_PUB, status:VALID,
-
PACKAGE BODY: APPS.HZ_PREFERENCE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_PREFERENCE_PUB, status:VALID,
-
PACKAGE BODY: APPS.ASP_CONTACT_PREF_SECURITY_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASP_CONTACT_PREF_SECURITY_PUB, status:VALID,
-
PACKAGE: APPS.HZ_PARTY_PREFERENCES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_PARTY_PREFERENCES_PKG, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_PREFERENCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_PREFERENCES, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_PREFERENCES_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_PREFERENCES_S, status:VALID,
-
PACKAGE BODY: APPS.CAC_SYNC_CONTACT_PREF_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CAC_SYNC_CONTACT_PREF_PVT, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_PREFERENCES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_PREFERENCES_S, status:VALID,
-
PACKAGE BODY: APPS.ASP_CONTACT_PREF_SECURITY_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASP_CONTACT_PREF_SECURITY_PUB, status:VALID,
-
PACKAGE BODY: APPS.HZ_FORMAT_PHONE_V2PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_FORMAT_PHONE_V2PUB, status:VALID,
-
PACKAGE BODY: APPS.IMC_BOOKMARK_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IMC_BOOKMARK_PUB, status:VALID,
-
PACKAGE: APPS.HZ_PARTY_PREFERENCES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_PARTY_PREFERENCES_PKG, status:VALID,
-
PACKAGE BODY: APPS.CAC_SYNC_CONTACT_PREF_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CAC_SYNC_CONTACT_PREF_PVT, status:VALID,
-
PACKAGE BODY: APPS.HZ_FORMAT_PHONE_V2PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_FORMAT_PHONE_V2PUB, status:VALID,
-
PACKAGE: APPS.HZ_COMMON_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_COMMON_PUB, status:VALID,
-
PACKAGE BODY: APPS.HZ_PARTY_BO_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_PARTY_BO_PVT, status:VALID,
-
PACKAGE BODY: APPS.IMC_BOOKMARK_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IMC_BOOKMARK_PUB, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_PREFERENCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_PREFERENCES, status:VALID,
-
PACKAGE BODY: APPS.AR_IREC_PAYMENTS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_IREC_PAYMENTS, status:VALID,
-
PACKAGE BODY: APPS.HZ_PARTY_BO_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_PARTY_BO_PVT, status:VALID,
-
PACKAGE: APPS.HZ_COMMON_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_COMMON_PUB, status:VALID,
-
PACKAGE: APPS.HZ_POPULATE_BOT_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_POPULATE_BOT_PKG, status:VALID,
-
PACKAGE: APPS.HZ_POPULATE_BOT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_POPULATE_BOT_PKG, status:VALID,
-
PACKAGE BODY: APPS.OE_OE_FORM_HEADER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_OE_FORM_HEADER, status:VALID,
-
PACKAGE BODY: APPS.AR_IREC_PAYMENTS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_IREC_PAYMENTS, status:VALID,
-
PACKAGE BODY: APPS.OE_OE_FORM_HEADER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_OE_FORM_HEADER, status:VALID,
-
PACKAGE BODY: APPS.IMC_BOOKMARK_PUB
12.1.1
-
PACKAGE BODY: APPS.IMC_BOOKMARK_PUB
12.2.2
-
PACKAGE: APPS.HZ_UTILITY_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_UTILITY_PUB, status:VALID,
-
PACKAGE: APPS.HZ_UTILITY_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_UTILITY_PUB, status:VALID,
-
APPS.CAC_SYNC_CONTACT_PREF_PVT dependencies on HZ_PREFERENCE_PUB
12.2.2
-
PACKAGE: APPS.HZ_PREFERENCE_PUB
12.2.2
-
PACKAGE: APPS.HZ_PREFERENCE_PUB
12.1.1
-
APPS.ASP_CONTACT_PREF_SECURITY_PUB dependencies on HZ_PREFERENCE_PUB
12.1.1
-
APPS.OE_OE_FORM_HEADER dependencies on HZ_PREFERENCE_PUB
12.1.1
-
APPS.HZ_FORMAT_PHONE_V2PUB dependencies on HZ_PREFERENCE_PUB
12.2.2
-
APPS.AR_IREC_PAYMENTS dependencies on HZ_PREFERENCE_PUB
12.1.1
-
APPS.IMC_BOOKMARK_PUB dependencies on HZ_PREFERENCE_PUB
12.1.1
-
APPS.OE_OE_FORM_HEADER dependencies on HZ_PREFERENCE_PUB
12.2.2
-
APPS.AR_IREC_PAYMENTS dependencies on HZ_PREFERENCE_PUB
12.2.2
-
APPS.ASP_CONTACT_PREF_SECURITY_PUB dependencies on HZ_PREFERENCE_PUB
12.2.2
-
APPS.HZ_PREFERENCE_PUB dependencies on HZ_PREFERENCE_PUB
12.1.1
-
PACKAGE: APPS.HZ_UTILITY_V2PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_UTILITY_V2PUB, status:VALID,
-
APPS.HZ_PREFERENCE_PUB dependencies on HZ_PREFERENCE_PUB
12.2.2
-
APPS.HZ_PARTY_BO_PVT dependencies on HZ_PREFERENCE_PUB
12.2.2
-
APPS.HZ_FORMAT_PHONE_V2PUB dependencies on HZ_PREFERENCE_PUB
12.1.1
-
APPS.CAC_SYNC_CONTACT_PREF_PVT dependencies on HZ_PREFERENCE_PUB
12.1.1
-
APPS.IMC_BOOKMARK_PUB dependencies on HZ_PREFERENCE_PUB
12.2.2