Search Results schedule_source_code




Overview

AMS_P_CAMPAIGN_SCHEDS_V is a public view owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It belongs to the AMS (Marketing) product family and returns campaign schedule information for reporting and integration purposes. A campaign schedule represents a dated execution instance of a marketing campaign, carrying its own status, activity type, media, channel, budget, and approval attributes. The view consolidates this data with descriptive values resolved from lookup, media, channel, campaign, and timezone sources so that downstream consumers—such as the Marketing dashboard, concurrent programs, and custom extracts—can query a single denormalized result set without reconstructing joins themselves. Because it is a public (APPS-owned) view, it is treated as a supported interface for customer reporting, though its columns reflect internal AMS data structures and should be used with a stable column list rather than SELECT *.

Underlying Base Objects

The documented base objects referenced by the view are:

The view is defined as a UNION, with the first branch restricted to schedule records whose activity type is not EVENTS and whose parent campaign is active and marked for display. Filtering enforces ACTIVE_FLAG = 'Y' on schedules and campaigns, and language-sensitive joins use USERENV('LANG') for media, channel, and timezone translations.

Key Columns

Common Use Cases and Queries

Typical usage includes operational status reporting, schedule pipeline analysis, and budget tracking by campaign or channel.

SELECT schedule_id, campaign_name, schedule_status,
       start_date_time, end_date_time, channel_name
FROM   apps.ams_p_campaign_scheds_v
WHERE  schedule_status = 'Active'
ORDER BY start_date_time;
SELECT campaign_name, schedule_status, COUNT(*)
FROM   apps.ams_p_campaign_scheds_v
GROUP BY campaign_name, schedule_status;
SELECT schedule_id, campaign_name, budget_amount_fc
FROM   apps.ams_p_campaign_scheds_v
WHERE  start_date_time BETWEEN :p_from AND :p_to
AND    channel_name = :p_channel;

Because SCHEDULE_STATUS is derived from a lookup join, status values depend on the seeded meanings of AMS_CAMPAIGN_SCHEDULE_STATUS; joins back to code columns should use STATUS_CODE for exact matching. The view is read-only and is best consumed through a report or an extract rather than as a DML target.