Search Results irc_vce_bus




Overview

IRC_VCE_BUS is the business-layer PL/SQL package within the Oracle E-Business Suite (EBS) Oracle iRecruitment module that governs the validation and maintenance of variable compensation element definitions. The package name derives from its functional scope: IRC (iRecruitment), VCE (Variable Compensation Elements), and BUS (business logic). It sits in the APPS schema and is classified as an OTHER API within the ETRM repository, indicating that it exposes procedural business logic rather than a formally registered public API such as those conforming to the standard EBS interface table and concurrent program pattern.

In Oracle EBS 12.1.1 and 12.2.2, the package serves as the central validation and persistence layer for rows in the IRC_VARIABLE_COMP_ELEMENTS entity. It shields callers from direct row-level manipulation of the underlying tables by centralizing the logic that determines whether an insert, update, or delete operation against a variable compensation element record is legitimate given the current security context, operating unit legislation, and associated vacancy data. Because it wraps the entity-level validation rules, IRC_VCE_BUS is the object through which both the transactional table handlers and external callers should route change requests.

Key Procedures and Functions

The documented interface exposes five program units that together cover session context, reference data resolution, and the three DML validation paths:

  • SET_SECURITY_GROUP_ID — Establishes the security group identifier used throughout the package session. This determines which MOAC (Multi-Org Access Control) security context subsequent validation calls evaluate against, ensuring records are processed in the correct operating unit and responsibility scope.
  • RETURN_LEGISLATION_CODE — Returns the legislation code applicable to the current context. Legislation drives country-specific validation and formatting rules, so this function supplies the value that downstream validation logic uses to select the correct business rules.
  • INSERT_VALIDATE — Performs validation logic executed before a new variable compensation element record is inserted into IRC_VARIABLE_COMP_ELEMENTS. It confirms that the candidate row satisfies the entity's mandatory and referential constraints prior to persistence.
  • UPDATE_VALIDATE — Validates changes to an existing variable compensation element record, verifying that the modified attributes remain consistent with the entity's business rules and related vacancy definitions.
  • DELETE_VALIDATE — Confirms that a variable compensation element record may be removed without violating referential integrity or business restrictions, guarding against orphaned or in-use records.

Tables Accessed

IRC_VCE_BUS operates against two documented tables, accessed through APPS synonyms:

  • IRC_VARIABLE_COMP_ELEMENTS — The primary entity table holding variable compensation element definitions. The INSERT_VALIDATE, UPDATE_VALIDATE, and DELETE_VALIDATE routines validate operations against this table, while the package body also participates in the DML itself.
  • PER_ALL_VACANCIES — The Oracle HRMS vacancy table. It supplies the vacancy context against which compensation element records are validated, ensuring that element definitions are anchored to valid, existing vacancies before changes are committed.

The package body also references IRC_VCE_SHD, a shared helper package, together with the SYS.STANDARD built-in package.

Usage Notes

IRC_VCE_BUS is not typically invoked directly by end users. It is referenced by the table-handling packages IRC_VCE_INS, IRC_VCE_UPD, and IRC_VCE_DEL, which route insert, update, and delete operations through the corresponding validation routines before executing the DML. The package also references itself internally, reflecting shared private helpers in its own body.

In practice, form-based maintenance of variable compensation elements within the iRecruitment responsibility, or any custom code that modifies IRC_VARIABLE_COMP_ELEMENTS, invokes IRC_VCE_BUS by first calling SET_SECURITY_GROUP_ID to fix the security context and using RETURN_LEGISLATION_CODE to resolve the governing legislation. Callers must invoke the correct validation routine matching the intended DML action; bypassing these routines risks committing records that violate the entity's business rules or multi-org security model. Because it is an OTHER-classified API rather than a versioned public interface, customizations should treat its signature as stable only within the specific EBS point release and should re-verify dependencies when applying patches or upgrades.