Results for “ams_act_products_v”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The AMS_ACT_PRODUCTS_V view is a marketing module (AMS) reporting object owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It returns the products and product categories associated with marketing objects such as events and campaigns. The view is a denormalized read layer over the AMS_ACT_PRODUCTS base table, resolving foreign-key identifiers into descriptive values drawn from inventory, category, and lookup sources. Because it presents human-readable item numbers, category names, and lookup meanings directly, it is commonly used for reporting, concurrent program queries, and integration extracts that require the marketing product association without performing multiple joins manually.

Underlying Base Objects

The view is defined over five documented objects:

All joins to the lookup, category, category set, and item views are outer joins (denoted (+)), so rows persist even when descriptive data is missing. The lookup joins use the outer-join syntax with the lookup type and code matched against the base table columns.

Key Columns

The view exposes the following principal columns:

Common Use Cases and Queries

Typical scenarios include listing all products attached to a campaign, reporting item-level quantities and forecasts, and extracting product associations for integration. A representative query retrieving product associations for a given master object is:

SELECT ACTIVITY_PRODUCT_ID,
       MASTER_OBJECT_ID,
       LEVEL_TYPE,
       INVENTORY_ITEM_NUMBER,
       INVENTORY_ITEM_DESCRIPTION,
       CATEGORY_NAME,
       QUANTITY,
       UOM_CODE,
       SCAN_VALUE
FROM   APPS.AMS_ACT_PRODUCTS_V
WHERE  MASTER_OBJECT_ID = :p_object_id
AND    NVL(EXCLUDED_FLAG,'N') = 'N';

A scan-oriented query isolating rows with a populated scan value is:

SELECT ACTIVITY_PRODUCT_ID, INVENTORY_ITEM_NUMBER, SCAN_VALUE, SCAN_UNIT_FORECAST
FROM   APPS.AMS_ACT_PRODUCTS_V
WHERE  SCAN_VALUE IS NOT NULL;

Because descriptive values are resolved through outer joins, reports should guard against null item and category descriptions. Filtering on LEVEL_TYPE_CODE distinguishes product-level rows from category-level rows, and CHANNEL_ID can be used to aggregate forecasts by channel.