Results for “asf_forecast_oppws_histy_v”

4 results




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

Overview

ASF_FORECAST_OPPWS_HISTY_V is a reporting view in the Oracle E-Business Suite ASF (Sales Online / Sales Foundation) module. It presents a consolidated, historical perspective of forecast opportunity worksheet lines that have reached the SUBMITTED status. The view joins opportunity worksheet data to lead, party, sales stage, status, forecast category, sales credit type, and salesforce information, and it exposes the identity of the "source" associated with each worksheet line — the value a user searches for as SOURCE_FIRST_NAME. In ETRM 12.2.2 the view is documented but marked "Not implemented in this database," meaning its definition is shipped for reference and dependency tracking rather than created in every instance. It is most relevant to Oracle Sales Online forecasting, pipeline, and opportunity-history reporting.

Underlying Base Objects

The view is a UNION of two SELECT statements over the same core worksheet line table, differing only in how the source identity is derived (salesforce versus employee). Documented base objects include:

The join predicates tie each worksheet line to its salesforce ID, sales group ID, customer, lead, forecast category, credit type, and status, restricted to lines where OW.STATUS_CODE = 'SUBMITTED'.

Key Columns

Common Use Cases and Queries

The view supports forecast history reporting, pipeline-by-stage analysis, and source-attributed forecast rollups. A typical query retrieving source identity is:

  • SELECT source_first_name, source_last_name, source_number, period_name, forecast_amount FROM asf_forecast_oppws_histy_v WHERE period_name = :period;
  • Aggregating forecast amounts by sales group, forecast category, or win probability to analyze submitted opportunity worksheets.
  • Joining on CUSTOMER_ID or PARTY_ID to correlate historical forecasts with customer records.
  • Filtering by SALES_STAGE_ID or STATUS.MEANING to isolate stage-specific pipeline.

Because the object may not be implemented in a given database, scripts referencing it should verify existence against ALL_VIEWS before execution.