Search Results get_status_code
Overview
AMS_LISTGENERATION_UTIL_PKG is a PL/SQL utility package belonging to the Oracle Advanced Marketing (AMS) application, which forms part of the Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 marketing modules. The package body encapsulates the supporting logic required to manage the lifecycle of list generation, a core marketing operation in which target lists are built from source queries and stored as list entries. Its documented classification is "OTHER," indicating that it is an internal helper package rather than a public API contract. As the source header comment states, the package is primarily driven by a single entry point, cancel_list_gen, which in turn orchestrates the remaining procedures and functions. The package also exposes getWFItemStatus, noted explicitly as being callable from elsewhere, which links list generation to the Oracle Workflow engine. Together these routines support cancellation, deletion, header maintenance, concurrent processing control, and status interrogation for list generation runs, including those executed against remote data sources via database links.
Key Procedures and Functions
- CANCEL_LIST_GEN — The principal public procedure and the only routine documented as being called directly to drive the package. It accepts a list header identifier along with remote-generation flags and a database link name, and returns standard API messaging outputs. It resolves the current status of the list, writes status information to the activity log, and raises the internal
cancelexcepexception when cancellation cannot proceed. - DELETE_LIST_ENTRIES — Removes list entry records, typically invoked as part of the cancellation or regeneration flow to purge stale membership rows.
- UPDATE_LIST_HEADER — Maintains the list header record, updating status and related control columns to reflect the outcome of processing.
- GETWFITEMSTATUS — Retrieves the Oracle Workflow item status for a list generation process, enabling the package to determine whether an asynchronous generation has completed or failed. This function is documented as being called from outside the package.
- ISLISTCANCELLING — A predicate used to determine whether a given list is currently in the process of being cancelled, which prevents conflicting concurrent operations.
- START_CTRL_GRP_PROCESS — Initiates processing for a control group, used to coordinate batch list generation across related lists.
- CANCEL_CTRL_GRP_PROCESS — The counterpart routine that terminates control group processing, including cleanup of associated list state.
- GET_SPLIT_PREVIEW_COUNT — Returns a count used to preview how a list would be split, supporting the list segmentation features of Advanced Marketing.
Tables Accessed
- AMS_LIST_HEADERS_ALL — The master list definition table; read to obtain status and updated to reflect cancellation or completion.
- AMS_LIST_ENTRIES — Stores the generated membership rows; queried for counts and purged during cancellation.
- AMS_LIST_SRC_TYPES — Defines the available list source types, used to resolve generation behavior.
- AMS_LIST_SRC_TYPE_USAGES — Records which source types are in use, informing validation and processing paths.
- PLITBLM — The standard EBS PL/SQL integer table type used for passing collections of identifiers between routines.
Usage Notes
The package is invoked from the Advanced Marketing list generation forms and from concurrent programs that build or refresh target lists. Its cancellation routines are typically called when a user aborts a long-running generation, and GETWFITEMSTATUS is used by wrapper code polling Workflow for completion. The remote-generation flags and database link parameter indicate support for distributed list generation across EBS instances. The package is referenced by two other packages, so customizations should call the documented public routines rather than altering private helpers. As an internal utility with an "OTHER" classification, it is not a supported integration API and may change between point releases.
-
PACKAGE BODY: APPS.AMS_LISTGENERATION_UTIL_PKG
12.2.2
-
PACKAGE BODY: APPS.AMS_LISTGENERATION_UTIL_PKG
12.1.1
-
PACKAGE: APPS.AMS_LISTGENERATION_UTIL_PKG
12.1.1
-
PACKAGE: APPS.AMS_LISTGENERATION_UTIL_PKG
12.2.2
-
PACKAGE: APPS.OKS_MASS_UPDATE_PVT
12.1.1
-
PACKAGE: APPS.OKS_MASS_UPDATE_PVT
12.2.2
-
APPS.OKS_MASS_UPDATE_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AHL_DI_SUBSCRIPTION_PVT
12.1.1
-
PACKAGE BODY: APPS.AHL_DI_SUBSCRIPTION_PVT
12.2.2
-
APPS.OKS_MASS_UPDATE_PVT SQL Statements
12.2.2
-
APPS.AHL_DI_SUBSCRIPTION_PVT SQL Statements
12.2.2
-
PACKAGE: APPS.GHR_PER_SUM
12.2.2
-
PACKAGE: APPS.GHR_PER_SUM
12.1.1
-
APPS.AHL_DI_SUBSCRIPTION_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OKS_MASS_UPDATE_PVT
12.2.2
-
PACKAGE BODY: APPS.OKS_MASS_UPDATE_PVT
12.1.1
-
PACKAGE BODY: APPS.GHR_PER_SUM
12.1.1
-
PACKAGE BODY: APPS.GHR_PER_SUM
12.2.2
-
PACKAGE: APPS.INV_ITEM_INQ
12.2.2
-
PACKAGE: APPS.INV_ITEM_INQ
12.1.1
-
APPS.PA_PROJECT_STRUCTURE_PVT1 dependencies on PA_PROJECT_STATUSES
12.1.1
-
PACKAGE: APPS.FND_CONC_REQ_DETAIL
12.2.2
-
APPS.PA_PROJECT_STRUCTURE_PVT1 dependencies on PA_PROJECT_STATUSES
12.2.2
-
APPS.INV_ITEM_INQ dependencies on MTL_MATERIAL_STATUSES_VL
12.1.1
-
APPS.INV_ITEM_INQ dependencies on MTL_MATERIAL_STATUSES_VL
12.2.2
-
APPS.AMS_LISTGENERATION_UTIL_PKG dependencies on AMS_LIST_HEADERS_ALL
12.2.2
-
APPS.AMS_LISTGENERATION_UTIL_PKG dependencies on AMS_LIST_HEADERS_ALL
12.1.1
-
PACKAGE BODY: APPS.FND_CONC_REQ_DETAIL
12.2.2
-
APPS.OKS_MASSCHANGE_PVT dependencies on OKC_STATUSES_B
12.1.1
-
APPS.OKS_MASSCHANGE_PVT dependencies on OKC_STATUSES_B
12.2.2
-
APPS.AHL_DI_SUBSCRIPTION_PVT dependencies on FND_MESSAGE
12.1.1
-
APPS.AHL_DI_SUBSCRIPTION_PVT dependencies on FND_MESSAGE
12.2.2
-
APPS.INV_ITEM_INQ dependencies on MTL_MATERIAL_STATUSES_VL
12.1.1
-
APPS.INV_ITEM_INQ dependencies on MTL_MATERIAL_STATUSES_VL
12.2.2
-
APPS.AHL_DI_SUBSCRIPTION_PVT dependencies on FND_LOOKUP_VALUES_VL
12.2.2
-
APPS.AHL_DI_SUBSCRIPTION_PVT dependencies on FND_LOOKUP_VALUES_VL
12.1.1
-
APPS.AMS_LISTGENERATION_UTIL_PKG dependencies on AMS_LISTGENERATION_PKG
12.2.2
-
APPS.AMS_LISTGENERATION_UTIL_PKG dependencies on AMS_LISTGENERATION_PKG
12.1.1
-
APPS.AHL_DI_SUBSCRIPTION_PVT dependencies on FND_MSG_PUB
12.2.2
-
APPS.AHL_DI_SUBSCRIPTION_PVT dependencies on FND_MSG_PUB
12.1.1
-
PACKAGE BODY: APPS.INV_ITEM_INQ
12.2.2
-
PACKAGE BODY: APPS.INV_ITEM_INQ
12.1.1
-
APPS.PA_PROJECT_STRUCTURE_PVT1 dependencies on PA_UTILS
12.2.2
-
APPS.PA_PROJECT_STRUCTURE_PVT1 dependencies on PA_UTILS
12.1.1
-
APPS.OKS_MASS_UPDATE_PVT dependencies on OKC_STATUSES_B
12.1.1
-
APPS.OKS_MASS_UPDATE_PVT dependencies on OKC_STATUSES_B
12.2.2
-
PACKAGE BODY: APPS.OKS_MASSCHANGE_PVT
12.1.1
-
PACKAGE BODY: APPS.OKS_MASSCHANGE_PVT
12.2.2
-
PACKAGE BODY: APPS.PA_PROJECT_STRUCTURE_PVT1
12.2.2
-
PACKAGE BODY: APPS.PA_PROJECT_STRUCTURE_PVT1
12.1.1