Search Results pa_budget_lines




Overview

The PA_BUDGET_LINES table is a core data structure within the Oracle E-Business Suite Projects (PA) module, specifically for releases 12.1.1 and 12.2.2. It functions as the detailed transactional repository for all project and task budget entries. Each record in this table represents a single budget line, which quantifies the planned expenditure or revenue for a specific resource, cost element, and accounting period. The table is fundamental to the budgeting lifecycle, storing the granular data that rolls up to form the overall budget for a given budget version. Its integrity is maintained through a primary key and a network of foreign key relationships, ensuring consistency with budget headers, resource assignments, accounting flexfields, and currency conversion rules.

Key Information Stored

The table's primary key is BUDGET_LINE_ID, which uniquely identifies each budget detail line. Its most critical foreign key is BUDGET_VERSION_ID, linking each line to its parent header in PA_BUDGET_VERSIONS. Other essential columns define the financial and operational context of the budgeted amount. The RESOURCE_ASSIGNMENT_ID links to the PA_RESOURCE_ASSIGNMENTS table, specifying the person or job being budgeted. The CODE_COMBINATION_ID references GL_CODE_COMBINATIONS, storing the accounting code for the budget line. A significant portion of the table's structure is dedicated to currency conversion metadata, with numerous columns (e.g., PROJFUNC_COST_RATE_TYPE, PROJECT_REV_RATE_TYPE) referencing GL_DAILY_CONVERSION_TYPES. These columns store the rate types and dates used for converting budget amounts between project functional, project, and other currencies, which is critical for multi-currency projects.

Common Use Cases and Queries

This table is central to budget inquiry, reporting, and reconciliation processes. A common use case is generating a detailed budget report for a specific project or version. Technical consultants often query this table to analyze budget composition, validate data integrity, or support custom integrations. A typical SQL pattern retrieves budget lines with their associated header, task, and accounting information:

  • SELECT bl.budget_line_id, bv.budget_version_name, bl.period_name, bl.budget_quantity, bl.budget_cost, bl.code_combination_id, ra.task_id FROM pa_budget_lines bl, pa_budget_versions bv, pa_resource_assignments ra WHERE bl.budget_version_id = bv.budget_version_id AND bl.resource_assignment_id = ra.resource_assignment_id AND bv.project_id = :p_project_id;

Another critical scenario involves troubleshooting currency conversion issues in budget reports, requiring analysis of the various PROJFUNC_* and PROJECT_* rate type and date columns stored in this table.

Related Objects

PA_BUDGET_LINES sits at the center of a key data model. Its primary relationship is with PA_BUDGET_VERSIONS, which holds the header-level budget information. It is directly dependent on PA_RESOURCE_ASSIGNMENTS for resource details and GL_CODE_COMBINATIONS for accounting segments. As indicated by the foreign keys, it extensively references GL_DAILY_CONVERSION_TYPES for currency conversion rules. Furthermore, it is the parent table for PA_MC_BUDGET_LINES, which stores the multiple currency amounts for each budget line. For reporting and application logic, key views like PA_BUDGET_VERSIONS_V and various budget inquiry forms rely on the underlying data in PA_BUDGET_LINES.