Search Results g_list_header_id




Overview

APPS.AMS_LISTGENERATION_PKG is the core PL/SQL package responsible for the generation of all Oracle Marketing defined lists within Oracle E-Business Suite Release 12.1.1 and 12.2.2. Lists are the fundamental audience-construction mechanism in Oracle Marketing: they define which customers, prospects, or contacts qualify for a campaign, and the entries produced by this package drive downstream activities such as campaign scheduling, telemarketing call lists, and one-to-one marketing execution.

The package body carries a header revision of 120.33.12010000.2, reflecting a long maintenance history beginning in 1999. The header comments trace iterative fixes for SQL validation defects, deduplication behavior, bind-variable performance tuning, and list generation cancellation. The package is classified under ETRM as "OTHER" rather than a public API, indicating that it is primarily an internal engine invoked by Oracle Marketing forms and concurrent programs. The user search term g_list_header_id refers to the package-level global variable that holds the identifier of the list header currently being processed; this variable is central to the package's design because nearly every internal routine operates within the context of a single list header identified by this value.

Key Procedures and Functions

The package exposes 37 documented procedures and functions. The principal entry points and their roles are:

Tables Accessed

The package reads and writes several core Marketing tables through APPS synonyms:

Usage Notes

AMS_LISTGENERATION_PKG is invoked primarily from Oracle Marketing list management forms and from concurrent programs that execute list generation in the background, including scheduled and cancellable runs. Because the package is designated as "OTHER" and is referenced by ten other packages, custom code should treat it as an internal engine rather than a formally guaranteed public API; direct invocation is possible but should be limited to controlled extensions that reproduce the calling conventions used by the standard concurrent programs.

When extending or debugging generation logic, note that the package relies on package-level globals such as g_list_header_id, g_remote_list, and the row-count variables to carry context between internal routines. Any custom wrapper must therefore establish the list header context before calling generation procedures, and should expect logging rows in AMS_ACT_LOGS and list output in AMS_LIST_ENTRIES.