Search Results ams_dmmodel_pub
Overview
The APPS.AMS_DMMODEL_PUB package body is a public API within the Oracle E-Business Suite Marketing (AMS) module, responsible for managing the metadata that defines data mining models. In Oracle EBS 12.1.1 and 12.2.2, the Marketing product relies on data mining models to score customers, predict campaign response, and segment audiences. This package provides the programmatic interface through which those model definitions are created, maintained, locked for processing, and removed from the repository. As a public (PUB classification) API, it is designed for external invocation by forms, concurrent programs, or custom code rather than being restricted to internal use.
The object resides in the APPS schema with a status of VALID. The body delegates the majority of its business logic to the private package AMS_DM_MODEL_PVT, which serves as the implementation layer. This separation follows the standard Oracle EBS pattern in which a public wrapper validates inputs, manages the API message stack, and enforces profile options before forwarding work to the private engine.
Key Procedures and Functions
The ETRM metadata documents four public procedures within this package body. Parameter lists are not reproduced here, as the documented metadata does not enumerate them.
CREATE_MODEL— Inserts a new data mining model definition into the repository, establishing its identifying attributes and associating it with the appropriate custom setup context.UPDATE_MODEL— Modifies the attributes of an existing data mining model, allowing model metadata to evolve as business requirements change.DELETE_MODEL— Removes a data mining model definition from the repository.LOCK_MODEL— Acquires a lock on a specified model, preventing concurrent modification while another process, such as a build or scoring routine, operates against it. This supports the concurrency control expected in a multi-user EBS environment.
Each procedure is expected to conform to the Oracle Application Object Library API conventions evident in the dependency list, including the use of FND_API, FND_MSG_PUB, and FND_MESSAGE for standardized return statuses and error reporting.
Tables Accessed
The package reads and writes data through APPS synonyms referencing the following base tables:
AMS_DM_MODELS_ALL_B— The primary base table holding data mining model definitions. This is the central table manipulated by the create, update, and delete operations.AMS_DM_MODELS_ALL_B_S— The sequence or secondary table associated with the base table, used to generate or manage primary key identifiers for new model records.AMS_CUSTOM_SETUPS_B— Holds custom setup configuration used to validate or contextualize model creation, reflecting the dependency of models on setup data.DUAL— The standard Oracle single-row utility table, typically used for lightweight SQL expressions or validations.
Additional read access is implied through AMS_USER_STATUSES_VL, which likely supplies valid status codes, and AMS_UTILITY_PVT, which provides shared marketing utility logic.
Usage Notes
AMS_DMMODEL_PUB is invoked programmatically rather than executed directly by end users. Typical call sites include the Marketing data mining model setup forms, concurrent programs that batch-maintain model definitions, and custom extensions requiring controlled model lifecycle management. Because the package is not referenced by any other database object, callers interact with it exclusively as top-level API consumers, invoking it from PL/SQL blocks, forms, or concurrent program logic. Callers should supply the standard API parameters, observe the returned message stack via FND_MSG_PUB, and respect the locking semantics of LOCK_MODEL to avoid concurrent modification conflicts with model build or scoring processes.
-
PACKAGE BODY: APPS.AMS_DMMODEL_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DMMODEL_PUB, status:VALID,
-
PACKAGE BODY: APPS.AMS_DMMODEL_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DMMODEL_PUB, status:VALID,
-
PACKAGE: APPS.AMS_DMMODEL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_DMMODEL_PUB, status:VALID,
-
PACKAGE: APPS.AMS_DMMODEL_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_DMMODEL_PUB, status:VALID,
-
SYNONYM: APPS.AMS_DM_MODELS_ALL_B_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_DM_MODELS_ALL_B_S, status:VALID,
-
SYNONYM: APPS.AMS_DM_MODELS_ALL_B_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_DM_MODELS_ALL_B_S, status:VALID,
-
SYNONYM: APPS.AMS_DM_MODELS_ALL_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_DM_MODELS_ALL_B, status:VALID,
-
SYNONYM: APPS.AMS_DM_MODELS_ALL_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_DM_MODELS_ALL_B, status:VALID,
-
SYNONYM: APPS.AMS_CUSTOM_SETUPS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_CUSTOM_SETUPS_B, status:VALID,
-
SYNONYM: APPS.AMS_CUSTOM_SETUPS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_CUSTOM_SETUPS_B, status:VALID,
-
PACKAGE: APPS.AMS_DM_MODEL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_DM_MODEL_PVT, status:VALID,
-
PACKAGE: APPS.AMS_DM_MODEL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_DM_MODEL_PVT, status:VALID,
-
PACKAGE: APPS.AMS_DMMODEL_PUB
12.2.2
-
PACKAGE: APPS.AMS_DMMODEL_PUB
12.1.1
-
VIEW: APPS.AMS_USER_STATUSES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_USER_STATUSES_VL, object_name:AMS_USER_STATUSES_VL, status:VALID,
-
VIEW: APPS.AMS_USER_STATUSES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_USER_STATUSES_VL, object_name:AMS_USER_STATUSES_VL, status:VALID,
-
PACKAGE BODY: APPS.AMS_DMMODEL_PUB
12.2.2
-
PACKAGE BODY: APPS.AMS_DMMODEL_PUB
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.AMS_DMMODEL_PUB dependencies on AMS_DMMODEL_PUB
12.1.1
-
APPS.AMS_DMMODEL_PUB dependencies on AMS_DMMODEL_PUB
12.2.2
-
PACKAGE: APPS.AMS_UTILITY_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AMS_UTILITY_PVT, status:VALID,
-
PACKAGE: APPS.AMS_UTILITY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMS_UTILITY_PVT, status:VALID,
-
PACKAGE: APPS.JTF_PLSQL_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JTF_PLSQL_API, status:VALID,
-
PACKAGE: APPS.JTF_PLSQL_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JTF_PLSQL_API, status:VALID,
-
APPS.AMS_DMMODEL_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.AMS_DMMODEL_PUB dependencies on FND_MSG_PUB
12.2.2
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
eTRM - AMS Tables and Views
12.1.1
description: This table is used to store tracking data for web advertisement and offer type schedules ,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,
-
eTRM - AMS Tables and Views
12.1.1
description: This table is used to store tracking data for web advertisement and offer type schedules ,