Search Results plan_class_code
Overview
PA_FINPLAN_TYPES_V is a consolidated Oracle E-Business Suite view owned by the APPS schema within the Projects (PA) module. Its purpose is to present every valid budget type and financial plan type that a project may use for its various business functions. Rather than forcing reporting and integration consumers to query multiple base tables and resolve context-sensitive LOV logic themselves, the view delivers a single, unified result set combining both legacy budget types and the newer financial plan types.
The view is classified as VALID in ETRM for both 12.1.1 and 12.2.2, and it exposes a discriminator column, FP_TYPE_CODE, whose values are either 'BUDGET_TYPE' or 'PLAN_TYPE'. This distinguishes the origin of each row. Because the view is project-context sensitive, it relies on PA_BUDGET_PUB.GET_PROJECT_ID to determine the current project, meaning results can vary depending on the runtime project context established by the calling form, report, or concurrent program. Typical consumers include project setup forms, budgeting and forecasting pages, and custom reporting solutions that need to enumerate the plan types available to a given project.
Underlying Base Objects
The documented base objects referenced by PA_FINPLAN_TYPES_V are:
- PA_BUDGET_TYPES (synonym) — source of legacy budget type rows.
- PA_FIN_PLAN_TYPES_B (synonym) — base table for financial plan type definitions.
- PA_FIN_PLAN_TYPES_VL (view) — the multilingual (translated) view over plan types, supplying name and description.
- PA_PROJ_FP_OPTIONS (synonym) — project-level financial plan options that determine which plan types are enabled.
- PA_BUDGET_PUB (package) — provides GET_PROJECT_ID, used to bind the query to the active project context.
The definition is a UNION of two branches. The first branch selects from PA_BUDGET_TYPES with a synthetic FIN_PLAN_TYPE_ID of -1, filtering out the FORECASTING_BUDGET_TYPE and restricting to budget types active on the current date (START_DATE_ACTIVE through NVL(END_DATE_ACTIVE, SYSDATE)). It further excludes any budget type already migrated to a financial plan type, as detected through the NOT EXISTS subquery against PA_FIN_PLAN_TYPES_B and PA_PROJ_FP_OPTIONS. The second branch joins PA_FIN_PLAN_TYPES_VL to PA_PROJ_FP_OPTIONS, returning the actual plan type ID, translated name and description, plan class, workflow flag, approved cost/revenue plan type flags, primary forecast flags, and workplan usage flag. A mapped column, PO.FIN_PLAN_PREFERENCE_CODE exposed as BUDGET_AMOUNT_CODE, carries through the project-specific preference setting.
Key Columns
- FIN_PLAN_TYPE_ID — Identifier for a plan type; returns -1 for legacy budget type rows.
- NAME / DESCRIPTION — Display name and description of the budget or plan type.
- PRE_DEFINED_FLAG — Indicates whether the type is seeded/predefined (Y/N).
- ENABLE_WF_FLAG — Whether workflow is enabled for the type.
- PLAN_CLASS_CODE — Plan classification (populated only for plan type rows).
- MIGRATED_FRM_BDGT_TYP_CODE — The budget type from which a plan type was migrated.
- APPROVED_COST_PLAN_TYPE_FLAG / APPROVED_REV_PLAN_TYPE_FLAG — Flags denoting approved cost and revenue plan types.
- FP_TYPE_CODE — 'BUDGET_TYPE' or 'PLAN_TYPE', the union discriminator.
- BUDGET_TYPE_CODE / BUDGET_AMOUNT_CODE — Legacy budget type code, and amount/preference code respectively.
- PRIMARY_COST_FORECAST_FLAG / PRIMARY_REV_FORECAST_FLAG — Identify the primary cost and revenue forecast plan types.
- USE_FOR_WORKPLAN_FLAG — Whether the type is usable for workplan purposes.
Common Use Cases and Queries
Typical uses include populating LOVs for plan type selection, validating plan type eligibility on project forms, and building custom budget-versus-forecast comparison reports. Because filtering depends on project context, queries are usually invoked inside a form or after PA_BUDGET_PUB has been primed with a project ID.
Listing all available plan types for the current project context:
SELECT fin_plan_type_id, name, description, fp_type_code,
approved_cost_plan_type_flag, approved_rev_plan_type_flag,
primary_cost_forecast_flag, primary_rev_forecast_flag
FROM apps.pa_finplan_types_v
ORDER BY fp_type_code, name;
Separating legacy budget types from migrated plan types:
SELECT fp_type_code, COUNT(*) FROM apps.pa_finplan_types_v GROUP BY fp_type_code;
Identifying the primary forecast plan types in use:
SELECT name, description, plan_class_code FROM apps.pa_finplan_types_v WHERE fp_type_code = 'PLAN_TYPE' AND NVL(primary_cost_forecast_flag,'N') = 'Y';
Developers should note that the view is context-dependent and returns rows conditionally based on active date ranges and migration status; results therefore cannot be assumed identical across projects or over time.
-
View: PA_FINPLAN_TYPES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FINPLAN_TYPES_V, object_name:PA_FINPLAN_TYPES_V, status:VALID, product: PA - Projects , description: This view displays all the valid budget types and plan types which are used for different business purposes of a project. , implementation_dba_data: APPS.PA_FINPLAN_TYPES_V ,
-
View: PA_PROJ_FINPLAN_TYPES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PROJ_FINPLAN_TYPES_V, object_name:PA_PROJ_FINPLAN_TYPES_V, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_PROJ_FINPLAN_TYPES_V ,
-
View: PA_PROJ_FINPLAN_TYPES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PROJ_FINPLAN_TYPES_V, object_name:PA_PROJ_FINPLAN_TYPES_V, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_PROJ_FINPLAN_TYPES_V ,
-
View: PA_FINPLAN_TYPES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FINPLAN_TYPES_V, object_name:PA_FINPLAN_TYPES_V, status:VALID, product: PA - Projects , description: This view displays all the valid budget types and plan types which are used for different business purposes of a project. , implementation_dba_data: APPS.PA_FINPLAN_TYPES_V ,
-
View: PA_FP_WEBADI_NP_CUSTOM_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FP_WEBADI_NP_CUSTOM_V, object_name:PA_FP_WEBADI_NP_CUSTOM_V, status:VALID, product: PA - Projects , description: This view is used in Financial Planning to customize the non-periodic budget/forecast download to Excel Spreadsheet. , implementation_dba_data: APPS.PA_FP_WEBADI_NP_CUSTOM_V ,
-
View: PA_FP_WEBADI_PERIODIC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FP_WEBADI_PERIODIC_V, object_name:PA_FP_WEBADI_PERIODIC_V, status:VALID, product: PA - Projects , description: This view is used in Financial Planning to download the periodic budget/forecast data into Excel Spreadsheet. , implementation_dba_data: APPS.PA_FP_WEBADI_PERIODIC_V ,
-
View: PA_FP_WEBADI_PERIODIC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FP_WEBADI_PERIODIC_V, object_name:PA_FP_WEBADI_PERIODIC_V, status:VALID, product: PA - Projects , description: This view is used in Financial Planning to download the periodic budget/forecast data into Excel Spreadsheet. , implementation_dba_data: APPS.PA_FP_WEBADI_PERIODIC_V ,
-
View: PA_FP_WEBADI_NP_CUSTOM_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FP_WEBADI_NP_CUSTOM_V, object_name:PA_FP_WEBADI_NP_CUSTOM_V, status:VALID, product: PA - Projects , description: This view is used in Financial Planning to customize the non-periodic budget/forecast download to Excel Spreadsheet. , implementation_dba_data: APPS.PA_FP_WEBADI_NP_CUSTOM_V ,
-
View: PA_FIN_PLAN_TYPES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FIN_PLAN_TYPES_VL, object_name:PA_FIN_PLAN_TYPES_VL, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_FIN_PLAN_TYPES_VL ,
-
View: PA_FIN_PLAN_TYPES_VL_R
12.2.2
product: PA - Projects , implementation_dba_data: Not implemented in this database ,
-
View: PA_FIN_PLAN_TYPES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FIN_PLAN_TYPES_VL, object_name:PA_FIN_PLAN_TYPES_VL, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_FIN_PLAN_TYPES_VL ,
-
View: PA_FIN_PLAN_TYPES_VL_R
12.1.1
product: PA - Projects , implementation_dba_data: Not implemented in this database ,
-
View: PA_FP_WEBADI_NON_PERIODIC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FP_WEBADI_NON_PERIODIC_V, object_name:PA_FP_WEBADI_NON_PERIODIC_V, status:VALID, product: PA - Projects , description: This view is used in Financial Planning to download non-periodic budget/forecast data into Excel Spreadsheet. , implementation_dba_data: APPS.PA_FP_WEBADI_NON_PERIODIC_V ,
-
View: PA_FP_WEBADI_NON_PERIODIC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FP_WEBADI_NON_PERIODIC_V, object_name:PA_FP_WEBADI_NON_PERIODIC_V, status:VALID, product: PA - Projects , description: This view is used in Financial Planning to download non-periodic budget/forecast data into Excel Spreadsheet. , implementation_dba_data: APPS.PA_FP_WEBADI_NON_PERIODIC_V ,
-
View: PA_FIN_PLAN_TYPES_B_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FIN_PLAN_TYPES_B_V, object_name:PA_FIN_PLAN_TYPES_B_V, status:VALID, product: PA - Projects , description: This view is used by the Plan Types page. It displays all baselined plan types for a given project id. , implementation_dba_data: APPS.PA_FIN_PLAN_TYPES_B_V ,
-
View: PA_FIN_PLAN_TYPES_W_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FIN_PLAN_TYPES_W_V, object_name:PA_FIN_PLAN_TYPES_W_V, status:VALID, product: PA - Projects , description: This view is used for the Plan Types page. It retrieves information for all plan types that are current working for a given project id. , implementation_dba_data: APPS.PA_FIN_PLAN_TYPES_W_V ,
-
View: PA_FIN_PLAN_TYPES_W_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FIN_PLAN_TYPES_W_V, object_name:PA_FIN_PLAN_TYPES_W_V, status:VALID, product: PA - Projects , description: This view is used for the Plan Types page. It retrieves information for all plan types that are current working for a given project id. , implementation_dba_data: APPS.PA_FIN_PLAN_TYPES_W_V ,
-
View: PA_FIN_PLAN_TYPES_B_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FIN_PLAN_TYPES_B_V, object_name:PA_FIN_PLAN_TYPES_B_V, status:VALID, product: PA - Projects , description: This view is used by the Plan Types page. It displays all baselined plan types for a given project id. , implementation_dba_data: APPS.PA_FIN_PLAN_TYPES_B_V ,