Results for “check_non_updateable_args”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

APPS.PER_RSC_BUS is the business-layer PL/SQL package body that supports the Rating Scale Criteria (RSC) functionality within Oracle Human Resources and Oracle Learning Management. The package encapsulates the server-side validation and maintenance logic for rating scales and their associated rating levels, competences, competence elements, and assessment types. In the Oracle E-Business Suite architecture, the "_BUS" suffix denotes a business package that sits between the user interface (typically an Oracle Forms block or an OAF page) and the underlying tables and shared APIs. PER_RSC_BUS therefore enforces data integrity rules and business constraints that cannot be expressed through declarative form properties alone, while delegating generic processing to shared components such as HR_API, HR_UTILITY, HR_DFLEX_UTILITY, and HR_RATING_SCALES_API.

Key Procedures and Functions

The documented package exposes five procedures and functions. Their names indicate the standard validation pattern used throughout Oracle HRMS business packages, where each DML operation is preceded by a dedicated validation routine:

  • CHECK_NON_UPDATEABLE_ARGS — Verifies that columns designated as non-updateable after initial creation have not been altered. This prevents users or downstream code from modifying identifying attributes of an existing rating scale or criteria record.
  • INSERT_VALIDATE — Performs all validation required before a new record is inserted. It applies the same non-updateable argument checks together with any mandatory-field and referential integrity logic required at creation time.
  • UPDATE_VALIDATE — Performs validation before an existing record is modified, ensuring that protected columns remain unchanged and that updated values still satisfy the business rules governing the rating scale configuration.
  • DELETE_VALIDATE — Performs validation before a record is removed, guarding against deletion where dependent data, such as rating levels or competence associations, would be left inconsistent.
  • RETURN_LEGISLATION_CODE — Returns the legislation code associated with the record or business group in context, enabling legislation-specific validation and defaulting behavior consistent with Oracle HRMS legislative rules.

The exact parameter lists are not documented in the metadata and are therefore not reproduced here.

Tables Accessed

The package reads and writes the principal rating scale criteria tables through APPS synonyms:

  • PER_RATING_SCALES — The header table holding rating scale definitions; the primary target of insert, update, and delete processing.
  • PER_RATING_LEVELS — The detail table holding the individual levels belonging to each rating scale.
  • PER_COMPETENCES and PER_COMPETENCE_ELEMENTS — Competence definitions used to associate and validate competences that reference the rating scale.
  • PER_ASSESSMENT_TYPES — Assessment type definitions that consume rating scales, checked for referential dependencies.
  • PER_BUSINESS_GROUPS — Supplies business group context and drives legislation-related defaulting.

It also references the shadow table PER_RSC_SHD and the package PER_RSC_SHD, which record audit history for changes made through this business logic.

Usage Notes

PER_RSC_BUS is not referenced by any other database object, confirming that it is an entry-point package invoked directly from the application layer rather than being called by peer packages. It is typically raised from the Oracle Forms or OAF-based Rating Scales and Competences maintenance screens when a user commits changes, and it may also be called from custom PL/SQL or concurrent programs that create or maintain rating scale criteria in bulk. Because the validation routines rely on HR_API and HR_DFLEX_UTILITY, any custom code that bypasses PER_RSC_BUS and writes directly to the underlying tables risks omitting required audits and validation, so the business package should be used as the supported integration point for programmatic maintenance of rating scale criteria.