Search Results arp_addr_label_pkg




Overview

The APPS.ARP_ADDR_LABEL_PKG package body provides the address-label formatting logic used throughout the Oracle Receivables (AR) module of Oracle E-Business Suite. Its core business purpose is to transform structured address data — stored across party, location, and site records — into a single, properly formatted mailing label string that conforms to the conventions of the destination country. Because address display conventions vary widely (postal code placement, regional ordering, state versus province handling, and so on), the package abstracts that formatting logic into reusable PL/SQL callable from forms, reports, and other program units. In ETRM, the package is classified under the generic API classification OTHER, is owned by the APPS schema, and carries a VALID status in both 12.1.1 and 12.2.2.

Key Procedures and Functions

ETRM documents three callable units within the package body:

  • FORMAT_ADDRESS_LABEL — The primary entry point. It assembles a complete address label from the supplied address components, applying territory-specific formatting rules so the resulting label is suitable for printing or display.
  • FORMAT_ADDRESS — Produces the formatted address portion (the multi-line address text) that the label routine consumes. It centralizes the logic for ordering and delimiting address elements.

Because the ETRM excerpt does not publish parameter lists or return signatures, no parameters should be assumed; consumers should reference the package specification (ARP_ADDR_LABEL_PKG) in the database for exact signatures.

Tables Accessed

The documented dependency list shows the package reading from the following objects:

  • NLS_DATABASE_PARAMETERS (via APPS synonym) — Consulted to determine NLS/territory characteristics that influence formatting behavior.
  • FND_TERRITORIES_VL — Supplies territory definitions used to resolve the applicable country-specific address format.
  • AR_LOOKUPS — Provides Receivables lookup values that drive formatting or validation decisions.
  • FND_PROFILE and FND_API — Accessed for profile option values and standard API error-handling conventions.
  • HZ_FORMAT_PUB — The Trading Community Architecture (TCA) address-formatting API that this package leverages for the underlying format derivation.

The package does not write to any table; it is strictly a read/format utility. It is not referenced by any other database object per the ETRM dependency record, though it is documented as being invoked by 92 other packages at the application-code level.

Usage Notes

ARP_ADDR_LABEL_PKG is typically invoked whenever Receivables needs a display-ready address label — for example, in customer and site maintenance forms, in dunning and statement generation, and in collection or correspondence reports. Because it delegates to HZ_FORMAT_PUB, its output remains consistent with TCA address formatting used elsewhere in EBS, which is important for cross-module consistency between Receivables and the Trading Community architecture.

Its heavy internal usage (referenced by 92 packages) makes it a dependency that should not be modified without impact analysis. Custom code should call the package rather than reimplementing label formatting, ensuring that NLS and territory rules are honored automatically. All calls execute under the APPS schema and require standard EBS security context.