Results for “chk_val”
10 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
BEN_EXT_ADV_CT_CHECK is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite, classified as a component of the Oracle Advanced Benefits (OAB) extract engine. Its stated purpose in the source header is "Extract Advanced Conditions," and the package forms part of the runtime evaluation layer used when the Benefits extract process determines whether a given record or data element should be included in or excluded from an extract output file. The header carries an explicit governance warning that the package "can not be edited without permission from the Extract Owner," indicating that its logic is tightly coupled to the extract framework and is not intended for customer modification. The source file identifier is benxadct.pkb, and the package was created on 25-APR-2006 at version 115.0 by user tjesumic. All three documented procedures are declared with the same fixed structure visible in the excerpt: each initializes a local procedure-name variable prefixed by the package-level constant g_package, then brackets its body with hr_utility.set_location calls for entry and exit tracing.
Key Procedures and Functions
- RCD_IN_FILE — The procedure named in the user's search. It accepts an extract record-in-file identifier and a spread code, and returns an exclude flag indicating whether the identified record should be excluded from the extract file. Its role is to apply the "advanced condition" logic that governs record-level inclusion for the extract being run.
- DATA_ELMT_IN_RCD — Accepts an extract record identifier and returns an exclude flag. This routine evaluates advanced conditions at the data-element level, determining whether a specific data element within a record passes the configured criteria for the extract.
- CHK_VAL — Accepts an extract where-clause identifier, an operator code, a value, and an effective date. This is the value-comparison primitive used to evaluate the configured condition expressions, resolving the operator and operand against the effective date supplied by the calling extract process.
No standalone functions are documented in this package; all three documented units are procedures.
Tables Accessed
The ETRM metadata records no directly referenced tables for this package body. This is consistent with the excerpt, in which the procedure bodies are shown only with their tracing instrumentation and no DML statements. Any table access performed by the substantive extract-condition logic is therefore either not captured at the granularity documented or occurs through additional objects outside the metadata extract. In the broader OAB extract model, this package family operates against the BEN extract criteria and condition configuration entities rather than maintaining its own persistent data.
Usage Notes
BEN_EXT_ADV_CT_CHECK is not a user-facing API. It is invoked internally by the Benefits extract engine when advanced conditions are configured on an extract definition, and the metadata notes that it is referenced by two other packages in the APPS schema. It should not be called directly from custom code, as its contract depends on the extract framework supplying correctly resolved record, record-in-file, and where-clause identifiers alongside a valid effective date. The hr_utility tracing calls emit entry and exit messages under the ' ben_ext_adv_ct_check.' prefix, which is useful when diagnosing extract execution in a development or test environment. Customization of this package is explicitly prohibited, and behavior is expected to be identical across EBS 12.1.1 and 12.2.2 since the underlying source carries no version-specific branching in the documented sections.