Search Results get_cust_name




Overview

HZ_COMMON_PUB is a public utility package in the Oracle E-Business Suite Trading Community Architecture (TCA) and Receivables schema, owned by APPS and declared with AUTHID CURRENT_USER. It provides a shared library of low-level helper routines that other TCA-related APIs, forms, and concurrent programs call to perform common tasks: controlling transaction boundaries, validating lookup values, enforcing mandatory column rules, retrieving descriptive names and addresses for parties, customers, and contacts, generating surrogate key values for account and party site entities, and managing content source type security. Because the package consolidates these frequently repeated operations, it reduces redundant SQL across the many modules that populate HZ_CUST_ACCOUNTS, HZ_PARTIES, and related entities.

The package is classified as PUB, indicating that its interface is considered stable for external invocation. It is referenced by approximately 30 other packages, confirming its role as foundational infrastructure rather than an end-user API. The source header identifies it as ARHCOMMS.pls, a legacy HZ (Trading Community) common utility module.

Key Procedures and Functions

The documented interface contains 29 procedures and functions, grouped by purpose:

Tables Accessed

The package reads and writes a defined set of HZ tables through APPS synonyms:

Usage Notes

Because HZ_COMMON_PUB is a PUB-classified shared utility, it is invoked both directly from Oracle Forms and PL/SQL APIs within the TCA and Receivables modules, and indirectly through the roughly 30 packages that reference it. Custom code should treat the documented routines as stable, though callers must remember that the four name/address functions are pure read-only queries constrained by RESTRICT_REFERENCES, while COMMIT_TRANSACTION and ROLLBACK_TRANSACTION alter transaction state and must be used deliberately. Standard practice is to let the higher-level TCA or AR APIs manage commits where possible, reserving the commit and rollback helpers for scenarios where the calling program owns the transaction boundary. The package is present across EBS 12.1.1 and 12.2.2 releases without interface changes in the documented metadata.