Search Results csi_ii_relationships_s




Overview

The APPS.CSI_II_RELATIONSHIPS_PKG package body is a server-side PL/SQL component within the Oracle E-Business Suite (EBS) Install Base / Enterprise Asset Management (CSI) module. Its documented name ties it directly to the CSI_II_RELATIONSHIPS entity, where "II" denotes Install Base Instance relationships. The package provides the low-level data manipulation logic required to maintain records describing relationships between installed base instances and other configured items.

Consistent with Oracle's standard "table-handler" (TAPI-style) design pattern, the package exposes a small, predictable set of procedures — INSERT_ROW, UPDATE_ROW, LOCK_ROW, and DELETE_ROW — that together form the write interface to the CSI_II_RELATIONSHIPS table. These procedures encapsulate the business rules, validation, and DML required so that callers do not manipulate the base tables directly. The package is classified as OTHER in the API classification scheme, indicating it is not a formal public interface but rather an internal handler used by higher-level CSI APIs.

Key Procedures and Functions

  • INSERT_ROW — Creates a new relationship record in CSI_II_RELATIONSHIPS. The procedure centralizes the logic for populating mandatory columns and applying default values before the row is written.
  • UPDATE_ROW — Modifies an existing relationship record, applying attribute changes while enforcing the package's consistency rules.
  • LOCK_ROW — Acquires a row-level lock on a relationship record, typically using a SELECT ... FOR UPDATE, to serialize concurrent modifications and prevent lost updates.
  • DELETE_ROW — Removes a relationship record from CSI_II_RELATIONSHIPS, handling any validation or cascading effects associated with the deletion.

The body also depends on the FND_API and APP_EXCEPTION packages, which supply the standard EBS error-handling and message-reporting conventions used throughout Oracle Application Object Library-based APIs. FND_MESSAGE is referenced for constructing user-facing error text.

Tables Accessed

  • CSI_II_RELATIONSHIPS — The primary base table holding the relationship data that this package inserts, updates, locks, and deletes.
  • CSI_II_RELATIONSHIPS_S — The corresponding DFF (descriptive flexfield) or sequence-supporting object associated with the base table. This is the object most commonly surfaced when users search for "csi_ii_relationships_s," and it is referenced alongside the base table in the package's dependency list.
  • DUAL — The standard SYS single-row utility table, used for scalar evaluations and PL/SQL operations.

All tables are accessed via APPS synonyms, so the package operates in the APPS schema and relies on the standard EBS synonym layer for name resolution.

Usage Notes

This package is a foundational handler and is not referenced by any other database object according to the dependency metadata, yet it itself references one other package. In practice, it is invoked indirectly by higher-level CSI Install Base forms and public APIs rather than being called directly from end-user interfaces. When developers or support engineers troubleshoot install base relationship data, they frequently trace calls from a form or concurrent program down into these INSERT/UPDATE/LOCK/DELETE procedures.

The presence of a matching "_S" object (CSI_II_RELATIONSHIPS_S) means that the base table participates in a descriptive flexfield or audit construct; custom extensions that add DFF segments should expect this package to interact with both objects. Because the API classification is OTHER and the procedures are handler-level, customers extending CSI functionality should route changes through the supported CSI public APIs where available, reserving direct calls to this package for controlled custom development on EBS 12.1.1 and 12.2.2. Always review the current package source in the target environment, since Oracle frequently patches these bodies between point releases.