Search Results per_cn_extra_per_info_leg_hook




Overview

The APPS.PER_CN_EXTRA_PER_INFO_LEG_HOOK package is a small, specialized PL/SQL hook package within the Oracle E-Business Suite Human Resources (PER) module. Its name and public interface indicate that it functions as a legislative/country-specific hook for validating and controlling the lifecycle of person "extra information" records, specifically in a legislative context. The CN token and the term LEG (legislative) strongly suggest it belongs to a country-specific extension layer, most likely associated with a localisation derived from the "CN" (China) legislative context, that is layered on top of the base PER extra information framework. The _HOOK suffix follows Oracle's established naming convention for packages that expose extension points: the base product code calls into the hook at defined moments, allowing the localisation or customer to impose additional business rules without modifying the seeded product logic. In practical terms, the package ensures that supplementary person attributes captured in the extra information framework remain consistent with the legislative requirements that apply to the person's records before the corresponding database row is created, updated, or deleted.

Key Procedures and Functions

The package exposes a single documented procedure:

  • CHECK_EXTRA_INFORMATION_EXISTS — This procedure performs existence validation on a person extra information record. As the only entry point in the package, it is intended to be invoked during the processing of an extra information transaction to confirm that the referenced extra information record actually exists and is valid for the operation being performed. By naming the routine check_..., Oracle signals that the procedure is a validation step whose outcome determines whether the calling process may proceed. Consistent with the hook pattern, it is invoked by the base extra information processing code rather than being called directly by end users.

No functions are documented in the package specification. The documented procedure has no published implementation detail, so its internal logic—including any country-specific rule evaluation—is not exposed through the ETRM metadata.

Tables Accessed

The package references one documented table through its APPS synonym:

  • PER_PEOPLE_EXTRA_INFO — This is the core table storing user-defined and descriptive flexfield-style supplementary information attached to person records. The validation procedure reads this table to determine whether a specified person extra information record exists before the calling process continues. Because the package is a validation hook, its access is expected to be predominantly read-oriented, though Oracle does not preclude writes in the underlying implementation.

Usage Notes

This package is not typically invoked directly by end users or by standalone concurrent programs. Instead, it is called by the base PER extra information processing layer as part of an established hook invocation sequence. The ETRM metadata records that the package is referenced by one other package, confirming it is a downstream dependency in a larger call chain rather than a top-level API. Customers and implementation partners may invoke the routine from custom forms, concurrent programs, or custom PL/SQL when they must replicate the same existence validation applied by the seeded product logic. When invoking it, custom code should observe the same commit and concurrency conventions as the standard extra information APIs, since the procedure participates in the transactional flow surrounding PER_PEOPLE_EXTRA_INFO. Because the public interface consists solely of CHECK_EXTRA_INFORMATION_EXISTS, any extension of behaviour must occur through other hooks or through modification of the localisation layer, not by adding procedures to this package's documented contract.