Search Results ap_web_utilities_pkg
Overview
AP_WEB_UTILITIES_PKG is a shared utility package within the Oracle Payables Internet Expenses (OIE/AP Web) module set, owned by APPS and classified in ETRM as OTHER. It provides the common infrastructure that the Internet Expenses application — the self-service expense entry, receipt capture, credit card, and approval flows — depends upon. Rather than implementing a single business transaction, the package supplies reusable services: logging and diagnostics, mobile-application detection for the OIE mobile channel, employee and currency lookup helpers, money formatting, justification handling for policy violations, receipt warning messages, and credit card enablement checks. Its header comment ($Header: apwxutlb.pls 120.19.12000000.4 2007/05/16) shows a long-lived, actively patched source unit, and ETRM records 83 documented procedures and functions, with the package referenced by 36 other packages — an indication of its role as a low-level dependency across the Expense reporting stack.
Key Procedures and Functions
- GETISMOBILEAPP / ISMOBILEAPP — Determine whether the current responsibility is configured for the mobile OIE application. The boolean-returning variant caches the result into the package global GIsMobileApp; the numeric variant exists because BOOLEAN is not a valid SQL type and is called by oracle.apps.ap.oie.utility.OIEUtil. Version is derived from FND_RESPONSIBILITY, with exceptions routed through FND_MESSAGE and APP_EXCEPTION.
- LOGEXCEPTION, LOGEVENT, LOGPROCEDURE, LOGSTATEMENT — Structured logging and debug tracing used throughout the AP Web codebase.
- ADDEXPERROR / ADDEXPERRORNOTENCODED / DISPLAYEXCEPTION — Accumulate and present error text to the user, using the package constants C_OpenDelimit and C_CloseDelimit to delimit individual error fields and messages.
- GETEMPLOYEEINFO — Retrieve employee attributes for the current expense user.
- MAKEARRAY — Build PL/SQL arrays used by the OIE UI layer.
- MONEYFORMAT / MONEYFORMAT2 — Format monetary amounts consistently for display in expense and receipt pages.
- SETRECEIPTWARNINGERRORMESSAGE — Populate the warning shown when receipt entry rules are not satisfied (e.g., minimum calendar days, C_NumOfMinDaysInCal).
- JUSTIFFLAGELEMENT / RETRIEVEJUSTIFFLAG / RETRIEVEJUSTIFFLAGINDEX — Manage justification text attached to policy-violation flags.
- CURRENCYINFO / RETRIEVECURRENCYINDEX / POPULATECURRENCYARRAY — Resolve currency details and populate currency arrays for selection lists and conversion display.
- Credit card enablement — A function (isCreditCardEnabled) returns whether a given employee has the credit card feature enabled.
- Flexfield helpers — Constants C_InputObjectPrefix ('FLEX') and C_InputPseudoObjectPrefix ('PFLEX') support descriptive flexfield and pseudo-flexfield input object naming.
Tables Accessed
- AP_EXPENSE_REPORT_HEADERS_ALL, AP_EXPENSE_REPORT_LINES_ALL, AP_EXPENSE_REPORT_LINES — Expense report and line validation, totals, and formatting.
- AP_INVOICES_ALL, AP_PAYMENT_SCHEDULES_ALL — Invoice and payment schedule context for credit card and expense invoice processing.
- AP_POL_VIOLATIONS_ALL — Source of policy violations for justification flag handling.
- AP_AUD_AUDITORS, AP_AUD_QUEUES, AP_AUD_RULE_ASSIGNMENTS_ALL, AP_AUD_RULE_SETS — Payables audit rule infrastructure used in approval/audit checks.
- AP_WEB_PREFERENCES — User-level Internet Expenses preferences.
- FND_RESPONSIBILITY, FND_USER — Responsibility version (mobile vs. web) and user identity.
- FND_CURRENCIES — Currency code, precision, and conversion metadata.
- FND_ATTACHED_DOCUMENTS — Receipt and attachment associations for expense lines.
Usage Notes
AP_WEB_UTILITIES_PKG is an internal utility layer rather than a public business API. It is invoked primarily by the Oracle Internet Expenses OA Framework (OIE) pages, by the mobile OIE utility class OIEUtil through GETISMOBILEAPP, and by the 36 dependent packages identified in ETRM. Customizations that touch OIE expense entry, receipt validation, policy violation justification, or currency display commonly call the MONEYFORMAT, CURRENCYINFO, JUSTIFFLAGELEMENT, and logging routines. Because the mobile detection result is cached in the package global GIsMobileApp, the state persists for the duration of the session; callers should not assume re-evaluation of responsibility version within the same database session. Error handling consistently uses FND_MESSAGE with the SQLAP application and APP_EXCEPTION.RAISE_EXCEPTION, so callers should expect standard EBS error-stack behavior. Direct modification of the package body is not supported; extensions should be implemented in custom packages that call these documented utilities. Regarding the user's query on "NOI code size limits," no source line, procedure, or constraint in this package imposes or documents an NOI (Notification of Invoice / expense-related notification) code-length limit; any such restriction originates outside this package and should be confirmed against the specific form, DFF, or interface that consumes the code.
-
PACKAGE BODY: APPS.AP_WEB_UTILITIES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_UTILITIES_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_UTILITIES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_UTILITIES_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_UTILITIES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_UTILITIES_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_UTILITIES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_UTILITIES_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_DB_COUNTRY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_DB_COUNTRY_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_AUDIT_QUEUE_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_AUDIT_QUEUE_UTILS, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_OA_PREFERENCES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_OA_PREFERENCES_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_OA_DETAIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_OA_DETAIL_PKG, status:VALID,
-
SYNONYM: APPS.AP_AUD_QUEUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_AUD_QUEUES, status:VALID,
-
SYNONYM: APPS.AP_AUD_RULE_SETS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_AUD_RULE_SETS, status:VALID,
-
PACKAGE: APPS.AP_WEB_WRAPPER_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_WRAPPER_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_CUST_DFLEX_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_CUST_DFLEX_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_CUST_DFLEX_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_CUST_DFLEX_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_DB_COUNTRY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_DB_COUNTRY_PKG, status:VALID,
-
SYNONYM: APPS.AP_WEB_PREFERENCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_WEB_PREFERENCES, status:VALID,
-
SYNONYM: APPS.AP_WEB_PREFERENCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_WEB_PREFERENCES, status:VALID,
-
SYNONYM: APPS.AP_AUD_AUDITORS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_AUD_AUDITORS, status:VALID,
-
PACKAGE: APPS.AP_WEB_WRAPPER_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_WRAPPER_PKG, status:VALID,
-
TRIGGER: APPS.OIE_UPDATE_EXP_STATUS
12.2.2
owner:APPS, object_type:TRIGGER, object_name:OIE_UPDATE_EXP_STATUS, status:VALID,
-
SYNONYM: APPS.AP_AUD_RULE_ASSIGNMENTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_AUD_RULE_ASSIGNMENTS_ALL, status:VALID,
-
PACKAGE: APPS.AP_WEB_VALIDATE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_VALIDATE_UTIL, status:VALID,
-
TRIGGER: APPS.AP_SSE_NOTIFY_EMPLOYEE
12.2.2
owner:APPS, object_type:TRIGGER, object_name:AP_SSE_NOTIFY_EMPLOYEE, status:VALID,
-
PACKAGE: APPS.AP_WEB_DISC_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_DISC_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_INFRASTRUCTURE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_INFRASTRUCTURE_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_DISC_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_DISC_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_INFRASTRUCTURE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_INFRASTRUCTURE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_EXPORT_WF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_EXPORT_WF, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_OA_PREFERENCES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_OA_PREFERENCES_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_OA_DETAIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_OA_DETAIL_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_RECEIPTS_WF
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_RECEIPTS_WF, status:VALID,
-
PACKAGE: APPS.AP_WEB_DB_CCARD_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_DB_CCARD_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_VALIDATE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_VALIDATE_UTIL, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_AUDIT_QUEUE_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_AUDIT_QUEUE_UTILS, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_DB_EXPDIST_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_DB_EXPDIST_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_AUDIT_QUEUE_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_AUDIT_QUEUE_UTILS, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_DB_EXPTEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_DB_EXPTEMPLATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_EXPORT_WF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_EXPORT_WF, status:VALID,
-
PACKAGE: APPS.AP_WEB_PARENT_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_PARENT_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_ACCTG_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_ACCTG_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_INFRASTRUCTURE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_INFRASTRUCTURE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_DB_EXPDIST_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_DB_EXPDIST_PKG, status:VALID,
-
TRIGGER: APPS.AP_SSE_NOTIFY_EMPLOYEE
12.1.1
owner:APPS, object_type:TRIGGER, object_name:AP_SSE_NOTIFY_EMPLOYEE, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_PROJECT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_PROJECT_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_CUST_AME_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_CUST_AME_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_PARENT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_PARENT_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_CUST_DFLEX_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_CUST_DFLEX_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_DB_CCARD_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_DB_CCARD_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_ACCTG_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_ACCTG_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_RECEIPT_MANAGEMENT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_RECEIPT_MANAGEMENT_UTIL, status:VALID,
-
SYNONYM: APPS.AP_POL_VIOLATIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_POL_VIOLATIONS_ALL, status:VALID,