Results for “api_copy”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKL_BCT_PVT is a private PL/SQL package in the APPS schema that belongs to the Oracle Lease and Finance Management (OKL) module of Oracle E-Business Suite, specifically the Enterprise Transaction Rules Manager (ETRM) subsystem responsible for booking and contract lifecycle processing. The package is classified as an API of type PVT, indicating that it is an internal private implementation layer not intended for direct invocation by external consumers. Its principal business role is to support the client-side controller logic for booking transactions. The "BCT" designation in the name aligns with the booking controller transaction concept, and the package operates alongside the public OKL_BOOK_CONTROLLER_PVT package to manipulate records in the OKL_BOOK_CONTROLLER_TRX table. In Oracle EBS 12.1.1 and 12.2.2, this object has a status of VALID, confirming it is compiled and present in the APPS schema under ETRM.
Key Procedures and Functions
ETRM documents eight procedures and functions within OKL_BCT_PVT. The named members include:
- CHANGE_VERSION — Adjusts the version context of the package's underlying data, used to synchronize the private state when a booking controller transaction is edited under a different version.
- API_COPY — Copies an existing record or set of attributes, supporting duplication of booking controller transaction data.
- INSERT_ROW — Creates a new row in the private working structures and the underlying booking controller transaction table.
- UPDATE_ROW — Modifies an existing row's attributes.
- DELETE_ROW — Removes a row from the controller transaction store.
These five named members, together with the remaining documented members, provide the standard private CRUD and version-management interface invoked by the public wrapper packages. Parameter lists are not documented in the ETRM metadata and are therefore not reproduced here.
Tables Accessed
The package references the following objects through APPS synonyms:
- OKL_BOOK_CONTROLLER_TRX — The principal transactional table storing booking controller transaction records. OKL_BCT_PVT reads and writes this table to insert, update, and delete booking controller records during contract booking.
- PLITBLM — A standard Oracle EBS PL/SQL table type used for in-memory collection handling within the API plumbing.
Dependencies further show that OKL_BCT_PVT references OKL_API, the OKL shared utility package, and the SYS.STANDARD package.
Usage Notes
OKL_BCT_PVT is an internal package and should not be called directly from custom code. ETRM dependency data shows that it is referenced by OKL_BCT_PVT_W, OKL_BOOK_CONTROLLER_PVT, and OKL_BOOK_CONTROLLER_TRX, and that it references OKL_API. In practice it is invoked indirectly through the public booking controller package during lease and loan booking flows, often triggered from the Lease Management forms or from concurrent programs that process booking transactions. Because the "_PVT" suffix signals private scope, Oracle does not certify these entry points for external use, and upgrades between 12.1.1 and 12.2.2 may alter signatures. Custom development should target the corresponding public API rather than OKL_BCT_PVT.