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:
- AS_OPP_WORKSHEET_LINES (OW) — the primary opportunity/forecast worksheet line table; the driving table for both branches of the UNION.
- AS_FC_SALESFORCE_V (ASF) — provides SOURCE_FIRST_NAME, SOURCE_LAST_NAME, and SOURCE_NUMBER when the source is a salesforce resource.
- PER_ALL_PEOPLE_F (PA) — provides FIRST_NAME, LAST_NAME, and EMPLOYEE_NUMBER when the source is an employee.
- HZ_PARTIES (HZP) — customer/party name and party identifier.
- AS_LEADS_ALL (LEAD) — lead description.
- AS_STATUSES_VL (STATUS) — status code meaning.
- AS_SALES_STAGES_ALL_VL (STAGE) — sales stage name (outer-joined).
- AS_FORECAST_CATEGORIES (FC) and ASO_I_SALES_CREDIT_TYPES_V (CT) — forecast category and sales credit type names.
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
- SOURCE_FIRST_NAME / SOURCE_LAST_NAME / SOURCE_NUMBER — the identity of the forecast source; sourced from the salesforce view in branch one and from the person record in branch two.
- FORECAST_WORKSHEET_ID / OPP_WORKSHEET_LINE_ID — worksheet and line identifiers.
- DECISION_DATE, SALES_STAGE_ID, STAGE.NAME, WIN_PROBABILITY — pipeline stage and probability data.
- STATUS, STATUS.MEANING — worksheet line status.
- CURRENCY_CODE, WEIGHTED_AMOUNT, AMOUNT, WORST/FORECAST/BEST_FORECAST_AMOUNT — the forecast amount hierarchy, each with an accompanying flag column.
- CUSTOMER_ID, HZP.PARTY_NAME, HZP.PARTY_ID — customer identification.
- LEAD_ID, LEAD.DESCRIPTION — originating lead.
- SALES_GROUP_ID, PERIOD_NAME, FORECAST_CATEGORY_NAME, CT.NAME, SALESFORCE_ID — grouping and classification attributes.
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.
-
Not implemented in this database·Explore ASF module →
-
Not implemented in this database·Explore ASF module →
-
12.2.2 FND Design Data 12.2.2
-
12.1.1 FND Design Data 12.1.1