Search Results ap_web_exp_item_util
Overview
The APPS.AP_WEB_EXP_ITEM_UTIL package is a utility (UTIL class) PL/SQL package in the Oracle E-Business Suite Payables (AP) module. Its name — Web Expenses Item Utility — identifies it as a supporting component of the Oracle Payables Internet Expenses (OIE) application, the self-service web interface through which employees enter and submit expense reports. The package encapsulates low-level logic related to expense itemization: the practice of breaking a single expense line into multiple component lines, each allocated to a distinct accounting distribution, cost center, or project.
Internet Expenses relies on a configuration framework of policies, expense types, and itemization rules that determine whether a given expense type may or must be itemized. The AP_WEB_EXP_ITEM_UTIL package isolates the entry points into that framework so that other packages, views, and forms can resolve itemization questions without duplicating SQL against the underlying policy tables. In the documented 12.1.1 / 12.2.2 metadata, the object is marked VALID in the APPS schema and is classified as a utility package, with five documented procedures or functions.
Key Procedures and Functions
- GET_REP_ID — Retrieves the current expense report identifier from a package-global context. This allows callers to reference the report being processed without passing the identifier explicitly on every call, a common pattern in OIE where session state is maintained across procedure invocations.
- SET_REP_ID — Establishes the expense report identifier in that package-global context. It is typically invoked at the start of report processing so that subsequent utility calls operate against the correct report.
- GET_EXP_PARAM_ID — Returns the expense parameter identifier held in package state. Expense parameters control how Internet Expenses interprets and validates an expense entry against the applicable policy setup.
- SET_EXP_PARAM_ID — Assigns the expense parameter identifier to package state, paired with GET_EXP_PARAM_ID to give downstream logic access to the governing parameters for the current expense line.
- ITEMIZATION_ALLOWED — The primary business decision function. It evaluates whether itemization is permitted for a given expense item, consulting the policy itemization setup and returning a boolean-compatible result that drives the OIE user interface.
Tables Accessed
The documented table reference is AP_POL_ITEMIZATIONS (accessed through the APPS synonym). This is the policy-level itemization setup table that defines which expense types may be itemized and under what conditions. ITEMIZATION_ALLOWED is the procedure most directly dependent on it, since resolving itemization eligibility requires reading the policy rows that apply to the expense type and report context. The getter and setter procedures primarily manipulate package state and may not touch the table directly, but they supply the identifiers that drive the policy lookup.
Usage Notes
As a utility package, AP_WEB_EXP_ITEM_UTIL is not intended as a standalone business API with a published interface for external integration; it is a helper invoked by OIE application code. The ETRM dependency data shows it is referenced by AP_WEB_EXP_TYPE_ITEM_V, an Internet Expenses view related to expense type itemization, confirming its role as a supporting layer beneath the OIE UI objects. It references only SYS.STANDARD, indicating it relies on core PL/SQL constructs rather than other AP packages.
Typical invocation paths include the Oracle Internet Expenses OAF pages and any custom Payables extensions that need to reproduce OIE itemization behavior. Because the package is documented as a utility class with mutable package-global state (via SET_REP_ID and SET_EXP_PARAM_ID), consumers should set the relevant identifiers before calling dependent functions and should not assume the state persists across unrelated operations or database sessions. Custom code referencing this package should treat the interface as internal and subject to change between releases, since Oracle does not publish it as a public API contract.
-
PACKAGE: APPS.AP_WEB_EXP_ITEM_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_EXP_ITEM_UTIL, status:VALID,
-
PACKAGE: APPS.AP_WEB_EXP_ITEM_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_EXP_ITEM_UTIL, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_EXP_ITEM_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_EXP_ITEM_UTIL, status:VALID,
-
PACKAGE: APPS.AP_WEB_EXP_ITEM_UTIL
12.1.1
-
PACKAGE BODY: APPS.AP_WEB_EXP_ITEM_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_EXP_ITEM_UTIL, status:VALID,
-
PACKAGE: APPS.AP_WEB_EXP_ITEM_UTIL
12.2.2
-
PACKAGE BODY: APPS.AP_WEB_EXP_ITEM_UTIL
12.2.2
-
PACKAGE BODY: APPS.AP_WEB_EXP_ITEM_UTIL
12.1.1
-
SYNONYM: APPS.AP_POL_ITEMIZATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_POL_ITEMIZATIONS, status:VALID,
-
SYNONYM: APPS.AP_POL_ITEMIZATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_POL_ITEMIZATIONS, status:VALID,
-
VIEW: APPS.AP_WEB_EXP_TYPE_ITEM_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_WEB_EXP_TYPE_ITEM_V, object_name:AP_WEB_EXP_TYPE_ITEM_V, status:VALID,
-
VIEW: APPS.AP_WEB_EXP_TYPE_ITEM_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_WEB_EXP_TYPE_ITEM_V, object_name:AP_WEB_EXP_TYPE_ITEM_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.AP_WEB_EXP_ITEM_UTIL dependencies on AP_WEB_EXP_ITEM_UTIL
12.1.1
-
APPS.AP_WEB_EXP_ITEM_UTIL dependencies on AP_WEB_EXP_ITEM_UTIL
12.2.2
-
APPS.AP_WEB_EXP_TYPE_ITEM_V dependencies on AP_WEB_EXP_ITEM_UTIL
12.2.2
-
APPS.AP_WEB_EXP_TYPE_ITEM_V dependencies on AP_WEB_EXP_ITEM_UTIL
12.1.1
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
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
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,