Search Results xtr_cash_fcst
Overview
XTR_CASH_FCST is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite. It belongs to the Treasury (XTR) product family and supports the cash forecasting functionality delivered through the Treasury/Enterprise Cash Management modules. Cash forecasting in Oracle EBS relies on the CE_FORECASTS schema, which stores forecast headers, forecast rows, currencies, and error information used to project future cash positions across legal entities, bank accounts, and internal organizations.
The package is classified as OTHER in the ETRM metadata, indicating that it is not a formalized public API but rather an internal implementation unit invoked by other Treasury components. It depends on standard Oracle General Ledger and Application Object Library tables for currency definitions, period definitions, and exchange rate lookup, and on XTR-specific tables for party information, external cash flows, and forecast period configuration. Its principal responsibility is to construct and generate a cash forecast report based on run-time parameters supplied by the caller, resolving row-level forecast data against the underlying forecast definition and reconciling the result with external cash flow records.
Key Procedures and Functions
The package exposes four documented program units:
- SET_PARAMETERS — Initializes the package-level global variables that drive forecast execution, including forecast header identifier, forecast run name, start period and date, forecast currency, source currency type and source currency, exchange type, row range (from and to), calendar name, legal entity identifier, sub-request identifier, and organization identifiers. These globals are declared at package scope and are consumed by the remaining routines.
- FORECAST — The core forecast computation routine. The header comment identifies the intended call context as
XTR_CASH_FCST.Forecast. It processes forecast rows against the header definition, applying aging type, overdue transaction handling, and period set information to produce the projected cash position. It is the entry point that orchestrates the underlying data retrieval and calculation logic. - CREATE_FORECAST — Responsible for persisting a forecast definition or its resulting rows into the CE_FORECASTS, CE_FORECAST_HEADERS, and CE_FORECAST_ROWS tables, and for recording any errors encountered during generation into CE_FORECAST_ERRORS.
- PRINT_REPORT — Produces the formatted output of a completed forecast run, drawing on the row information type (RowInfoRec/RowInfoTab) and the header and run-time globals populated earlier in the execution flow.
Tables Accessed
The package references the following tables through APPS synonyms:
- CE_FORECASTS, CE_FORECASTS_S, CE_FORECAST_HEADERS, CE_FORECAST_HEADERS_S, CE_FORECAST_ROWS, CE_FORECAST_ERRORS — the core cash forecast schema, providing header definitions, row-level forecast amounts, sequence-generated identifiers, and error logging.
- FND_CURRENCIES — currency code validation and retrieval for the forecast and source currencies.
- GL_DAILY_RATES — exchange rate lookup based on the specified conversion type.
- GL_PERIODS, GL_PERIOD_SETS, GL_TRANSACTION_DATES — period and calendar resolution for forecast start periods and transaction dating.
- XTR_PARTY_INFO, XTR_EXTERNAL_CASHFLOWS, XTR_FORECAST_PERIODS — Treasury-specific party, external cash flow, and forecast period configuration data.
- FND_NEW_MESSAGES — message text retrieval for error and status reporting.
Usage Notes
XTR_CASH_FCST is an internal package rather than a published API. It is referenced by two other packages within the Treasury module and is typically invoked indirectly through the Cash Forecasting concurrent programs or Treasury forms rather than called directly from custom code. Customizations that need to generate or reprint a cash forecast should ideally invoke the standard concurrent program submission rather than calling XTR_CASH_FCST directly, because the package relies on package-level global state initialized by SET_PARAMETERS and assumes the caller has already populated the run-time context. The header comment shows the version stamp xtrcshfs.pls 120.1, indicating the source is an original release file maintained at the 12.1.1 level and carried forward into 12.2.2.
-
SYNONYM: APPS.CE_FORECAST_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CE_FORECAST_HEADERS, status:VALID,
-
SYNONYM: APPS.CE_FORECAST_ROWS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CE_FORECAST_ROWS, status:VALID,
-
PACKAGE: APPS.XTR_CASH_FCST
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XTR_CASH_FCST, status:VALID,
-
PACKAGE: APPS.XTR_CASH_FCST
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XTR_CASH_FCST, status:VALID,
-
SYNONYM: APPS.CE_FORECASTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_FORECASTS, status:VALID,
-
SYNONYM: APPS.CE_FORECAST_ROWS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_FORECAST_ROWS, status:VALID,
-
PACKAGE BODY: APPS.XTR_CASH_FCST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CASH_FCST, status:VALID,
-
SYNONYM: APPS.CE_FORECASTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CE_FORECASTS, status:VALID,
-
SYNONYM: APPS.CE_FORECAST_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_FORECAST_HEADERS, status:VALID,
-
PACKAGE BODY: APPS.XTR_CASH_FCST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CASH_FCST, status:VALID,
-
SYNONYM: APPS.XTR_PARTY_INFO
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XTR_PARTY_INFO, status:VALID,
-
SYNONYM: APPS.XTR_PARTY_INFO
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XTR_PARTY_INFO, status:VALID,
-
SYNONYM: APPS.CE_FORECASTS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CE_FORECASTS_S, status:VALID,
-
SYNONYM: APPS.CE_FORECASTS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_FORECASTS_S, status:VALID,
-
PACKAGE BODY: APPS.XTR_FORECAST_REMOTE_SOURCES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_FORECAST_REMOTE_SOURCES, status:VALID,
-
PACKAGE: APPS.CE_FORECAST_ERRORS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CE_FORECAST_ERRORS_PKG, status:VALID,
-
PACKAGE: APPS.CE_FORECAST_ERRORS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CE_FORECAST_ERRORS_PKG, status:VALID,
-
SYNONYM: APPS.XTR_FORECAST_PERIODS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XTR_FORECAST_PERIODS, status:VALID,
-
PACKAGE: APPS.XTR_CSH_FCST_POP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XTR_CSH_FCST_POP, status:VALID,
-
PACKAGE: APPS.CEFC_VIEW_CONST
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CEFC_VIEW_CONST, status:VALID,
-
SYNONYM: APPS.XTR_EXTERNAL_CASHFLOWS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XTR_EXTERNAL_CASHFLOWS, status:VALID,
-
SYNONYM: APPS.CE_FORECAST_HEADERS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CE_FORECAST_HEADERS_S, status:VALID,
-
SYNONYM: APPS.XTR_EXTERNAL_CASHFLOWS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XTR_EXTERNAL_CASHFLOWS, status:VALID,
-
SYNONYM: APPS.CE_FORECAST_ERRORS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_FORECAST_ERRORS, status:VALID,
-
SYNONYM: APPS.XTR_FORECAST_PERIODS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XTR_FORECAST_PERIODS, status:VALID,
-
PACKAGE: APPS.XTR_CSH_FCST_POP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XTR_CSH_FCST_POP, status:VALID,
-
SYNONYM: APPS.CE_FORECAST_ERRORS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CE_FORECAST_ERRORS, status:VALID,
-
SYNONYM: APPS.CE_FORECAST_HEADERS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_FORECAST_HEADERS_S, status:VALID,
-
PACKAGE: APPS.CEFC_VIEW_CONST
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CEFC_VIEW_CONST, status:VALID,
-
PACKAGE BODY: APPS.XTR_FORECAST_REMOTE_SOURCES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_FORECAST_REMOTE_SOURCES, status:VALID,
-
PACKAGE: APPS.XTR_DEBUG_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XTR_DEBUG_PKG, status:VALID,
-
SYNONYM: APPS.GL_TRANSACTION_DATES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_TRANSACTION_DATES, status:VALID,
-
SYNONYM: APPS.GL_PERIOD_SETS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_PERIOD_SETS, status:VALID,
-
SYNONYM: APPS.GL_TRANSACTION_DATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_TRANSACTION_DATES, status:VALID,
-
PACKAGE BODY: APPS.XTR_CSH_FCST_POP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CSH_FCST_POP, status:VALID,
-
PACKAGE BODY: APPS.XTR_CSH_FCST_POP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CSH_FCST_POP, status:VALID,
-
PACKAGE: APPS.XTR_DEBUG_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XTR_DEBUG_PKG, status:VALID,
-
SYNONYM: APPS.GL_PERIOD_SETS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_PERIOD_SETS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.CE_FORECAST_ORGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CE.CE_FORECAST_ORGS_V, object_name:CE_FORECAST_ORGS_V, status:VALID,
-
VIEW: APPS.CE_FORECAST_ORGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CE.CE_FORECAST_ORGS_V, object_name:CE_FORECAST_ORGS_V, status:VALID,
-
PACKAGE: APPS.XTR_CASH_FCST
12.1.1
-
PACKAGE: APPS.XTR_CASH_FCST
12.2.2
-
SYNONYM: APPS.GL_DAILY_RATES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_DAILY_RATES, status:VALID,
-
SYNONYM: APPS.GL_DAILY_RATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_DAILY_RATES, status:VALID,
-
VIEW: APPS.GL_LEDGER_LE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_LE_V, object_name:GL_LEDGER_LE_V, status:VALID,
-
VIEW: APPS.GL_LEDGER_LE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_LE_V, object_name:GL_LEDGER_LE_V, status:VALID,