Search Results psp_pspenasg_xmlp_pkg
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.
-
PACKAGE BODY: APPS.PSP_PSPENASG_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PSP_PSPENASG_XMLP_PKG, status:VALID,
-
PACKAGE: APPS.PSP_PSPENASG_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PSP_PSPENASG_XMLP_PKG, status:VALID,
-
PACKAGE: APPS.PSP_PSPENASG_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PSP_PSPENASG_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.PSP_PSPENASG_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PSP_PSPENASG_XMLP_PKG, status:VALID,
-
PACKAGE: APPS.PSP_PSPENASG_XMLP_PKG
12.1.1
-
PACKAGE: APPS.PSP_PSPENASG_XMLP_PKG
12.2.2
-
SYNONYM: APPS.PSP_ENC_CHANGED_SCH_HISTORY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PSP_ENC_CHANGED_SCH_HISTORY, status:VALID,
-
SYNONYM: APPS.PSP_ENC_CHANGED_SCH_HISTORY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PSP_ENC_CHANGED_SCH_HISTORY, status:VALID,
-
SYNONYM: APPS.PSP_DEFAULT_LABOR_SCHEDULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PSP_DEFAULT_LABOR_SCHEDULES, status:VALID,
-
SYNONYM: APPS.PSP_ENC_END_DATES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PSP_ENC_END_DATES, status:VALID,
-
SYNONYM: APPS.PSP_ELEMENT_TYPE_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PSP_ELEMENT_TYPE_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.PSP_ENC_END_DATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PSP_ENC_END_DATES, status:VALID,
-
SYNONYM: APPS.PSP_ENC_LINES_HISTORY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PSP_ENC_LINES_HISTORY, status:VALID,
-
SYNONYM: APPS.PSP_ENC_LINES_HISTORY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PSP_ENC_LINES_HISTORY, status:VALID,
-
SYNONYM: APPS.PSP_ELEMENT_TYPE_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PSP_ELEMENT_TYPE_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.PSP_DEFAULT_LABOR_SCHEDULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PSP_DEFAULT_LABOR_SCHEDULES, status:VALID,
-
SYNONYM: APPS.PSP_ORGANIZATION_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PSP_ORGANIZATION_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.PSP_ORGANIZATION_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PSP_ORGANIZATION_ACCOUNTS, status:VALID,
-
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
-
PACKAGE BODY: APPS.PSP_PSPENASG_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PSP_PSPENASG_XMLP_PKG
12.1.1
-
APPS.PSP_PSPENASG_XMLP_PKG dependencies on PSP_PSPENASG_XMLP_PKG
12.2.2
-
APPS.PSP_PSPENASG_XMLP_PKG dependencies on PSP_PSPENASG_XMLP_PKG
12.1.1
-
SYNONYM: APPS.PAY_ELEMENT_TYPES_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_TYPES_F, status:VALID,
-
VIEW: APPS.HR_ORGANIZATION_UNITS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ORGANIZATION_UNITS, object_name:HR_ORGANIZATION_UNITS, status:VALID,
-
VIEW: APPS.HR_ORGANIZATION_UNITS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ORGANIZATION_UNITS, object_name:HR_ORGANIZATION_UNITS, status:VALID,
-
SYNONYM: APPS.PAY_ELEMENT_TYPES_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_TYPES_F, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS, status:VALID,
-
VIEW: APPS.FND_LOOKUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUPS, object_name:FND_LOOKUPS, status:VALID,
-
VIEW: APPS.FND_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_LOOKUPS, object_name:FND_LOOKUPS, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS, status:VALID,
-
SYNONYM: APPS.PER_ALL_ASSIGNMENTS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_ALL_ASSIGNMENTS_F, status:VALID,
-
SYNONYM: APPS.PER_ALL_ASSIGNMENTS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_ALL_ASSIGNMENTS_F, status:VALID,
-
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 - FND Tables and Views
12.1.1
description: No longer used ,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,