Search Results inv_cc_reservations_pvt




Overview

INV_CC_RESERVATIONS_PVT is a private PL/SQL package body owned by the APPS schema in Oracle E-Business Suite. Its designation as a private API (the "_PVT" suffix, classified as API classification PVT in ETRM 12.2.2) indicates that it is not intended as a public extension point. Instead, it functions as an internal implementation companion to the public reservations interface, INV_RESERVATION_PUB, which it explicitly references as a dependency. The package supports reservation processing within Oracle Inventory, including the manipulation of reservation records used to allocate on-hand material to specific demand sources such as sales orders, work orders, or internal requisitions. In Oracle EBS 12.1.1 and 12.2.2 it participates in the reservation control layer for Cycle Count operations. The object is documented with a status of VALID and, notably, "is not referenced by any database object," confirming that it is an entry-point style package invoked by external runtime code (forms, concurrent managers, or the public API layer) rather than being called from other stored PL/SQL units.

Key Procedures and Functions

ETRM documents two callable units within this package body.

  • DEFINE_RESERV_REC_TYPE — Defines or registers the PL/SQL record type used to represent a reservation record within the package. This is a structural/specification routine that establishes the in-memory shape of reservation data passed between the package's internal procedures and the surrounding reservation processing logic. It supports the strongly typed record handling relied upon by the reservations workflow.
  • DELETE_ALL_RESERVATION — Removes reservation records in bulk, clearing existing reservations as part of the processing cycle. This is the operational counterpart to the record definition and is the substantive action this private package performs in the Cycle Count reservation context.

Parameter lists are not documented in the ETRM metadata and are therefore not reproduced here. No additional procedures or functions are documented for this package body.

Tables Accessed

The ETRM excerpt records no direct table references via APPS synonyms for this package body. Its data access is instead mediated through the packages it depends upon — INV_RESERVATION_PUB and INV_RESERVATION_GLOBAL — which provide the public reservation and global variable interfaces to the underlying Inventory reservation tables (for example, the reservation and demand interface structures administered by the Inventory reservation engine). Because the package is documented as depending on these higher-level APIs rather than issuing direct SQL against base tables, table-level access is indirect. This encapsulation is typical of a private reservations utility designed to keep direct SQL out of callable code paths.

Usage Notes

As a private package body, INV_CC_RESERVATIONS_PVT is not the supported integration surface for developers. ETRM states that it is referenced by two other packages and that it is not referenced by any database object, meaning it is invoked from calling PL/SQL code and runtime entry points rather than being the target of database-level dependencies. Typical invocation occurs from within the reservations processing flow that surrounds Cycle Count and Inventory allocation, operating alongside INV_RESERVATION_PUB and INV_RESERVATION_GLOBAL. Customizations should call the public INV_RESERVATION_PUB API rather than this private package, since private APIs may change between releases and are not covered by Oracle's public API compatibility commitments. Its presence in a dependency chain confirms that the calling packages delegate reservation record definition and bulk reservation deletion to this package for consistent handling.