Search Results csp_picklist_headers_s1




Overview

The APPS.CSP_PICKLIST_HEADERS_PKG package body is a server-side PL/SQL module in Oracle E-Business Suite that manages the lifecycle of picklist header records used by Oracle's supply chain and shipping execution functionality. The CSP prefix identifies the module as belonging to the Component and Supplier/Picklist domain, with picklist headers representing the top-level grouping of a picklist — the batch of items staged, picked, and confirmed during outbound warehouse operations. The package is documented with an API classification of OTHER and is registered as VALID under the APPS schema. It exposes a small, focused set of row-level maintenance routines that provide an application programming interface around the underlying picklist header entity, shielding callers from direct DML against the base table. The package body additionally references CSP_PICKLIST_HEADERS_S1, a sequence used to generate primary keys, and standard Oracle infrastructure packages such as FND_API, FND_MESSAGE, and APP_EXCEPTION, indicating conformance to the EBS API coding conventions for error handling and message retrieval. The package is documented as not being referenced by any other database object, though it is invoked externally — typically from forms-based user interfaces or concurrent processing logic.

Key Procedures and Functions

The documented interface consists of four procedures, each performing discrete row-level operations against the picklist header entity:

  • INSERT_ROW — Creates a new picklist header record. It retrieves the next available identifier from the CSP_PICKLIST_HEADERS_S1 sequence and populates the header along with the standard EBS WHO columns (creation date, creator, last update attributes).
  • UPDATE_ROW — Modifies attributes of an existing picklist header, retaining the audit columns and applying the change through the centralized API routine rather than ad hoc SQL.
  • LOCK_ROW — Obtains a row-level lock on a specified picklist header, providing pessimistic concurrency control so that simultaneous updates by multiple users or processes do not produce conflicting state.
  • DELETE_ROW — Removes a picklist header record, subject to the referential and business validations applied within the package.

Each routine follows Oracle's standard PL/SQL API pattern: FND_API is used for the standard return-status and message-stack conventions, while FND_MESSAGE and APP_EXCEPTION provide localized error reporting and exception propagation. Parameter lists are not reproduced here; callers should consult the package specification for the definitive signature.

Tables Accessed

  • CSP_PICKLIST_HEADERS — The primary transactional table holding picklist header records. All four API routines operate on this table, inserting, updating, locking, or deleting rows as directed.
  • CSP_PICKLIST_HEADERS_S1 — A database sequence referenced when a new header row is created, supplying the unique primary key value that the insert routine writes to the header table.

Both objects are accessed through APPS synonyms, confirming that the package is executed in the standard EBS APPS runtime context. No other application tables are documented as being touched by these routines, reinforcing the tightly scoped, single-entity nature of the package.

Usage Notes

This package is characteristically invoked from the Oracle Shipping Execution and picklist confirmation forms, where the user interface layer calls the corresponding API routine for each insert, update, lock, or delete action performed on the form. It may also be called from custom PL/SQL, concurrent programs, or workflow processes that need to create or maintain picklist header data programmatically, as long as they invoke the package rather than performing direct DML on CSP_PICKLIST_HEADERS. Because the same CSP_PICKLIST_HEADERS_S1 sequence is used to derive primary keys, direct table inserts should be avoided to prevent sequence conflicts. The documented reference by one other package indicates that at least one downstream module depends on the behavior of these routines, so the interface should be treated as a stable contract. When migrating or upgrading between EBS 12.1.1 and 12.2.2, compatibility is maintained; the package remains valid in both releases, and no changes to its documented procedure set are recorded in the ETRM metadata.