Search Results ams_event_headers_all_b




Overview

The AMS_EVENT_HEADERS_ALL_B table is a core data object within the Oracle E-Business Suite Marketing (AMS) module. It serves as the master repository for the definition of marketing events, which are organized marketing activities such as trade shows, seminars, or webinars. Crucially, this table stores definitions for both Master Events, which are the primary executable events, and Event Templates, which are reusable blueprints for creating new events. Its role is central to the marketing campaign lifecycle, providing the foundational header-level information from which specific event instances, schedules, and associated deliverables are managed. The '_ALL' and '_B' suffixes indicate it is a multi-organization access enabled (MOAC) table and a base table, respectively, meaning it holds transactional data and is the primary target for data manipulation.

Key Information Stored

The table's primary key is the EVENT_HEADER_ID, a unique system-generated identifier for each event or template. Based on the documented foreign key relationships, other critical columns include PARENT_EVENT_HEADER_ID, which enables hierarchical relationships between events (e.g., linking an event to its template). The FUND_SOURCE_ID links the event to a funding source, either from a campaign (AMS_CAMPAIGNS_ALL_B) or a dedicated fund (OZF_FUNDS_ALL_B). Key operational columns include OWNER_USER_ID and COORDINATOR_ID, which reference the JTF_RS_RESOURCE_EXTNS table to assign responsibility. The USER_STATUS_ID links to AMS_USER_STATUSES_B to track the event's lifecycle status (e.g., Planned, Active, Completed), while SETUP_TYPE_ID references AMS_CUSTOM_SETUPS_B for configuration. The MAIN_LANGUAGE_CODE and APPLICATION_ID columns provide localization and application context.

Common Use Cases and Queries

A primary use case is generating reports on all events within a specific campaign or for a given owner. Developers often query this table to retrieve event definitions for integration with other systems or to drive custom workflow processes. Common SQL patterns include joining to its status and resource tables for comprehensive reporting. For example, to list active events with their owners:

  • SELECT eh.EVENT_HEADER_ID, eh.EVENT_NAME, us.MEANING STATUS, res.RESOURCE_NAME OWNER FROM AMS_EVENT_HEADERS_ALL_B eh, AMS_USER_STATUSES_B us, JTF_RS_RESOURCE_EXTNS res WHERE eh.USER_STATUS_ID = us.USER_STATUS_ID AND eh.OWNER_USER_ID = res.RESOURCE_ID AND us.MEANING = 'ACTIVE';

Another critical pattern involves querying the relationship between a master event and its template using the PARENT_EVENT_HEADER_ID self-join. Data from this table is also essential for budgeting, forecasting, and measuring event ROI by linking to the numerous "ACT_" tables documented.

Related Objects

The table has extensive relationships, as evidenced by its foreign keys. Key parent/dimension tables include:

  • AMS_EVENT_HEADERS_ALL_B (Self): Via PARENT_EVENT_HEADER_ID for event templates.
  • AMS_CAMPAIGNS_ALL_B: Via FUND_SOURCE_ID for campaign-funded events.
  • OZF_FUNDS_ALL_B: Via FUND_SOURCE_ID for separately funded events.
  • JTF_RS_RESOURCE_EXTNS: Via OWNER_USER_ID and COORDINATOR_ID.
  • AMS_USER_STATUSES_B: Via USER_STATUS_ID (for header status) and EVENT_HEADER_ID (for line status).
  • FND_LANGUAGES & FND_APPLICATION: For localization and application metadata.

It acts as a parent to numerous activity-related child tables, including: