Search Results delete_object_status
Overview
PAY_BATCH_OBJECT_STATUS_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite, classified under the ETRM taxonomy as an "OTHER" API rather than a public, concurrency-controlled business API. Its business purpose is to centralize and standardize the management of status information for objects that participate in batch processing within the Oracle Payroll module. Payroll batch operations—such as payroll runs, prepayments, costing, and other batch-level processing activities—require each participating object to carry a well-defined lifecycle status. This package provides the read, validation, locking, update, and cleanup primitives that other Payroll code uses to inspect and transition those statuses consistently, rather than manipulating the underlying status table directly.
The package is a low-level, internal utility layer. It does not expose a public interface intended for customer extension; instead it is consumed by other product code (referenced by six other packages within EBS) to enforce uniform status semantics across batch objects.
Key Procedures and Functions
The package exposes six documented program units, each addressing a distinct facet of status handling:
- GET_STATUS — Returns the current status code of a specified object, identified by its object type and object ID.
- GET_STATUS_MEANING — Returns the human-readable meaning (description) corresponding to the status of the specified object. It accepts an optional default status value, allowing the caller to obtain a meaningful label even when no explicit status record exists for the object. This is the routine most directly associated with the user's search term.
- LOCK_BATCH_OBJECT — Locks the object status record to serialize concurrent access. If an object status is supplied, the routine verifies that the stored status is still current; if the batch object does not yet exist, a caller-supplied default status is applied instead.
- CHK_COMPLETE_STATUS — Locks the object record and evaluates whether its status represents a complete state, typically used to guard against re-processing or premature advancement.
- SET_STATUS — Sets (or updates) the object's status, providing the controlled write path for status transitions.
- DELETE_OBJECT_STATUS — Removes the status record for an object, supporting cleanup when an object is no longer relevant to batch processing.
Tables Accessed
The package operates against two tables referenced through APPS synonyms:
- PAY_BATCH_OBJECT_STATUS — The primary persistence table. It holds the status code and related attributes for each tracked batch object, keyed by object type and object ID. The GET_STATUS, GET_STATUS_MEANING, LOCK_BATCH_OBJECT, CHK_COMPLETE_STATUS, SET_STATUS, and DELETE_OBJECT_STATUS routines all read from or write to this table.
- PAY_PAYROLL_ACTIONS — The Payroll action table, which provides the context in which payroll-related batch objects are processed and validated, and against which object types and related identifiers are resolved.
Usage Notes
PAY_BATCH_OBJECT_STATUS_PKG is an internal dependency rather than a direct end-user entry point. It is typically invoked from Oracle Payroll forms, from concurrent programs that drive batch processing, and from other Payroll PL/SQL packages (six documented dependents) that need to interrogate or advance the status of a batch object. Custom code that must replicate Payroll's status behavior should call GET_STATUS_MEANING and its siblings rather than querying PAY_BATCH_OBJECT_STATUS directly, because the routines encapsulate defaulting logic (such as the p_default_status fallback) and record locking that direct SQL would bypass. Callers should always obtain a lock via LOCK_BATCH_OBJECT or CHK_COMPLETE_STATUS before performing a status transition, and should treat the package as an unsupported, version-sensitive internal API in both 12.1.1 and 12.2.2.
-
APPS.PAY_BATCH_OBJECT_STATUS_PKG SQL Statements
12.1.1
-
APPS.PAY_BATCH_OBJECT_STATUS_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.PAY_BATCH_OBJECT_STATUS_PKG
12.1.1
-
PACKAGE: APPS.PAY_BATCH_OBJECT_STATUS_PKG
12.2.2
-
PACKAGE BODY: APPS.PAY_BATCH_OBJECT_STATUS_PKG
12.1.1
-
PACKAGE BODY: APPS.PAY_BATCH_OBJECT_STATUS_PKG
12.2.2
-
APPS.PAY_BATCH_OBJECT_STATUS_PKG dependencies on PAY_BATCH_OBJECT_STATUS_PKG
12.1.1
-
APPS.PAY_BATCH_OBJECT_STATUS_PKG dependencies on PAY_BATCH_OBJECT_STATUS_PKG
12.2.2
-
APPS.PAY_BATCH_OBJECT_STATUS_PKG dependencies on PAY_BATCH_OBJECT_STATUS
12.1.1
-
APPS.PAY_BATCH_OBJECT_STATUS_PKG dependencies on PAY_BATCH_OBJECT_STATUS
12.2.2