Search Results hxc_timecard_block_utils




Overview

HXC_TIMECARD_BLOCK_UTILS is a PL/SQL package body owned by the APPS schema that provides the internal processing engine for Oracle E-Business Suite timecard building blocks. In Oracle Time and Labor (OTL), a timecard is not stored as a flat record but is assembled from a hierarchy of building blocks — day blocks, detail blocks, parent blocks, and date-driven blocks — each carrying attributes that define how the timecard is displayed and validated in the self-service timecard forms. HXC_TIMECARD_BLOCK_UTILS supplies the utility layer that constructs, compares, classifies, and persists these blocks during a timecard save, deposit, or retrieval operation.

The package is classified as OTHER in the ETRM API registry and carries a VALID status. It is not exposed as a published open interface; rather, it functions as a shared internal utility invoked by other OTL components. The ETRM dependency listing shows that it is not referenced by any database object at the schema level, yet the documented metadata notes it is referenced by eighteen other packages, confirming that its callers are other PL/SQL units rather than triggers, views, or forms directly. Its primary consumers include HXC_SELF_SERVICE_TIME_DEPOSIT and HXC_BLOCK_ATTRIBUTE_UPDATE.

Key Procedures and Functions

The package documents twenty-one procedures and functions. They fall into four functional groups:

Tables Accessed

Two tables are referenced through APPS synonyms. HXC_TIME_BUILDING_BLOCKS is the central store for timecard building block rows; the package reads and writes here to persist constructed blocks and to detect differences against stored data. PLITBLM is the standard Oracle PL/SQL table-index helper used to iterate the in-memory block collection. Additional dependencies on HXC_BLOCK_TYPE, HXC_BLOCK_TABLE_TYPE, HXC_TIMECARD, and the HXC_BLOCK_ATTRIBUTE_UPDATE package support type definitions and attribute maintenance. Utility dependencies include HR_GENERAL, HR_UTILITY, and FND_DATE for date conversion, plus the SYS STANDARD package.

Usage Notes

HXC_TIMECARD_BLOCK_UTILS is an internal utility rather than a public API and should not be called directly by custom code unless no supported alternative exists. It is typically invoked during self-service timecard save and deposit flows and during block attribute updates, indirectly through HXC_SELF_SERVICE_TIME_DEPOSIT and HXC_BLOCK_ATTRIBUTE_UPDATE. Customizations requiring behavior changes should prefer the documented OTL public APIs; direct extension of this package risks breaking the eighteen dependent packages and the block lifecycle. All objects reside in the APPS schema at 12.1.1 and 12.2.2.