Search Results hz_contact_preference_validate
Overview
The APPS.HZ_CONTACT_PREFERENCE_VALIDATE package is a validation utility within the Oracle E-Business Suite Trading Community Architecture (TCA) data model. Its business purpose is to enforce business rules associated with contact preferences — the customer-configurable settings that govern whether and how a party may be contacted through channels such as e-mail, telephone, fax, or direct mail. In Oracle EBS 12.1.1 and 12.2.2, contact preference records are maintained in the HZ_CONTACT_PREFERENCES table, and this package provides the centralized validation logic that protects the integrity of those records before they are committed to the database.
This package is closely coupled with HZ_CONTACT_PREFERENCE_V2PUB, the public TCA API used to create and update contact preference records. Users searching for the phrase "hz_contact_preference_v2pub" are typically working with that public API, and this validate package is one of its direct dependencies. The dependency metadata confirms a bidirectional relationship: HZ_CONTACT_PREFERENCE_VALIDATE references HZ_CONTACT_PREFERENCE_V2PUB, and HZ_CONTACT_PREFERENCE_V2PUB in turn references this validate package. The package is classified under ETRM as an API of type OTHER, reflecting its role as an internal helper rather than a standalone public interface.
Key Procedures and Functions
The ETRM metadata documents a single program unit within this package:
VALIDATE_CONTACT_PREFERENCE— The sole documented procedure. Its purpose is to validate a contact preference record against TCA business rules before the record is persisted. As an internal validation routine, it is invoked by the parent public API (HZ_CONTACT_PREFERENCE_V2PUB) rather than being called directly by external consumers. Consistent with ETRM documentation practice, parameter lists are not enumerated here; the procedure operates on the contact preference payload passed by the calling API and raises validation errors when the supplied data violates configured constraints, such as invalid lookup values or mismatched party, site, or contact point references.
Tables Accessed
The package reads from several reference and transactional tables through APPS synonyms. These accesses support both look-up validation and referential-integrity checks:
HZ_CONTACT_PREFERENCES— The primary transaction table holding contact preference records; used to validate the target row and detect conflicting or duplicate settings.HZ_CONTACT_POINTS— Provides the contact point (telephone, e-mail, and similar) that a preference applies to; the preference must reference a valid contact point.HZ_PARTIESandHZ_PARTY_SITES— Confirm that the party and party site associated with the preference exist and are consistent, enforcing TCA party-model integrity.FND_LOOKUP_VALUES— Supplies the valid lookup codes used to validate enumerated preference attributes.AMS_SOURCE_CODES,AS_INTEREST_CODES_B, andAS_INTEREST_TYPES_B— Marketing-related reference tables used to validate interest code and interest type values associated with the preference.
Collectively, these tables indicate that validation covers party identification, contact point validity, preference type enumeration, and marketing interest attributes.
Usage Notes
This package is not intended as a public API. It is invoked internally by HZ_CONTACT_PREFERENCE_V2PUB during create, update, or delete operations on contact preferences, and by the Oracle Forms-based customer and contact maintenance screens that call that API. Custom integrations that maintain contact preferences programmatically should route their inserts and updates through HZ_CONTACT_PREFERENCE_V2PUB so that this validation logic executes automatically; calling the validate package directly bypasses supported API semantics and is not recommended. The package is reported as VALID in both 12.1.1 and 12.2.2, and its use of SYS.STANDARD reflects standard PL/SQL built-in dependencies only. Because it is referenced by one other package, changes to its interface should be assessed against the calling public API before any modification.
-
PACKAGE: APPS.HZ_CONTACT_PREFERENCE_VALIDATE
12.1.1
-
PACKAGE: APPS.HZ_CONTACT_PREFERENCE_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_CONTACT_PREFERENCE_VALIDATE, status:VALID,
-
PACKAGE: APPS.HZ_CONTACT_PREFERENCE_VALIDATE
12.2.2
-
PACKAGE BODY: APPS.HZ_CONTACT_PREFERENCE_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_CONTACT_PREFERENCE_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.HZ_CONTACT_PREFERENCE_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_CONTACT_PREFERENCE_VALIDATE, status:VALID,
-
PACKAGE: APPS.HZ_CONTACT_PREFERENCE_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_CONTACT_PREFERENCE_VALIDATE, status:VALID,
-
PACKAGE: APPS.HZ_CONTACT_PREFERENCE_V2PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_CONTACT_PREFERENCE_V2PUB, status:VALID,
-
PACKAGE: APPS.HZ_CONTACT_PREFERENCE_V2PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_CONTACT_PREFERENCE_V2PUB, status:VALID,
-
PACKAGE BODY: APPS.HZ_CONTACT_PREFERENCE_V2PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_CONTACT_PREFERENCE_V2PUB, status:VALID,
-
SYNONYM: APPS.AS_INTEREST_CODES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AS_INTEREST_CODES_B, status:VALID,
-
PACKAGE BODY: APPS.HZ_CONTACT_PREFERENCE_V2PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HZ_CONTACT_PREFERENCE_V2PUB, status:VALID,
-
SYNONYM: APPS.AS_INTEREST_CODES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AS_INTEREST_CODES_B, status:VALID,
-
SYNONYM: APPS.AS_INTEREST_TYPES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AS_INTEREST_TYPES_B, status:VALID,
-
SYNONYM: APPS.AS_INTEREST_TYPES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AS_INTEREST_TYPES_B, status:VALID,
-
SYNONYM: APPS.HZ_CONTACT_PREFERENCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CONTACT_PREFERENCES, status:VALID,
-
SYNONYM: APPS.HZ_CONTACT_PREFERENCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CONTACT_PREFERENCES, status:VALID,
-
SYNONYM: APPS.AMS_SOURCE_CODES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_SOURCE_CODES, status:VALID,
-
SYNONYM: APPS.AMS_SOURCE_CODES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_SOURCE_CODES, status:VALID,
-
PACKAGE: APPS.HZ_UTILITY_V2PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HZ_UTILITY_V2PUB, status:VALID,
-
APPS.HZ_CONTACT_PREFERENCE_VALIDATE dependencies on HZ_CONTACT_PREFERENCE_VALIDATE
12.2.2
-
SYNONYM: APPS.HZ_CONTACT_POINTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CONTACT_POINTS, status:VALID,
-
PACKAGE: APPS.HZ_UTILITY_V2PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_UTILITY_V2PUB, status:VALID,
-
SYNONYM: APPS.HZ_CONTACT_POINTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CONTACT_POINTS, status:VALID,
-
APPS.HZ_CONTACT_PREFERENCE_V2PUB dependencies on HZ_CONTACT_PREFERENCE_VALIDATE
12.1.1
-
APPS.HZ_CONTACT_PREFERENCE_VALIDATE dependencies on HZ_CONTACT_PREFERENCE_VALIDATE
12.1.1
-
APPS.HZ_CONTACT_PREFERENCE_V2PUB dependencies on HZ_CONTACT_PREFERENCE_VALIDATE
12.2.2
-
PACKAGE BODY: APPS.HZ_CONTACT_PREFERENCE_VALIDATE
12.1.1
-
PACKAGE BODY: APPS.HZ_CONTACT_PREFERENCE_VALIDATE
12.2.2
-
SYNONYM: APPS.HZ_PARTY_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_SITES, status:VALID,
-
SYNONYM: APPS.FND_LOOKUP_VALUES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_LOOKUP_VALUES, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_SITES, status:VALID,
-
SYNONYM: APPS.FND_LOOKUP_VALUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_LOOKUP_VALUES, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
PACKAGE: APPS.FND_LOG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
PACKAGE: APPS.FND_LOG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, 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
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,