Results for “psp_pspenasg_xmlp_pkg”
44 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.PSP_PSPENASG_XMLP_PKG is a packaged PL/SQL construct owned by the APPS schema in Oracle E-Business Suite, classified as a report-oriented package body associated with the PSP (Payables/Project Supplier Portal — here specifically the Oracle Labor Distribution / Project Costing staffing assignment) module. Its name follows the standard XML Publisher concurrent program naming convention, where the suffix XMLP_PKG denotes the PL/SQL package bound to a BI Publisher (XML Publisher) report definition. The package encapsulates the data extraction and formula logic that produces the XML data source consumed by the report template.
In business terms, this package supports the reporting of employee assignment / element distribution information, correlating HR organizations, payroll element types, and default labor schedules with their associated accounting distributions. It is the programmatic backbone of a concurrent report used by payroll, cost accounting, and project accounting personnel to review how labor assignments and their charges are structured across organizations.
Key Procedures and Functions
The documented package exposes five program units, two of which are standard XML Publisher report-level triggers and three of which are formula/derivation functions:
- BEFOREREPORT — The standard BI Publisher before-report trigger. It executes once prior to data extraction, typically to initialize session context, resolve report parameters, and prepare any package-level state required by the query.
- AFTERREPORT — The standard after-report trigger, invoked once after the data set has been generated, commonly used to release resources or finalize report-level processing.
- CF_ORG_NAMEFORMULA — A formula function ("CF" indicating a computed/column formula) that derives the human-readable organization name for display, resolving the organization identifier against the HR organization structures.
- CF_ELEMENT_NAMEFORMULA — A formula function that resolves and returns the descriptive name of the payroll element type associated with a distribution line.
- CF_CHANGE_SOURCEFORMULA — A formula function that determines and formats the source of a schedule or assignment change, drawing on the change-history data. Together these three CF_ functions implement the presentation-level derivations required by the report layout that cannot be produced by a simple SQL select.
Tables Accessed
The package reads from the following documented tables (via APPS synonyms), each serving a distinct reporting purpose:
- HR_ALL_ORGANIZATION_UNITS and HR_ORGANIZATION_UNITS — source of organization names and hierarchy, feeding the organization name formula.
- PER_ALL_ASSIGNMENTS_F — the core HR assignment records whose distribution is being reported.
- PAY_ELEMENT_TYPES_F — element type definitions used to resolve element names.
- PSP_DEFAULT_LABOR_SCHEDULES — default labor schedule definitions applicable to the assignments.
- PSP_ELEMENT_TYPE_ACCOUNTS and PSP_ORGANIZATION_ACCOUNTS — the accounting flexfield mapping for element types and organizations.
- PSP_ENC_CHANGED_SCH_HISTORY, PSP_ENC_END_DATES, and PSP_ENC_LINES_HISTORY — encumbrance/schedule change and end-date history, supplying the change-source derivation.
- FND_LOOKUPS — standard lookup values for decoding coded columns.
The package references itself internally and is not referenced by any other database object, confirming it is a terminal report package rather than a shared API.
Usage Notes
PSP_PSPENASG_XMLP_PKG is invoked exclusively through its associated XML Publisher concurrent program; the XMLP_PKG suffix and the presence of BEFOREREPORT/AFTERREPORT triggers and CF_ formula functions are the definitive markers of this pattern. It is not a callable business API and should not be invoked from forms or custom PL/SQL. Because it relies on the PSP and HR/PAY tables, it must be run in an environment where the Labor Distribution (PSP) product is installed. Customizations should be limited to the report template; the package body is Oracle-owned and is overwritten by patching or upgrades in both 12.1.1 and 12.2.2.
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
VIEW: APPS.FND_LOOKUPS 12.1.1
-
VIEW: APPS.FND_LOOKUPS 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
eTRM - FND Tables and Views 12.1.1
No longer used
-
eTRM - PER Tables and Views 12.1.1
Table to store NQF Training info for a person
-
eTRM - FND Tables and Views 12.1.1
No longer used
-
eTRM - PER Tables and Views 12.1.1
Table to store NQF Training info for a person