Search Results okl_setupfmaconstraints_pvt




Overview

OKL_FMLA_OPRNDS_PUB is a public PL/SQL API within the Oracle E-Business Suite (EBS) applications schema (APPS) that supports the Oracle Lease and Finance Management (OKL/ETRM) module. Its role is to manage the operands associated with lease and finance formulae — the individual variables, constants, and value components that make up a formula definition used in pricing, contract calculation, and accounting derivation logic. The package's naming convention (OKL = Oracle Contracts/Lease, FMLA = Formula, OPRNDS = Operands) identifies it as the public interface layer governing formula operand records. As a "PUB" classified API, it is intended for external invocation by forms, concurrent programs, and other PL/SQL packages, unlike private ("PVT") helper packages. It is validated and present in both EBS 12.1.1 and 12.2.2. Its documented subobjects rely on the OKC_API package, the OKL_FOD_PVT package, and the SYS.STANDARD package, indicating integration with Contracts core functionality and lower-level formula definition logic.

Key Procedures and Functions

The ETRM metadata documents eleven procedures/functions; six named entries are confirmed as exposed. These support the full lifecycle of formula operand records:

  • ADD_LANGUAGE — Inserts or registers language-specific translations for operand definitions, supporting multilingual formula operand descriptions.
  • INSERT_FMLA_OPRNDS — Creates new formula operand records, establishing the link between a formula and each of its operands.
  • LOCK_FMLA_OPRNDS — Acquires a lock on operand records for the duration of a transaction, ensuring data integrity during concurrent maintenance operations.
  • UPDATE_FMLA_OPRNDS — Modifies existing formula operand records, typically reflecting edits to operand values, sequencing, or attributes.
  • DELETE_FMLA_OPRNDS — Removes formula operand records, used when operands are retired from a formula definition.
  • VALIDATE_FMLA_OPRNDS — Performs business-rule validation on operand data before commit, enforcing referential and logical consistency constraints.

Parameter lists are not documented here; callers should reference the package specification (the _W wrapper and related PVT packages) for exact signatures.

Tables Accessed

The documented table referenced by OKL_FMLA_OPRNDS_PUB is PLITBLM, accessed via an APPS synonym. The PLITBLM table (commonly associated with Oracle Applications language/translation infrastructure) stores translation or language-dependent data. In this context it supports the ADD_LANGUAGE procedure's need to persist language-specific operand text. Additional operand storage tables are implied by the INSERT, UPDATE, DELETE, and VALIDATE operations, but only PLITBLM is documented in the supplied metadata.

Usage Notes

OKL_FMLA_OPRNDS_PUB is referenced by OKL_SETUPFMACONSTRAINTS_PVT, OKL_SETUPFORMULAE_PVT, and the OKL_FMLA_OPRNDS_PUB_W wrapper — the latter suggesting it is exposed as a Workflow-enabled or API-registered component. The user's search target, okl_setupfmaconstraints_pvt, is a private package that consumes this public API when maintaining formula constraints. The API is typically invoked from Oracle Lease and Finance Management setup and formula configuration forms, from concurrent validation routines, and from custom extensions during formula definition. Calls should follow the standard EBS API pattern: initialize the environment (FND_GLOBAL.APPS_INITIALIZE), invoke the desired procedure, and explicitly commit.