Search Results cn_payment_api




Overview

CN_PAYMENT_API_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite. It belongs to the Oracle Incentive Compensation (CN) module and functions as part of the payment processing infrastructure used by the application. In the context of Oracle EBS 12.1.1 and 12.2.2, this package exposes the database interface through which incentive compensation payment records are inserted into the underlying payment API tables. The package is classified as an "OTHER" API type within the ETRM metadata, indicating that it is not a fully published public API but rather an internal or supporting program unit invoked by the Incentive Compensation application logic.

The package aggregates two subcomponents, a specification (Package) and a body (Package Body), and it is documented with a VALID status, confirming that it compiles and is present in a supported state on the target environment.

Key Procedures and Functions

The documented API surface of CN_PAYMENT_API_PKG consists of a single procedure:

  • INSERT_RECORD — Inserts a record into the incentive compensation payment API structures. This procedure encapsulates the logic required to persist payment-related data through the CN payment API layer, allowing callers to create payment records without directly manipulating the underlying tables. Because the metadata does not publish a parameter list, the exact signature is not restated here; callers should reference the package specification in the database to determine the required arguments.

No additional procedures or functions are documented for this package in the ETRM metadata. The presence of a single, focused entry point is consistent with the package's role as a thin wrapper around the payment API table operations.

Tables Accessed

The package operates against the following tables, referenced through APPS synonyms:

  • CN_PAYMENT_API — The primary payment API table. INSERT_RECORD writes payment records into this table, which serves as the staging or interface structure for incentive compensation payment processing.
  • CN_PAYMENT_API_S — The companion sequence or secondary table associated with CN_PAYMENT_API, used to support record creation and key generation for newly inserted payment rows.

These tables form the persistence layer for the payment API and are populated as part of the Incentive Compensation payment calculation and disbursement flow.

Usage Notes

CN_PAYMENT_API_PKG is typically invoked from within the Oracle Incentive Compensation application rather than directly by end users. It is called by Incentive Compensation forms, concurrent programs, or other internal PL/SQL units that need to create payment API records programmatically. The ETRM metadata shows that the package references the CN_PAYMENT_API object and depends on the standard SYS constructs, and that it is referenced by itself (indicating internal recursive or overloaded usage) but by no other documented packages.

Customizations that need to insert Incentive Compensation payment records should call INSERT_RECORD rather than performing direct inserts against CN_PAYMENT_API, thereby preserving the integrity checks and derived values handled by the package. Because this is not a published public API, reliance on it in custom code should be undertaken with care, and the package specification should be reviewed for the current parameter definitions on the specific EBS release in use.