Search Results check_list_query_items




Overview

APPS.AMS_LIST_QUERY_PVT_W is a private API wrapper package within the Oracle Marketing (AMS) module of Oracle E-Business Suite. It encapsulates the internal business logic used to create, maintain, and validate list queries — the saved selection criteria that drive marketing lists, target groups, and campaign audience definitions. The package is declared with AUTHID CURRENT_USER, indicating that it executes with the privileges of the invoking schema rather than the definer, which is characteristic of generated PL/SQL wrapper layers in the EBS technology stack.

The source header identifies the package as the "_PVT_W" (private wrapper) companion to the underlying AMS_LIST_QUERY_PVT package. Wrapper packages of this type are generated to expose strongly typed PL/SQL collection interfaces over the canonical private API, bridging the gap between internal table-based structures and the JTF/VARCHAR2 and NUMBER table types used by Oracle Forms, OAF pages, and other EBS clients. The parameter naming convention (p7_a0 through p7_a20) reflects this generated origin, where positional arguments map to entity attributes.

Key Procedures and Functions

The package exposes eleven documented procedures, which fall into three functional groups.

Tables Accessed

The documented table reference for this package is PLITBLM, accessed via an APPS synonym. PLITBLM is a generic PL/SQL index-organized or interim table used by EBS APIs to stage collection data during bulk operations and message list processing — the "PLITBLM" designation derives from PL/SQL Indexed Table By Limited Memory. Within AMS_LIST_QUERY_PVT_W, this table participates in the temporary storage and traversal of list query item collections during validation and DML operations. The persistent list query data itself resides in the AMS list query base tables, which are manipulated by the underlying private package rather than directly by this wrapper.

Usage Notes

AMS_LIST_QUERY_PVT_W is not intended for direct invocation by end users or custom developers. It is referenced by two other packages within the AMS schema, which act as its callers — typically the public API layer and the concurrent or forms-driven control logic that manages marketing list queries. Invocation occurs through:

  • Oracle Forms or OAF-based marketing setup and list management screens, where user actions trigger the wrapper through the public API stack.
  • Concurrent programs that batch-process marketing list definitions, including validation runs and list refresh operations.
  • Higher-level AMS packages that require the strongly typed collection interface this wrapper provides.

Custom code should reference the public API rather than this private wrapper. Direct calls risk breakage across patch levels, as the generated parameter signatures (p7_a0 through p7_a20, with sentinel defaults such as 0-1962.0724 and fnd_api.g_miss_date) are subject to regeneration whenever the underlying entity definition changes. The package behaves identically in EBS 12.1.1 and 12.2.2; the source header revision 115.10 confirms a stable implementation across both release trains.