Search Results ams_dm_models_vl
Overview
AMS_DM_MODELS_VL is a multi-lingual (MLS) view owned by the APPS schema in Oracle E-Business Suite. It resides in the AMS (Marketing) product family and exposes data mining model definitions in a language-aware form suitable for reporting, integration, and concurrent processing. The "_VL" suffix follows the standard Oracle EBS naming convention for views that join a transactional base table (the "_B" or "_ALL_B" table) to its translation table (the "_TL" table), returning a single denormalized row per entity using the session language.
In ETRM 12.2.2 the view is documented as VALID. Its role is to present the descriptive, translatable attributes of a data mining model — namely MODEL_NAME and DESCRIPTION — alongside the operational and technical attributes stored on the base table. Because Oracle Marketing uses data mining models to drive predictive scoring, target group selection, and list generation, this view serves as the principal read interface for model metadata in custom reports and interfaces.
Underlying Base Objects
The view is defined over two synonyms resolving to the underlying AMS tables:
- AMS_DM_MODELS_ALL_B — the base (business) table holding non-translatable model attributes and the model identifier.
- AMS_DM_MODELS_ALL_TL — the translation table holding MODEL_NAME and DESCRIPTION per installed language.
The join is performed as:
SELECT B.ROWID ROW_ID, B.MODEL_ID, ... B.ATTRIBUTE15, T.MODEL_NAME, T.DESCRIPTION FROM AMS_DM_MODELS_ALL_B B, AMS_DM_MODELS_ALL_TL T WHERE B.MODEL_ID = T.MODEL_ID AND T.LANGUAGE = USERENV('LANG')
The view text therefore imposes two conditions that callers must respect: every base row is matched to exactly one translation row, and the translation row returned corresponds to the language of the current session as returned by USERENV('LANG'). The ALL prefix indicates the base table is not itself partitioned by operating unit at the table level; the ORG_ID column on the view carries the multi-org context.
Key Columns
- MODEL_ID — primary identifier for the data mining model; the join key to the translation table.
- ROW_ID — the ROWID of the base table row, exposed for completeness.
- MODEL_NAME, DESCRIPTION — translatable descriptive columns sourced from the _TL table.
- ORG_ID — operating unit / organization identifier.
- MODEL_TYPE, STATUS_CODE, USER_STATUS_ID, STATUS_DATE — classification and lifecycle status of the model.
- OWNER_USER_ID — the user who owns the model.
- LAST_BUILD_DATE, SCHEDULED_DATE, SCHEDULED_TIMEZONE_ID, EXPIRATION_DATE — build and scheduling attributes.
- TARGET_FIELD, TARGET_TYPE, TARGET_POSITIVE_VALUE, TARGET_ID, TARGET_GROUP_TYPE — definition of the predictive target.
- TOTAL_RECORDS, TOTAL_POSITIVES, MIN_RECORDS, MAX_RECORDS — record counts and sampling thresholds.
- ROW_SELECTION_TYPE, EVERY_NTH_ROW, PCT_RANDOM — row selection strategy for model training or scoring.
- RESULTS_FLAG, LOGS_FLAG, PERFORMANCE, BEST_SUBTREE — execution and quality flags.
- DARWIN_MODEL_REF — reference to the external data mining engine model.
- WF_ITEMKEY — workflow item key used for process correlation.
- ATTRIBUTE_CATEGORY, ATTRIBUTE1–ATTRIBUTE15 — the standard Oracle EBS descriptive flexfield columns.
- CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, OBJECT_VERSION_NUMBER — the standard WHO columns and optimistic locking column.
Common Use Cases and Queries
The view is typically queried through the Apps database user or APPS read-only responsibilities. A basic listing of active models in the session language is:
SELECT model_id, model_name, model_type, status_code, last_build_date FROM apps.ams_dm_models_vl WHERE status_code = 'ACTIVE' ORDER BY model_name;
Restricting to a specific operating unit and joining to the target definition:
SELECT v.model_name, v.target_field, v.target_type, v.total_records FROM apps.ams_dm_models_vl v WHERE v.org_id = :org_id AND v.results_flag = 'Y';
Because MODEL_NAME and DESCRIPTION are language-specific, applications running under a non-English session automatically receive the translated values, provided the corresponding _TL rows exist. Integrations that must retrieve all languages should query AMS_DM_MODELS_ALL_TL directly rather than this view. Reports requiring only technical attributes may read AMS_DM_MODELS_ALL_B to avoid the translation join; the _VL view is preferred whenever user-facing names or descriptions are required.
-
View: AMS_DM_MODELS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_MODELS_VL, object_name:AMS_DM_MODELS_VL, status:VALID, product: AMS - Marketing , description: Multi-lingual view for data mining models. , implementation_dba_data: APPS.AMS_DM_MODELS_VL ,
-
View: AMS_DM_MODELS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_MODELS_VL, object_name:AMS_DM_MODELS_VL, status:VALID, product: AMS - Marketing , description: Multi-lingual view for data mining models. , implementation_dba_data: APPS.AMS_DM_MODELS_VL ,
-
APPS.AMS_DM_MODEL_PVT SQL Statements
12.1.1
-
APPS.AMS_DM_MODEL_PVT SQL Statements
12.2.2
-
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_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_DM_MODELS_ALL_TL, status:VALID,
-
SYNONYM: APPS.AMS_DM_MODELS_ALL_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_DM_MODELS_ALL_TL, status:VALID,
-
PACKAGE BODY: APPS.AMS_LISTSOURCETYPE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_LISTSOURCETYPE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_WFMOD_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_WFMOD_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_SCORERESULT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_SCORERESULT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_DMEXTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DMEXTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_LISTSOURCETYPE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_LISTSOURCETYPE_PVT, 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,
-
PACKAGE BODY: APPS.AMS_DM_TARGET_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DM_TARGET_PVT, status:VALID,
-
APPS.AMS_WFMOD_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AMS_DMSELECTION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DMSELECTION_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_DMSOURCE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DMSOURCE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_DMSOURCE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DMSOURCE_PVT, status:VALID,
-
APPS.AMS_WFMOD_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AMS_SCORERESULT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_SCORERESULT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_DM_TARGET_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DM_TARGET_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_DM_MODEL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DM_MODEL_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_WFMOD_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_WFMOD_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_DM_MODEL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DM_MODEL_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_DMEXTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DMEXTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_DMSELECTION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_DMSELECTION_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
APPS.AMS_DMSOURCE_PVT SQL Statements
12.2.2
-
APPS.AMS_DMSOURCE_PVT SQL Statements
12.1.1
-
APPS.AMS_LISTSOURCETYPE_PVT SQL Statements
12.2.2
-
VIEW: APPS.AMS_DM_MODELS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_MODELS_VL, object_name:AMS_DM_MODELS_VL, status:VALID,
-
APPS.AMS_DMSELECTION_PVT SQL Statements
12.2.2
-
APPS.AMS_DMSELECTION_PVT SQL Statements
12.1.1
-
APPS.AMS_LISTSOURCETYPE_PVT SQL Statements
12.1.1
-
VIEW: APPS.AMS_DM_MODELS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_MODELS_VL, object_name:AMS_DM_MODELS_VL, status:VALID,
-
APPS.AMS_DM_TARGET_PVT SQL Statements
12.2.2
-
APPS.AMS_SCORERESULT_PVT SQL Statements
12.1.1
-
APPS.AMS_SCORERESULT_PVT SQL Statements
12.2.2
-
APPS.AMS_DM_TARGET_PVT SQL Statements
12.1.1
-
APPS.AMS_WFMOD_PVT dependencies on AMS_DM_MODELS_VL
12.1.1
-
APPS.AMS_DM_TARGET_PVT dependencies on AMS_DM_MODELS_VL
12.2.2
-
APPS.AMS_LISTSOURCETYPE_PVT dependencies on AMS_DM_MODELS_VL
12.2.2
-
APPS.AMS_WFMOD_PVT dependencies on AMS_DM_MODELS_VL
12.2.2
-
APPS.AMS_DMEXTRACT_PVT dependencies on AMS_DM_MODELS_VL
12.2.2
-
APPS.AMS_SCORERESULT_PVT dependencies on AMS_DM_MODELS_VL
12.1.1
-
APPS.AMS_LISTSOURCETYPE_PVT dependencies on AMS_DM_MODELS_VL
12.1.1
-
APPS.AMS_DM_MODEL_PVT dependencies on AMS_DM_MODELS_VL
12.2.2