Search Results pay_soe_util




Overview

PAY_SOE_UTIL is a utility package in the Oracle EBS Payroll (PAY) application, owned by the APPS schema and classified as a UTIL-type API. Its purpose is to support the generation and formatting of Statement of Earnings (SOE) output — the statutory and informational payroll documents produced for employees. Rather than performing payroll calculations, the package encapsulates reusable helper logic that other Payroll components invoke when they need to resolve configuration values, translate coded flexfield or lookup values into descriptive text, and prepare the data structures used to render SOE content. The package body is documented as VALID in ETRM 12.2.2 and is also present in 12.1.1.

The package is not referenced by any database object, indicating that it is a leaf-level utility rather than a shared dependency anchor. It is, however, referenced by 14 other packages, confirming that it functions as a common service layer consumed widely across the Payroll SOE processing chain.

Key Procedures and Functions

ETRM documents eight procedures and functions: SETVALUE, CLEAR, GENCURSOR, CONVERTCURSOR, GETIDFLEXVALUE, GETBANKDETAILS, and GETCONFIG.

  • SETVALUE — Establishes or assigns a value within the package's internal working state, allowing callers to prime the utility before subsequent processing.
  • CLEAR — Resets the package's cached or working values, ensuring that a new SOE processing cycle does not inherit stale state from a prior invocation.
  • GENCURSOR — Creates or opens a cursor used to retrieve SOE-relevant data sets from the underlying tables.
  • CONVERTCURSOR — Transforms a cursor's result set into the representational form required for SOE rendering, complementing GENCURSOR.
  • GETIDFLEXVALUE — Resolves a key flexfield segment value into its meaningful description, using the ID flexfield definitions and validation tables.
  • GETBANKDETAILS — Retrieves bank-related information for display on the statement, typically for direct-deposit narration.
  • GETCONFIG — Returns configuration or setup values that govern how the SOE is produced or formatted.

Parameter lists are not published in the ETRM metadata; consumers should inspect the package specification for exact signatures.

Tables Accessed

PAY_SOE_UTIL reads from several reference tables through APPS synonyms:

  • FND_FLEX_VALIDATION_TABLES — supplies the validation table definitions used when resolving flexfield values.
  • FND_ID_FLEX_SEGMENTS — provides the segment definitions required by GETIDFLEXVALUE.
  • HR_ORGANIZATION_INFORMATION — supplies organization-level attributes, such as bank or legislative details, attached to the legal employer.
  • DUAL — used for single-row evaluation and default expressions.
  • PLITBLM — the PL/SQL table type package backing internal collections used by the cursor and value-handling routines.

Package dependencies additionally include FND_PROFILE, HR_LOOKUPS, HR_UTILITY, PER_CAGR_UTILITY_PKG, and STANDARD.

Usage Notes

PAY_SOE_UTIL is an internal utility rather than an end-user entry point. It is typically invoked by the Payroll SOE generation concurrent programs and by the 14 dependent packages that assemble statement content, rather than being called directly from Oracle Forms. Custom code extending SOE output may call GETIDFLEXVALUE, GETBANKDETAILS, and GETCONFIG to reuse the same resolution logic as the standard product, but should treat SETVALUE and CLEAR as state-management calls used in a controlled sequence. Because the package holds working state, callers should invoke CLEAR between logical processing units to avoid cross-contamination of values.