Search Results chk_status




Overview

APPS.HR_ABM_BUS is a business-rule (BUS) package body belonging to the Oracle Human Resources module of Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2. Its name derives from the HR "ABM" object family, an internal table handler used to manage application data with associated batch-run tracking. Consistent with Oracle's developer-standard naming conventions, the package encapsulates server-side validation logic that supports a corresponding table handler, allowing the underlying database table to be maintained through a controlled, reusable API rather than direct Data Manipulation Language (DML).

The primary role of the package is to enforce mandatory-argument checks and record-status validation during row insertion. It exposes a chk_status-related validation path (documented indirectly through its internal validation procedures) that guards the integrity of the row before it is committed. The package is classified as API type OTHER in the ETRM (E-Business Suite Technical Reference Manual) documentation, indicating that while it is a callable server-side unit, it is not one of the primary HRMS public APIs such as hr_employee_api.

Key Procedures and Functions

The ETRM metadata documents a single public procedure for this package: INSERT_VALIDATE. This procedure forms the entry point for validating a row prior to insertion and is the counterpart to logic performed by the associated table handler.

  • INSERT_VALIDATE: Performs the pre-insert validation checks for the ABM entity. Internally it invokes the private validation routines executed on insert. In the excerpt provided, the private procedure chk_batch_run_number is shown, which validates that the mandatory batch_run_number argument is not null, raising an application error via hr_api.mandatory_arg_error if the check fails. A companion private routine, chk_api_name, validates the API identifier returned to the calling program. These checks correspond to the "chk_status" concept referenced by the search term, since status and mandatory-argument validation together determine whether a row is eligible for insertion.

All internal (private) procedures are marked "Internal Table Handler Use Only," signifying that they are not intended to be invoked directly by external code.

Tables Accessed

The ETRM metadata does not list any tables referenced directly via APPS synonyms for this package body. Validation routines such as chk_batch_run_number operate on bind/in parameters passed by the caller rather than querying a table within the package itself. Any physical table access is deferred to the associated table handler, which the BUS package supports. Because the excerpt provided does not enumerate a specific base table, the precise table name cannot be stated from the documentation alone.

Usage Notes

HR_ABM_BUS is an internal HR table handler utility. As such it is not typically invoked by end users. Typical invocation patterns include:

  • Forms: Oracle Forms may call the associated table handler, which in turn relies on this package's validation logic during row processing.
  • Concurrent Programs/APIs: Standard HR concurrent processes or public APIs that create ABM records route their insert validation through this package.
  • Custom Code: Custom PL/SQL should, where possible, prefer public HR APIs over direct calls to this package, since its procedures are designated "Internal Table Handler Use Only." Customizations that require the same validation should replicate the mandatory-argument and status checks or call the parent table handler API instead.

Because the package is referenced by one other package, changes to it can have a ripple effect on dependent HRMS components. Implementers should treat HR_ABM_BUS as part of the private HRMS implementation layer and avoid direct dependencies where a supported public API exists.