Search Results p_assignment_set




Overview

PAY_PYCAROEP_XMLP_PKG is an Oracle E-Business Suite PL/SQL package body owned by APPS and classified under the OTHER API category. It is the concurrent program library backing the Canadian Record of Employment (ROE) XML Publisher report (PYCAROEP). The package is responsible for supplying runtime parameters, derived labels, and formatted values to the XML Publisher template at the moment the concurrent request executes. Its header comment dates the source to December 2007, consistent with the release 12.0/12.1 code line carried forward into 12.2.2.

The package operates entirely as a report trigger library. It reads concurrent program parameters such as employee, assignment set, selection type, effective date, and payroll period, resolves them into readable descriptions, and publishes those values through global package variables consumed by the report layout. It performs no transactional DML.

Key Procedures and Functions

The p_assignment_set parameter is central to this package. In BEFOREREPORT it is canonicalized with FND_NUMBER.CANONICAL_TO_NUMBER and passed to the csr_get_asg_set cursor, which selects assignment_set_name from HR_ASSIGNMENT_SETS. The resulting name is stored in l_asg_set and exposed as CP_assignment_set_name.

Tables Accessed

  • HR_ASSIGNMENT_SETS — Read to translate the p_assignment_set identifier into a display name.
  • PER_ALL_PEOPLE_F — Read to obtain the full name of the person identified by the P_PERSON_ID parameter.
  • PER_TIME_PERIOD_TYPES_TL — Read to resolve translated pay period type descriptions for the ROE layout.

The package also reads PAY_ACTION_PARAMETERS for the TRACE setting and HR_LOOKUPS for the PAY_CA_ROE_SELECTION_TYPE meaning, and calls the HR_REPORTS utility to fetch the business group name. All access is read-only.

Usage Notes

The package is invoked exclusively by the concurrent manager when the Canadian ROE XML Publisher program is submitted. It is not referenced by any other package, confirming its role as a terminal report library. Parameters supplied by the user on the concurrent program parameter form drive the cursor logic; the assignment set parameter must resolve to a valid HR_ASSIGNMENT_SETS row or the display name global remains null. Customizations should avoid modifying this shipped package directly and instead use a copy, since the source is protected by the standard Oracle support policy.