Search Results ap_web_infrastructure_pkg




Overview

APPS.AP_WEB_INFRASTRUCTURE_PKG is a foundational Oracle E-Business Suite package within the Payables (AP) module, associated with the Internet Expenses and Web Expenses self-service applications. It provides the shared runtime infrastructure services that the various AP Web packages depend upon: path resolution for images, HTML, and cascading style sheets; session and language context utilities; date and localization helpers; and organization context switching. In ETRM its API classification is listed as OTHER, indicating that it is an internal support package rather than a public, externally-callable business API. The documented metadata confirms the object is VALID in the APPS schema and that it consists of a package specification and body whose behavior is defined entirely by the procedures and functions listed below.

Key Procedures and Functions

  • GETIMAGEPATH — Returns the file path (or URL fragment) used to locate image assets referenced by the Web Expenses user interface, ensuring consistent, deployment-independent image resolution.
  • GETHTMLPATH — Returns the base path for HTML resources rendered by the self-service expense pages.
  • GETCSSPATH — Returns the base path for the cascading style sheet resources applied to the Web Expenses pages, centralizing presentation asset lookup.
  • GETDCDNAME — Resolves the database connection descriptor/name, supporting runtime awareness of the database instance being used.
  • GETLANGCODE — Returns the current language code, used to drive multilingual content and message lookup.
  • GETDATEFORMAT — Returns the applicable date format string, allowing expense screens to render and validate dates consistently with the user's localization settings.
  • GETENABLENEWTAXFIELDS — Indicates whether the newer tax-related fields are enabled, letting dependent packages conditionally expose tax behavior.
  • GETICXAPPLICATIONID — Returns the Oracle iProcurement/ICX application identifier used when establishing application context for self-service flows.
  • GETDIRECTIONATTRIBUTE — Returns the text direction attribute (for example, left-to-right versus right-to-left), supporting bidirectional language rendering.
  • JUMPINTOFUNCTION — Provides navigation/entry logic into a designated function, used to direct users into the appropriate self-service form or function.
  • ICXSETORGCONTEXT — Establishes the ICX organization context, ensuring subsequent queries and operations are executed against the correct operating unit or organization.
  • VALIDATESESSION — Validates the current user session, forming a security and continuity check before dependent processing proceeds.

Tables Accessed

The package accesses four documented APPS tables. AP_EXPENSE_FEED_DISTS_ALL and AP_EXPENSE_FEED_LINES_ALL store the distribution and line detail of expense feed data, and are referenced where infrastructure routines resolve expense-related context. AP_EXPENSE_REPORT_HEADERS holds the header records for expense reports, supporting context determination for the active report. FND_LANGUAGES is the Oracle Application Object Library language definition table, consulted by the language- and direction-related functions (GETLANGCODE, GETDIRECTIONATTRIBUTE) to map the session language to its code and display direction.

Usage Notes

AP_WEB_INFRASTRUCTURE_PKG is invoked indirectly rather than by end users. Its dependency metadata records that it is referenced by eight other AP Web packages, including AP_WEB_CREDIT_CARD_WF, AP_WEB_DB_UTIL_PKG, AP_WEB_DFLEX_PKG, AP_WEB_DISC_PKG, AP_WEB_EXPENSE_WF, AP_WEB_OA_DISC_PKG, AP_WEB_UTILITIES_PKG, and AP_WEB_VALIDATE_UTIL. These callers rely on it for path resolution, session validation, language and date localization, organization context setting, and tax-field enablement during Web Expenses processing. It should be treated as internal infrastructure: customization efforts should focus on the calling packages, invoking AP_WEB_INFRASTRUCTURE_PKG only when replicating standard Web Expenses behavior such as path lookup or session validation. The same functional role applies across EBS 12.1.1 and 12.2.2, where the object remains VALID in the APPS schema.