Search Results pa_debug_mode
Overview
APPS.PA_BILLING_PROCESS_PKG is a server-side PL/SQL package body within the Oracle E-Business Suite Projects (PA) application. It supports the revenue adjustment and billing generation cycle by identifying eligible contract projects, their tasks, and their associated revenue and funding records, then processing them so that draft revenue and billing distributions are created or adjusted correctly. The package is classified under ETRM as an "OTHER" API, meaning it is primarily an internal engine rather than a public, supported interface. Its header version (120.0.12010000.1) confirms it is a core billing-process component shipped with EBS 12.1.1 and carried forward into 12.2.2.
A distinctive feature is its use of the global pa_debug_mode variable. When this variable is set to 'Y', the package emits trace messages through PA_MCB_INVOICE_PKG.log_message, allowing implementers and support analysts to follow execution flow during revenue adjustment runs. This is the mechanism most commonly associated with the user search term "pa_debug_mode".
Key Procedures and Functions
The ETRM metadata documents a single procedure:
- PA_PROCESS_REV_ADJ — The main driver of the package. It accepts parameters covering a single project ID, a project number range (from/to), a mass-generation flag, and an accounting-through date. Internally it converts the mass-generation flag into a 'N'/'E' mode value, defaults the accounting-through date to SYSDATE when null, and honors
pa_debug_modefor logging.
The procedure declares several cursors that define its working set: cproj selects contract-classified projects within the supplied number range (or the single project); ctask selects chargeable tasks whose top task is ready to distribute; cspf checks for baselined revenue-processing amounts in PA_SUMMARY_PROJECT_FUNDINGS; and cdri identifies unreleased draft revenues. Together these cursors determine which projects qualify for revenue adjustment processing and iteration.
Tables Accessed
The package reads and writes the following documented tables (via APPS synonyms):
- PA_PROJECTS / PA_PROJECTS_ALL / PA_PROJECT_TYPES — drive project selection and contract classification.
- PA_TASKS — determines task-level chargeability and distribution readiness.
- PA_SUMMARY_PROJECT_FUNDINGS — validates baselined funding amounts (index hint PA_SUMMARY_PROJECT_FUNDINGS_U1).
- PA_DRAFT_REVENUES — checks for unreleased, error-flagged draft revenue rows.
- PA_BILLING_ASSIGNMENTS, PA_BILLING_EXTENSIONS — supply billing rules and extension logic.
- PA_CUST_REV_DIST_LINES, PA_CUST_EVENT_REV_DIST_LINES — receive/generate customer revenue distribution lines.
- PA_EVENTS / PA_EXPENDITURE_ITEMS / PA_EXPENDITURE_ITEMS_ALL — provide event and expenditure basis for revenue calculations.
- DUAL — standard single-row utility queries.
Usage Notes
PA_BILLING_PROCESS_PKG is invoked indirectly during billing and revenue adjustment workflows—typically triggered by the Generate Draft Revenue concurrent program or by forms and concurrent processes that call the billing process engine internally. It is not intended for direct customer invocation and is referenced by no other documented packages. Custom code should avoid calling PA_PROCESS_REV_ADJ directly; instead, use supported public APIs. When diagnosing behavior, setting the session/profile value behind pa_debug_mode to 'Y' activates the embedded log_message trace statements, which is the standard means of gathering diagnostic output from this package across both 12.1.1 and 12.2.2.
-
PACKAGE BODY: APPS.PA_BILLING_PROCESS_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_BILLING_PROCESS_PKG
12.2.2
-
PACKAGE: APPS.PA_BILLING_PROCESS_PKG
12.1.1
-
PACKAGE: APPS.PA_BILLING_PROCESS_PKG
12.2.2
-
APPS.PA_PROJECT_SETS_PKG SQL Statements
12.1.1
-
APPS.PA_PROJECT_SETS_PKG SQL Statements
12.2.2
-
APPS.PA_ROLE_PROFILES_PKG SQL Statements
12.2.2
-
APPS.PA_ROLE_PROFILES_PKG SQL Statements
12.1.1
-
PACKAGE: APPS.PA_ASSET_REVERSAL_PVT
12.2.2
-
PACKAGE: APPS.PA_ASSET_REVERSAL_PVT
12.1.1
-
PACKAGE BODY: APPS.PA_LABOR_SCH_RULE_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_PROJECT_SETS_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_PAUPGRRL_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_PROJECT_SETS_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_PAUPGRRL_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_PROJECT_SETS_PVT
12.2.2
-
PACKAGE BODY: APPS.PA_ROLE_PROFILES_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_LABOR_SCH_RULE_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_PROJECT_SETS_PVT
12.1.1
-
PACKAGE BODY: APPS.PA_ROLE_PROFILES_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_WORKFLOW_UTILS
12.1.1
-
PACKAGE BODY: APPS.PA_CI_SUPPLIER_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_PARGCALG_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_WORKFLOW_UTILS
12.2.2
-
PACKAGE BODY: APPS.PA_PARGCALG_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_ROLE_PROFILES_UTILS
12.2.2
-
PACKAGE BODY: APPS.PA_PAXAASRP_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_PAXCCARS_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_FCK_UTIL
12.1.1
-
PACKAGE BODY: APPS.PA_ROLE_PROFILES_UTILS
12.1.1
-
PACKAGE BODY: APPS.PA_PAXAASRP_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_FCK_UTIL
12.2.2
-
PACKAGE BODY: APPS.PA_PAXCCARS_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_PROJECT_SET_UTILS
12.1.1
-
PACKAGE BODY: APPS.PA_PAXSMPRD_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_PAXSMPRD_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_PAXRWETP_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_PROJECT_SET_UTILS
12.2.2
-
PACKAGE BODY: APPS.PA_PAXAASVL_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.PJI_CURR_REP_PERIODS_UTIL
12.2.2
-
PACKAGE BODY: APPS.PA_PAXAASVL_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PJI_CURR_REP_PERIODS_UTIL
12.1.1
-
PACKAGE BODY: APPS.PA_PAXRWETP_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_ACTION_SET_LINE_COND_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_ACTION_SET_LINE_COND_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_PAXAGAST_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_AP_VAL_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_PAXAGAST_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_PAXAARUL_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_PAXAAFTP_XMLP_PKG
12.1.1