Search Results submit_project_forecast
Overview
PA_GENERATE_FORECAST_PUB is a public PL/SQL package in the APPS schema that supports the Oracle Projects forecasting process within Oracle E-Business Suite 12.1.1 and 12.2.2. Its primary business function is to automate the generation and maintenance of project forecast data, which organizations use to project future costs, revenue, and resource requirements across a project lifecycle. Forecasts are used for budget comparisons, funding decisions, and performance analysis. The package forms part of the Project Forecasting infrastructure and is classified as a public (PUB) API, meaning it is intended for invocation by external callers, including concurrent programs, workflows, and other application modules. It coordinates the creation of forecast versions and the population of forecast items and their detail records based on budget lines, periods, and resource assignments.
Key Procedures and Functions
The documented interface exposes five procedures and functions, each serving a distinct role in the forecasting lifecycle:
- MAINTAIN_BUDGET_VERSION — Creates, updates, or maintains the budget and forecast version records that underpin forecast generation. It manages version metadata used to segment forecast results.
- GENERATE_FORECAST — The core engine that produces forecast items from the applicable budget lines, periods, and resource assignments. It writes the resulting forecast structure used by downstream reporting.
- SUBMIT_PROJECT_FORECAST — Submits a project forecast generation request, typically by initiating the concurrent process that executes the forecast logic for one or more projects.
- SET_ERROR_DETAILS — Captures and records error information when forecast processing fails, enabling callers to retrieve diagnostic detail.
- GET_FORECAST_GEN_DATE — Returns the date on which the forecast was generated, supporting audit and versioning requirements.
No parameter lists are documented here; callers should consult the package specification for exact signatures.
Tables Accessed
The package reads and writes a broad set of Project Accounting tables through APPS synonyms. Budget and version data are held in PA_BUDGET_LINES, PA_BUDGET_LINES_S, and PA_BUDGET_VERSIONS, which supply the source amounts for forecasting. PA_PERIODS and PA_PERIODS_ALL (with GL_PERIODS) provide period calendar information used to align forecasts to accounting periods. PA_PROJECTS_ALL and PA_PROJECT_ASSIGNMENTS supply project and assignment context, while PA_RESOURCE_ASSIGNMENTS, PA_RESOURCE_ASSIGNMENTS_S, and PA_RESOURCES identify staffing and resource attributes. Forecast output is persisted in PA_FORECAST_ITEMS and PA_FORECAST_ITEM_DETAILS. Configuration and environment data come from PA_FORECASTING_OPTIONS_ALL and PA_IMPLEMENTATIONS. Together these tables allow the package to translate budgeted or assigned amounts into time-phased forecast entries.
Usage Notes
PA_GENERATE_FORECAST_PUB is typically invoked through the Project Forecasting concurrent program or via the Project Forecast workflow, which is why PA_FORECAST_WF appears among its referencing objects. It is also called by PA_FP_GEN_BUDGET_AMT_PUB and referenced by the PA_PROJECT_ASSIGNMENTS_V view, indicating integration with both budget amount generation and reporting layers. Custom code should call only the documented PUBLIC procedures, avoid direct DML on the underlying forecast tables, and handle errors through SET_ERROR_DETAILS. Because forecast generation can be resource-intensive, invocations are generally scheduled as concurrent requests rather than executed interactively. In 12.1.1 and 12.2.2 the package status is VALID, and its behavior is consistent with the shared Project Accounting data model across both releases.