Search Results pa_alloc_source_lines
Overview
The PA_ALLOC_SOURCE_LINES table is a core data structure within the Oracle E-Business Suite Projects (PA) module, specifically for versions 12.1.1 and 12.2.2. It functions as the detailed repository for defining the source of transactions to be processed by an allocation rule. Each record in this table represents a specific source line that qualifies which project-related expenditure items, such as labor, expenses, or supplier invoices, are selected for allocation. The table's primary role is to store the granular criteria that, when combined with an allocation rule's header information, determines the pool of costs to be distributed to target projects or tasks.
Key Information Stored
The table's structure is designed to capture the linkage between an allocation rule and the specific source transactions it governs. Its primary key is a composite of RULE_ID and LINE_NUM, ensuring unique source line definitions per rule. Key columns include RULE_ID, which joins to the PA_ALLOC_RULES_ALL table to identify the parent allocation rule, and LINE_NUM, which sequences multiple source lines. Critical foreign key columns are PROJECT_ID and TASK_ID, which tie the source line to a specific project and optional task from the PA_PROJECTS_ALL and PA_TASKS tables, respectively. Other significant columns typically include criteria for transaction types, expenditure categories, dates, and organizational units, though the specific column list is defined by the application's data model.
Common Use Cases and Queries
This table is central to allocation setup, execution, and audit. Common use cases involve analyzing the source criteria for existing allocation rules, troubleshooting allocation runs that did not capture expected transactions, and generating reports on allocation rule definitions. A fundamental query retrieves all source lines for a specific rule to understand its scope:
- SELECT line_num, project_id, task_id FROM pa_alloc_source_lines WHERE rule_id = <RULE_ID> ORDER BY line_num;
For auditing, a join to the PA_ALLOC_RUN_SOURCES table can trace which source transactions were actually processed in a historical allocation run:
- SELECT ars.* FROM pa_alloc_run_sources ars, pa_alloc_source_lines asl WHERE ars.rule_id = asl.rule_id AND ars.line_num = asl.line_num AND ars.alloc_run_id = <RUN_ID>;
Related Objects
PA_ALLOC_SOURCE_LINES has integral relationships with several key objects in the Projects module. Its primary parent table is PA_ALLOC_RULES_ALL, which holds the rule header. It references master data tables PA_PROJECTS_ALL and PA_TASKS to define the source project and task. Crucially, it has a one-to-many relationship with the PA_ALLOC_RUN_SOURCES table, which stores the actual transaction identifiers (e.g., expenditure item IDs) that satisfied the source line criteria during a specific allocation execution. This relationship is enforced via a foreign key from PA_ALLOC_RUN_SOURCES back to the primary key columns (RULE_ID, LINE_NUM) of PA_ALLOC_SOURCE_LINES.
-
Table: PA_ALLOC_SOURCE_LINES
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_ALLOC_SOURCE_LINES, object_name:PA_ALLOC_SOURCE_LINES, status:VALID, product: PA - Projects , description: Source lines for each allocation rule , implementation_dba_data: PA.PA_ALLOC_SOURCE_LINES ,
-
Table: PA_ALLOC_SOURCE_LINES
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_ALLOC_SOURCE_LINES, object_name:PA_ALLOC_SOURCE_LINES, status:VALID, product: PA - Projects , description: Source lines for each allocation rule , implementation_dba_data: PA.PA_ALLOC_SOURCE_LINES ,
-
APPS.PA_ALLOC_COPY_RULE_PKG dependencies on PA_ALLOC_SOURCE_LINES
12.2.2
-
APPS.PA_ALLOC_RULES_ALL_PKG dependencies on PA_ALLOC_SOURCE_LINES
12.2.2
-
APPS.PA_ALLOC_SOURCE_LINES_PKG dependencies on PA_ALLOC_SOURCE_LINES
12.2.2
-
APPS.PA_ALLOC_UTILS dependencies on PA_ALLOC_SOURCE_LINES
12.1.1
-
APPS.PA_ALLOC_COPY_RULE_PKG dependencies on PA_ALLOC_SOURCE_LINES
12.1.1
-
APPS.PA_ALLOC_SOURCE_LINES_PKG dependencies on PA_ALLOC_SOURCE_LINES
12.1.1
-
APPS.PA_ALLOC_RUN dependencies on PA_ALLOC_SOURCE_LINES
12.2.2
-
APPS.PA_ALLOC_RUN dependencies on PA_ALLOC_SOURCE_LINES
12.1.1
-
APPS.PA_ALLOC_RULES_ALL_PKG dependencies on PA_ALLOC_SOURCE_LINES
12.1.1
-
APPS.PA_ALLOC_UTILS dependencies on PA_ALLOC_SOURCE_LINES
12.2.2
-
APPS.PA_ALLOC_SOURCE_LINES_PKG SQL Statements
12.1.1
-
APPS.PA_ALLOC_SOURCE_LINES_PKG SQL Statements
12.2.2
-
VIEW: PA.PA_ALLOC_SOURCE_LINES#
12.2.2
owner:PA, object_type:VIEW, object_name:PA_ALLOC_SOURCE_LINES#, status:VALID,
-
SYNONYM: APPS.PA_ALLOC_SOURCE_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_ALLOC_SOURCE_LINES, status:VALID,
-
TABLE: PA.PA_ALLOC_SOURCE_LINES
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_ALLOC_SOURCE_LINES, object_name:PA_ALLOC_SOURCE_LINES, status:VALID,
-
PACKAGE BODY: APPS.PA_ALLOC_SOURCE_LINES_PKG
12.2.2
-
SYNONYM: APPS.PA_ALLOC_SOURCE_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_ALLOC_SOURCE_LINES, status:VALID,
-
VIEW: PA.PA_ALLOC_SOURCE_LINES#
12.2.2
-
TABLE: PA.PA_ALLOC_SOURCE_LINES
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_ALLOC_SOURCE_LINES, object_name:PA_ALLOC_SOURCE_LINES, status:VALID,
-
APPS.PA_ALLOC_RULES_ALL_PKG dependencies on PA_ALLOC_TARGET_LINES
12.1.1
-
Table: PA_ALLOC_RUN_SOURCES
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_ALLOC_RUN_SOURCES, object_name:PA_ALLOC_RUN_SOURCES, status:VALID, product: PA - Projects , description: Source projects and tasks for each source line for an allocation run , implementation_dba_data: PA.PA_ALLOC_RUN_SOURCES ,
-
APPS.PA_ALLOC_UTILS dependencies on PA_ALLOC_TARGET_LINES
12.1.1
-
APPS.PA_ALLOC_RULES_ALL_PKG dependencies on PA_ALLOC_TARGET_LINES
12.2.2
-
VIEW: APPS.PA_ALLOC_SOURCE_LINES_V
12.1.1
-
VIEW: APPS.PA_ALLOC_SOURCE_LINES_V
12.2.2
-
PACKAGE BODY: APPS.PA_ALLOC_SOURCE_LINES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_ALLOC_SOURCE_LINES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_ALLOC_SOURCE_LINES_PKG
12.1.1
-
Table: PA_ALLOC_RULES_ALL
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_ALLOC_RULES_ALL, object_name:PA_ALLOC_RULES_ALL, status:VALID, product: PA - Projects , description: Allocation rule definitions , implementation_dba_data: PA.PA_ALLOC_RULES_ALL ,
-
PACKAGE BODY: APPS.PA_ALLOC_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_ALLOC_UTILS, status:VALID,
-
PACKAGE BODY: APPS.PA_ALLOC_COPY_RULE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_ALLOC_COPY_RULE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_ALLOC_SOURCE_LINES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_ALLOC_SOURCE_LINES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_ALLOC_RULES_ALL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_ALLOC_RULES_ALL_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_ALLOC_RULES_ALL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_ALLOC_RULES_ALL_PKG, status:VALID,
-
Table: PA_ALLOC_RUN_SOURCES
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_ALLOC_RUN_SOURCES, object_name:PA_ALLOC_RUN_SOURCES, status:VALID, product: PA - Projects , description: Source projects and tasks for each source line for an allocation run , implementation_dba_data: PA.PA_ALLOC_RUN_SOURCES ,
-
Table: PA_ALLOC_RULES_ALL
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_ALLOC_RULES_ALL, object_name:PA_ALLOC_RULES_ALL, status:VALID, product: PA - Projects , description: Allocation rule definitions , implementation_dba_data: PA.PA_ALLOC_RULES_ALL ,
-
APPS.PA_ALLOC_RUN dependencies on PA_ALLOC_GL_LINES
12.1.1
-
APPS.PA_ALLOC_RUN dependencies on PA_ALLOC_GL_LINES
12.2.2
-
APPS.PA_ALLOC_UTILS dependencies on PA_ALLOC_TARGET_LINES
12.2.2
-
PACKAGE BODY: APPS.PA_ALLOC_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_ALLOC_UTILS, status:VALID,
-
APPS.PA_ALLOC_UTILS dependencies on PA_ALLOC_RUN_SOURCES
12.2.2
-
PACKAGE BODY: APPS.PA_ALLOC_COPY_RULE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_ALLOC_COPY_RULE_PKG, status:VALID,
-
View: PA_ALLOC_SOURCE_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_ALLOC_SOURCE_LINES_V, object_name:PA_ALLOC_SOURCE_LINES_V, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_ALLOC_SOURCE_LINES_V ,
-
View: PA_ALLOC_SOURCE_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_ALLOC_SOURCE_LINES_V, object_name:PA_ALLOC_SOURCE_LINES_V, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_ALLOC_SOURCE_LINES_V ,
-
PACKAGE BODY: APPS.PA_ALLOC_RUN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_ALLOC_RUN, status:VALID,
-
APPS.PA_ALLOC_UTILS dependencies on PA_ALLOC_RUN_SOURCES
12.1.1
-
APPS.PA_ALLOC_UTILS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PA_ALLOC_RUN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_ALLOC_RUN, status:VALID,
-
VIEW: APPS.PA_ALLOC_SOURCE_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_ALLOC_SOURCE_LINES_V, object_name:PA_ALLOC_SOURCE_LINES_V, status:VALID,