Search Results post_results




Overview

BEN_PROC_COMMON_ENRT_RSLT is a PL/SQL package in the Oracle E-Business Suite Advanced Benefits (BEN) module that implements the Common Enrollment Results Process. Its central role is to take the enrollment decisions recorded for participants and translate them into the derived result structures that downstream Benefits functionality depends upon — specifically, the enrollment result and rate records stored in BEN_PRTT_ENRT_RSLT_F and BEN_PRTT_RT_VAL. In practical terms, the package is the engine that "writes back" the outcome of an enrollment or election event once it has been validated and accepted, so that plan and option coverages, rates, and election timestamps are consistent across the system.

The package dates back to the original Benefits release (the first header entry is dated 1998) and has been maintained continuously. Its header history shows incremental enhancement rather than redesign: added parameters for program and plan context, self-service wrappers, a self_service_flag and later a p_called_from_ss parameter introduced for performance and to distinguish self-service from batch invocation, and a change of the effective date datatype to DATE. As of ETRM 12.2.2 the package is classified as OTHER, is owned by APPS, exposes six documented program units, and is referenced by thirteen other packages — evidence that it sits low in the Benefits call stack and is reused broadly.

Key Procedures and Functions

  • PROCESS_POST_RESULTS — The core routine, and the object users typically reach when searching "post_results." It processes the results of an enrollment or election event, writing the derived enrollment and rate results. Its documented parameter history includes person and program context, process code (proc_cd, extended later to proc_cd2 through proc_cd5), the in-LER identifier, a self-service flag, and later a p_called_from_ss flag. It is the primary entry point invoked after eligibility and election processing is complete.
  • PROCESS_POST_ENROLLMENT — Performs the post-enrollment logic that follows a participant's enrollment transaction; the history notes the addition of person_id and proc_cd parameters.
  • PROCESS_POST_ENROLLMENT_W — A wrapper around PROCESS_POST_ENROLLMENT that allows self-service Java code to invoke the business logic using VARCHAR2 'TRUE'/'FALSE' values in place of PL/SQL booleans, avoiding a Java-to-boolean impedance mismatch.
  • PROCESS_POST_ENRT_CALLS_W — A self-service wrapper for the post-enrollment call set, added for the same Java-callability reason.
  • SET_ELCN_MADE_OR_ASND_DT — Sets the election made/assigned date on the relevant records, ensuring that the timestamp of an election decision is captured as part of the results process.

Five of the six documented units are procedures; the sixth is the package specification itself declaring them.

Tables Accessed

The package touches the core Benefits fact and setup tables via APPS synonyms:

  • BEN_PER_IN_LER and BEN_PIL_ELCTBL_CHC_POPL — the per-person learning/eligibility records and their electable choice populations, which define what a participant was eligible to elect.
  • BEN_ELIG_PER_ELCTBL_CHC — eligible electable choices per person, supplying the election options being processed.
  • BEN_ENRT_PERD — the enrollment period, providing the effective-dating context (and the datatype change noted in the header relates here).
  • BEN_ENRT_BNFT and BEN_ENRT_RT — enrollment benefit and rate records that drive what results must be produced.
  • BEN_PL_F — the plan definition, used to resolve plan-level attributes during result generation.
  • BEN_PRTT_ENRT_RSLT_F and BEN_PRTT_RT_VAL — the participant enrollment result and rate value tables, which are the primary write targets of the results process.

Usage Notes

BEN_PROC_COMMON_ENRT_RSLT is not normally called directly by end users. It is invoked: (a) by the Benefits forms when a participant's enrollment or election is saved and the post-processing must be applied; (b) by concurrent programs and batch enrollment/eligibility processes that run results generation across populations; and (c) by self-service (iManage/Employee Self-Service) Java code through the _W wrapper procedures. Because it is referenced by thirteen other packages, customizations should treat it as a shared dependency: changes to its behavior propagate widely. Custom code invoking PROCESS_POST_RESULTS should pass the self-service indicator appropriately so the performance-sensitive path is selected, and should respect effective-dating semantics given that effective dates are typed as DATE. The existence of the VARCHAR2 wrappers means Java-side callers should use the _W variants rather than the boolean-based procedures.