Results for “cp_bucket4_name”
4 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.AP_APXCCOUT_XMLP_PKG is the PL/SQL package that backs the Oracle Payables credit card expense report audit reporting concurrent program. It supports the "Credit Card Expenditure Audit" style XML Publisher report, which gives controllers, expense auditors, and card program administrators a consolidated view of outstanding, pending, and disputed corporate card transactions at the employee and supervisor level. The package declares package-level variables for the concurrent request ID, reporting dates, card program, precision, and amount thresholds, and it accumulates status counters such as unsubmitted, rejected, withdrawn, saved, returned, resolution, invoiced, error, employee-approved, manager-unapproved, AP-unapproved, and disputed. These counters, together with aging buckets and the masked card number, drive the report's summary sections. The unit is compiled AUTHID CURRENT_USER and executes against APPS synonyms in the Oracle E-Business Suite 12.1.1 and 12.2.2 environments.
Key Procedures and Functions
The package exposes 95 documented procedures and functions. Core control points include BEFOREREPORT and AFTERREPORT, which manage initialization of bind variables and any post-processing, and GETNLSSTRINGS, which loads translated strings. A set of "CF_" formula functions supplies XML Publisher report fields: CF_REPORT_NUMFORMULA, CF_STATUSFORMULA, CF_CP_CURRENCY_CODEFORMULA, and CF_EMP_CURRENCY_CODEFORMULA resolve reporting/status text and currency codes; CF_SUPERVISOR_NAMEFORMULA, CF_EMP_NAME_SUMMFORMULA, CF_AGING_BUCKETSFORMULA, CF_AGING_SUP_NAMEFORMULA, CF_AGE_AMP_NAMEFORMULA, and CF_AGE_SUP_PEND_BUCKLET1FORMULA build supervisor and employee names and aging-bucket labels. Other helper functions return descriptive values for the report header and body, including GETCOMPANYNAME, GETBASECURRDATA, and GETCARDPROGRAMNAME. Processing routines such as SENDUNSUBMITTED, SENDMGRUNAPPROVED, and SENDDISPUTED generate notifications for specific exception populations. Pending amount logic is handled by CF_PENDING_AMOUNTSFORMULA. The "CF_" prefix identifies these as calculation formulas invoked directly from the XML report definition.
Tables Accessed
The package reads and writes through APPS synonyms. Card and card program data come from AP_CARDS, AP_CARDS_ALL, AP_CARD_PROGRAMS, and AP_CARD_PROGRAMS_ALL. Transaction detail is sourced from AP_CREDIT_CARD_TRXNS. Expense reporting data is read from AP_EXPENSE_REPORT_HEADERS, AP_EXPENSE_REPORT_HEADERS_ALL, and AP_EXPENSE_REPORT_LINES. Setup and system-level parameters are taken from AP_SYSTEM_PARAMETERS. Notification sequencing uses AP_CCARD_NOTIFICATION_ID_S, and employee assignment status validation draws on PER_ASSIGNMENT_STATUS_TYPES. These objects supply the amounts, statuses, dates, and organizational context rendered by the report.
Usage Notes
AP_APXCCOUT_XMLP_PKG is invoked when the associated Payables concurrent program is submitted, with XML Publisher calling the CF_ formula functions to populate report output. The P_CONC_REQUEST_ID parameter confirms concurrent program integration during BEFOREREPORT. The package is not referenced by other packages, indicating it is a standalone report back end rather than a shared API. Custom code should call it only within the standard reporting flow, since its variables and counters are populated in report sequence. Because the package executes AUTHID CURRENT_USER, callers require appropriate APPS privileges on the referenced tables. The header comment ("$Header: APXCCOUT_SUMMARYS.pls 120.0") shows the file was last updated in 2007, so functionality is stable across 12.1.1 and 12.2.2.