Search Results forecast_exists_flag
Overview
APPS.PA_FCST_PERIODIC_DTL_V is a reporting view in the Oracle EBS Projects (PA) module that exposes forecast data in a period-by-period, project-by-project matrix layout. It is designed to support periodic forecast reporting and integration scenarios where forecast values must be presented across a horizontal time axis (periods) rather than in a flat transactional format. The view is defined in the APPS schema and is available in both 12.1.1 and 12.2.2 environments.
The most distinctive structural element of this view is the forecast_exists_flag column, which the user searched for. This flag is a literal selector that takes the values 'Y' or 'N'. The 'Y' rows represent projects for which forecast data is available, sourced from PA_FCST_PROJECT_SUM_V. The 'N' rows are placeholder or "no forecast" indicators associated with project_id 0 and null Y1 attributes. This design allows consumers of the view to distinguish between projects that genuinely carry forecasted amounts and those that do not, without requiring an outer join or separate query.
Underlying Base Objects
The view is constructed from a UNION ALL of three branches. The first branch draws project-level, period-level forecast summaries from PA_FCST_PROJECT_SUM_V, joining project identity and organization/customer descriptors. The second branch combines PA_FCST_PROJECT_LIST_V with HR_ALL_ORGANIZATION_UNITS_TL for the carrying-out organization name, PA_FCST_PERIODS_TMP for the period calendar, and an inline filter derived from the PA_FCST_GLOBAL package functions GetProjFcstStartDate and GetProjFcstEndDate. A NOT EXISTS subquery over PA_BUDGET_VERSIONS, PA_RESOURCE_ASSIGNMENTS, and PA_BUDGET_LINES suppresses periods already represented, using resource_list_member_id = 103 and budget_type_code = 'FORECASTING_BUDGET_TYPE'. The third branch supplies the 'N' placeholder rows.
Supporting objects documented for the view include FND_GLOBAL and FND_PROFILE (used via userenv('LANG') and profile access), PA_UTILS, and PA_PROJECTS_MAINT_UTILS. The documentation confirms PA_FCST_GLOBAL, PA_FCST_PERIODS_TMP, PA_FCST_PROJECT_LIST_V, PA_FCST_PROJECT_SUM_V, HR_ALL_ORGANIZATION_UNITS_TL, PA_BUDGET_LINES, PA_BUDGET_VERSIONS, PA_RESOURCE_ASSIGNMENTS, and DUAL as referenced base objects.
Key Columns
- forecast_exists_flag — Literal 'Y' or 'N' indicator. 'Y' denotes a real forecast row; 'N' denotes a placeholder with zero project_id.
- project_id — The project identifier. Zero for placeholder rows.
- y1 — Concatenation of project name and project number in the form NAME(NUMBER). Null on placeholder rows.
- y1_leftattribute1 / 2 / 3 — Descriptive attributes: project organization name, customer name, and project currency code respectively.
- y1_seq — DENSE_RANK() OVER (ORDER BY y1, project_id), providing a stable row sequence across the project axis.
- x1 — The period name, forming the horizontal (period) axis.
- x1_seq — DENSE_RANK() OVER (PARTITION BY project_id ORDER BY period_start_date), sequencing periods within each project.
- value — The forecasted amount for the project/period intersection. Placeholder rows carry a value of 0.
- period_start_date — Start date of the period, used for both ordering and calendar alignment.
Common Use Cases and Queries
A typical use is to retrieve only genuine forecast rows for a project and pivot periods into columns for a periodic forecast report:
SELECT project_id, y1, x1, value FROM apps.pa_fcst_periodic_dtl_v WHERE forecast_exists_flag = 'Y' AND project_id = :p_project_id ORDER BY x1_seq;
To identify projects that currently have no forecast entries, query the placeholder rows:
SELECT forecast_exists_flag FROM apps.pa_fcst_periodic_dtl_v WHERE forecast_exists_flag = 'N';
Because x1_seq and y1_seq are exposed directly, report writers can drive matrix layouts or BI Publisher horizontal tables without recomputing ranking logic. Filtering aggressively on forecast_exists_flag and project_id is recommended, as the view performs multiple UNION ALL branches and inline function calls that can be costly at full scale.
-
VIEW: APPS.PA_FCST_PERIODIC_DTL_V
12.1.1
-
VIEW: APPS.PA_FCST_PERIODIC_DTL_V
12.2.2
-
View: PA_FCST_PERIODIC_DTL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PERIODIC_DTL_V, object_name:PA_FCST_PERIODIC_DTL_V, status:VALID, product: PA - Projects , description: PA_PROJ_FCST_HDR_V is a view that shows project forecasting , implementation_dba_data: APPS.PA_FCST_PERIODIC_DTL_V ,
-
View: PA_FCST_PERIODIC_DTL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PERIODIC_DTL_V, object_name:PA_FCST_PERIODIC_DTL_V, status:VALID, product: PA - Projects , description: PA_PROJ_FCST_HDR_V is a view that shows project forecasting , implementation_dba_data: APPS.PA_FCST_PERIODIC_DTL_V ,
-
VIEW: APPS.PA_FCST_PERIODIC_HDR_V
12.2.2
-
View: PA_FCST_PERIODIC_HDR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PERIODIC_HDR_V, object_name:PA_FCST_PERIODIC_HDR_V, status:VALID, product: PA - Projects , description: PA_PROJ_FCST_DTL_V is a view that shows project detail forecasting , implementation_dba_data: APPS.PA_FCST_PERIODIC_HDR_V ,
-
View: PA_FCST_PERIODIC_HDR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PERIODIC_HDR_V, object_name:PA_FCST_PERIODIC_HDR_V, status:VALID, product: PA - Projects , description: PA_PROJ_FCST_DTL_V is a view that shows project detail forecasting , implementation_dba_data: APPS.PA_FCST_PERIODIC_HDR_V ,
-
VIEW: APPS.PA_FCST_PERIODIC_HDR_V
12.1.1
-
VIEW: APPS.PA_FCST_PERIODIC_DTL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PERIODIC_DTL_V, object_name:PA_FCST_PERIODIC_DTL_V, status:VALID,
-
VIEW: APPS.PA_FCST_PROJECT_SUM_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PROJECT_SUM_V, object_name:PA_FCST_PROJECT_SUM_V, status:VALID,
-
VIEW: APPS.PA_FCST_PERIODIC_HDR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PERIODIC_HDR_V, object_name:PA_FCST_PERIODIC_HDR_V, status:VALID,
-
VIEW: APPS.PA_FCST_PERIODIC_HDR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PERIODIC_HDR_V, object_name:PA_FCST_PERIODIC_HDR_V, status:VALID,
-
VIEW: APPS.PA_FCST_PERIODIC_DTL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PERIODIC_DTL_V, object_name:PA_FCST_PERIODIC_DTL_V, status:VALID,
-
View: PA_FCST_PROJECT_SUM_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PROJECT_SUM_V, object_name:PA_FCST_PROJECT_SUM_V, status:VALID, product: PA - Projects , description: PA_PROJ_FCST_HDR_V is a view that shows project forecasting , implementation_dba_data: APPS.PA_FCST_PROJECT_SUM_V ,
-
VIEW: APPS.PA_FCST_PROJECT_SUM_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PROJECT_SUM_V, object_name:PA_FCST_PROJECT_SUM_V, status:VALID,
-
View: PA_FCST_PROJECT_SUM_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FCST_PROJECT_SUM_V, object_name:PA_FCST_PROJECT_SUM_V, status:VALID, product: PA - Projects , description: PA_PROJ_FCST_HDR_V is a view that shows project forecasting , implementation_dba_data: APPS.PA_FCST_PROJECT_SUM_V ,
-
VIEW: APPS.PA_FCST_PROJECT_SUM_V
12.2.2
-
VIEW: APPS.PA_FCST_PROJECT_SUM_V
12.1.1
-
eTRM - PA Tables and Views
12.1.1
-
eTRM - PA Tables and Views
12.2.2