Results for “base_quantity”

6 results




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

Overview

AMS_ACT_FORECASTS_ALL (owner: AMS) is a Marketing module table that stores the forecast lines planned for a marketing activity. Each row represents a forecasted quantity for a specific activity, forecast type, period, and unit of measure, together with the supporting base-quantity, forward-buy, and quota information used by the activity forecasting engine. In Oracle EBS 12.1.1 and 12.2.2 the table participates in the multi-org data model: ORG_ID and SECURITY_GROUP_ID are present, while the ALL suffix indicates that the physical table is partitioned by operating unit through the standard _ALL synonym and policy infrastructure. The table carries the standard 11 concurrent-program audit columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, REQUEST_ID), OBJECT_VERSION_NUMBER for optimistic locking, and a DESCRIPTIVE_FLEXFIELD-style CONTEXT/ATTRIBUTE1-15 block for extensibility.

Based on the foreign-key topology, ETRM classification suggests this object is best modeled as a satellite-leaning entity: it holds many descriptive, forecast-specific attributes that depend on a single primary key and reference higher-level business entities (campaigns, security groups) rather than acting as a link between them. Treat FORECAST_ID as the natural business key in a Data Vault satellite design.

Key Information Stored

The primary key is FORECAST_ID, enforced by AMS_ACT_FORECASTS_ALL_PK and also mirrored by the unique index AMS_ACT_FORECASTS_ALL_U1, making FORECAST_ID both the surrogate and business-key candidate. The most significant columns are:

Common Use Cases and Queries

Typical usage is forecasting and campaign planning: retrieving all forecast lines for a given activity, comparing planned to remaining quantities, and reporting forecast consumption by period. A representative join to the parent campaign is:

  • SELECT f.FORECAST_ID, f.FORECAST_DATE, f.FORECAST_QUANTITY, f.FORECAST_REMAINING_QUANTITY FROM AMS.AMS_ACT_FORECASTS_ALL f, AMS.AMS_CAMPAIGNS_ALL_B c WHERE f.ACT_FCAST_USED_BY_ID = c.CAMPAIGN_ID;
  • Filter by ORG_ID and SECURITY_GROUP_ID to respect multi-org and security-group visibility in reporting.
  • Aggregate FORECAST_QUANTITY by FORECAST_PERIOD_ID, FORECAST_CALENDAR, or HIERARCHY_LEVEL for period-level and hierarchy roll-ups.
  • Track generation status with FORECAST_GEN_PROGRESS and FREEZE_FLAG for batch forecast runs.

Related Objects

  • AMS_CAMPAIGNS_ALL_B — referenced via AMS_ACT_FORECASTS_ALL.ACT_FCAST_USED_BY_ID; the campaign that uses the forecast.
  • AMS_MISC_COST_DIS_ALL_B — references this table through FORECAST_ID, holding associated miscellaneous cost/discount detail.
  • FND_SECURITY_GROUPS — referenced by SECURITY_GROUP_ID for data security.
  • AMS_ACT_FORECASTS_ALL_PK / AMS_ACT_FORECASTS_ALL_U1 — primary key constraint and unique index on FORECAST_ID.
  • ORG_ID-related org objects — operating-unit and security-group views used by the _ALL synonym layer.