Search Results test_path_to_perwsspp




Overview

APPS.HR_SPEC_PKG is a server-side agent package in the Oracle E-Business Suite Human Resources (HR) module. Its documented purpose is to handle all server-side traffic to and from Oracle Forms libraries. The package was created specifically to avoid a recurring architectural conflict: when a form and its attached libraries both reference the same server-side PL/SQL package, Forms can behave unpredictably. By routing all SQL and server-side logic through a single intermediary agent package, Oracle was able to make the associated client-side libraries global rather than local, eliminating the duplication that caused the problem.

The package header comment identifies it as the "HR Libraries server-side agent." The earliest revisions (1995) added ownership management routines and the startup_insert_allowed procedure to remove all SQL from the client side. Later revisions added payroll assignment checks, format conversion routines, and date-range procedures. In 12.1.1 and 12.2.2 the package remains part of the APPS schema, classified as an "OTHER" API rather than a public or private API.

Key Procedures and Functions

  • TEST_PATH_TO_PERWSSPP — Test procedure that delegates to PER_SPINAL_PT_PLCMT_PKG.test_path_to_perwsspp. It is invoked with an assignment identifier and is used to validate the code path to the placement processing logic.
  • TEST_PATH_TO_PERBECVD — Diagnostic procedure that calls into BEN_COVERED_DEPENDENTS_PKG.test_path_to_perbecvd, taking an element entry identifier. Added in September 1995 to verify reachability of covered-dependent benefit logic.
  • TEST_PATH_TO_PERBEBEN — Companion diagnostic procedure for verifying the path to benefit enrollment processing. Added alongside TEST_PATH_TO_PERBECVD.
  • CHK_ASG_ON_PAYROLL — Checks whether an assignment is associated with a payroll. The datatype of its chk_asg_on_payroll parameter was changed from %TYPE to NUMBER in 1995 as a Forms workaround; an overload was added in May 1998 under bug 620733.
  • DELETE_OWNERSHIPS and INSERT_OWNERSHIPS — Manage ownership records, moving SQL out of the client libraries. Added May 1995.
  • STARTUP_INSERT_ALLOWED — Startup helper added with the ownership routines to support global library initialization.
  • CHECKFORMAT and CHANGEFORMAT — Format validation and conversion routines added March 1996; flexible date conversion was added in April 1999.
  • PER_DATE_RANGE and ASG_DATE_RANGE — Date-range procedures added August 1997 for person-level and assignment-level date processing.

Tables Accessed

Two tables are referenced through APPS synonyms. HR_APPLICATION_OWNERSHIPS records which applications own particular HR objects and is the target of the ownership insert and delete routines. HR_OWNER_DEFINITIONS defines the valid owners themselves and is consulted when resolving ownership information. Both tables support the package's role in managing ownership metadata independently of the client-side libraries.

Usage Notes

HR_SPEC_PKG is typically invoked indirectly from Oracle Forms and their libraries rather than from end-user code. The TEST_PATH_TO_* procedures are diagnostic entry points used during development and troubleshooting to confirm that downstream benefit and placement packages are reachable. The ownership and format routines are startup and validation utilities. The package is referenced by one other documented package, and the header notes that at least one routine (chk_asg_payroll) was given an overload for backward compatibility. Custom code should not call these procedures directly; they are internal plumbing for the HR Forms stack and are considered an "OTHER" API in ETRM.