Results for “ams_act_attachments_v”

22 results




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

Overview

AMS_ACT_ATTACHMENTS_V is an APPS-owned database view in the Oracle E-Business Suite Marketing (AMS) module. It exposes attachment records associated with marketing activities, presenting a denormalized, query-friendly projection of underlying attachment data together with the owning user name and a decoded attachment type meaning. Because it is a view rather than a base table, it carries no storage of its own and is intended strictly for read access in reporting, integration, and extension scenarios.

The view is listed as VALID against both Oracle EBS 12.1.1 and 12.2.2, and the documented metadata is identical across these releases. Its principal value lies in abstracting the join logic among the JTF attachment framework, the FND user directory, and the AMS attachment-type lookup, so that consumers need not re-implement those joins. The status column DEFAULT_STYLE_SHEET is surfaced directly from the JTF attachment layer and is relevant where attachment rendering or formatting metadata must be inspected.

Underlying Base Objects

Per the documented view text, AMS_ACT_ATTACHMENTS_V is defined over the following referenced objects:

Oracle documents the base table as APPS.AMS_ACT_ATTACHMENTS_V, with the inner joins restricted as shown. The file format column is populated with a literal space rather than derived from a file-format lookup.

Key Columns

Common Use Cases and Queries

Typical consumers of this view include custom reports, concurrent programs, and integration extracts that need attachment details for marketing activities without joining the JTF, FND, and lookup layers independently.

Listing attachments for a given owning user:

SELECT attachment_id, file_name, attachment_type, meaning,
       default_style_sheet, display_url, creation_date
FROM   apps.ams_act_attachments_v
WHERE  owner_user_id = :p_user_id
AND    enabled_flag  = 'Y'
ORDER BY creation_date DESC;

Resolving attachment types to their meanings for reporting:

SELECT attachment_id, attachment_used_by_id, attachment_type,
       meaning, link_url, default_style_sheet
FROM   apps.ams_act_attachments_v
WHERE  attachment_used_by_id = :p_activity_id
AND    enabled_flag = 'Y';

Filtering file-based attachments and exposing their display configuration:

SELECT file_name, file_extension, display_width,
       display_height, display_location, default_style_sheet
FROM   apps.ams_act_attachments_v
WHERE  file_id IS NOT NULL;

Because the view joins FND_USER and AMS_LOOKUPS internally, all such queries implicitly require an enabled, resolvable user and a valid AMS_ATTACHMENT_TYPE lookup code; rows without a matching lookup or user will not be returned.