Search Results pa_segment_rule_pairings_all
Overview
The PA_SEGMENT_RULE_PAIRINGS_ALL table is a core configuration table within the Oracle E-Business Suite Projects module (PA). It serves as the central repository for implementation-defined assignments of AutoAccounting rules to specific segments of the Accounting Flexfield. Its primary role is to govern the automated derivation of accounting code combinations (e.g., for revenue, cost, encumbrance accounts) during transaction processing in Projects. By storing the linkage between a transaction function, a specific accounting segment, and a derivation rule, this table enables the system to dynamically build accurate and compliant account numbers based on project and transaction attributes, which is fundamental to financial integrity and reporting.
Key Information Stored
The table stores the pairing relationships that define the AutoAccounting logic. Its composite primary key underscores the granularity of these assignments, which are specific to an application, a chart of accounts structure, an organization, and a transaction function. Key columns include APPLICATION_ID (identifying the EBS product), ID_FLEX_CODE and ID_FLEX_NUM (identifying the Accounting Flexfield structure), and SEGMENT_NUM (the specific segment position being controlled). The FUNCTION_CODE and FUNCTION_TRANSACTION_CODE columns pinpoint the exact transaction type or event, such as generating revenue or incurring labor cost. The critical RULE_ID column holds the foreign key to the PA_RULES table, specifying which derivation rule (e.g., based on project type, task, expenditure type) is applied to populate the designated segment for that transaction.
Common Use Cases and Queries
The primary use case is the analysis and troubleshooting of AutoAccounting setups. Implementers and functional consultants query this table to verify rule assignments, diagnose account generation issues, or document configurations. A typical query joins to related setup tables to produce a human-readable summary of the AutoAccounting map.
- Sample Query to Review Assignments:
SELECT psrpa.segment_num,
psrpa.function_code,
psrpa.function_transaction_code,
pr.rule_name,
fifsv.segment_name
FROM pa_segment_rule_pairings_all psrpa,
pa_rules pr,
fnd_id_flex_segments_vl fifsv
WHERE psrpa.rule_id = pr.rule_id
AND psrpa.application_id = fifsv.application_id
AND psrpa.id_flex_code = fifsv.id_flex_code
AND psrpa.id_flex_num = fifsv.id_flex_num
AND psrpa.segment_num = fifsv.segment_num
AND psrpa.org_id = 123; - Reporting Use Case: Generating a cross-reference report showing which rule drives each segment (e.g., Company, Cost Center, Account) for critical transaction functions like "Revenue" or "Labor Cost".
Related Objects
This table is a nexus in the AutoAccounting schema, with key dependencies as indicated by its foreign keys. PA_RULES (via RULE_ID) stores the definition of the derivation logic itself. PA_FUNCTION_TRANSACTIONS_ALL provides the valid list of transaction functions and codes. FND_ID_FLEX_STRUCTURES defines the Accounting Flexfield structure (ID_FLEX_NUM) to which the pairings are attached. In application logic, this table is primarily read by the AutoAccounting engine within the Oracle Projects accounting process, which references these pairings to construct the full code combination for each accounting line.
-
Table: PA_SEGMENT_RULE_PAIRINGS_ALL
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_SEGMENT_RULE_PAIRINGS_ALL, object_name:PA_SEGMENT_RULE_PAIRINGS_ALL, status:VALID, product: PA - Projects , description: Implementation-defined assignments of AutoAccounting rules to Accounting Flexfield segments , implementation_dba_data: PA.PA_SEGMENT_RULE_PAIRINGS_ALL ,
-
Table: PA_SEGMENT_RULE_PAIRINGS_ALL
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_SEGMENT_RULE_PAIRINGS_ALL, object_name:PA_SEGMENT_RULE_PAIRINGS_ALL, status:VALID, product: PA - Projects , description: Implementation-defined assignments of AutoAccounting rules to Accounting Flexfield segments , implementation_dba_data: PA.PA_SEGMENT_RULE_PAIRINGS_ALL ,
-
TABLE: PA.PA_SEGMENT_RULE_PAIRINGS_ALL
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_SEGMENT_RULE_PAIRINGS_ALL, object_name:PA_SEGMENT_RULE_PAIRINGS_ALL, status:VALID,
-
SYNONYM: APPS.PA_SEGMENT_RULE_PAIRINGS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_SEGMENT_RULE_PAIRINGS_ALL, status:VALID,
-
SYNONYM: APPS.PA_SEGMENT_RULE_PAIRINGS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_SEGMENT_RULE_PAIRINGS_ALL, status:VALID,
-
VIEW: PA.PA_SEGMENT_RULE_PAIRINGS_ALL#
12.2.2
owner:PA, object_type:VIEW, object_name:PA_SEGMENT_RULE_PAIRINGS_ALL#, status:VALID,
-
VIEW: PA.PA_SEGMENT_RULE_PAIRINGS_ALL#
12.2.2
-
TABLE: PA.PA_SEGMENT_RULE_PAIRINGS_ALL
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_SEGMENT_RULE_PAIRINGS_ALL, object_name:PA_SEGMENT_RULE_PAIRINGS_ALL, status:VALID,
-
Table: PA_RULES
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_RULES, object_name:PA_RULES, status:VALID, product: PA - Projects , description: Implementation-defined formulas for deriving Accounting Flexfield segment values using AutoAccounting , implementation_dba_data: PA.PA_RULES ,
-
SYNONYM: APPS.PA_SEGMENT_RULE_PAIRINGS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_SEGMENT_RULE_PAIRINGS, status:VALID,
-
Table: PA_FUNCTION_TRANSACTIONS_ALL
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_FUNCTION_TRANSACTIONS_ALL, object_name:PA_FUNCTION_TRANSACTIONS_ALL, status:VALID, product: PA - Projects , description: System-defined operations within AutoAccounting functions , implementation_dba_data: PA.PA_FUNCTION_TRANSACTIONS_ALL ,
-
SYNONYM: APPS.PA_SEGMENT_RULE_PAIRINGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_SEGMENT_RULE_PAIRINGS, status:VALID,
-
Table: PA_RULES
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_RULES, object_name:PA_RULES, status:VALID, product: PA - Projects , description: Implementation-defined formulas for deriving Accounting Flexfield segment values using AutoAccounting , implementation_dba_data: PA.PA_RULES ,
-
Table: PA_FUNCTION_TRANSACTIONS_ALL
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_FUNCTION_TRANSACTIONS_ALL, object_name:PA_FUNCTION_TRANSACTIONS_ALL, status:VALID, product: PA - Projects , description: System-defined operations within AutoAccounting functions , implementation_dba_data: PA.PA_FUNCTION_TRANSACTIONS_ALL ,
-
View: PA_SEGMENT_RULE_PAIRINGS
12.2.2
product: PA - Projects , description: Single-Org , implementation_dba_data: Not implemented in this database ,
-
View: PA_SEGMENT_RULE_PAIRINGS
12.1.1
product: PA - Projects , description: Single-Org , implementation_dba_data: Not implemented in this database ,
-
Table: FND_ID_FLEX_STRUCTURES
12.1.1
owner:APPLSYS, object_type:TABLE, fnd_design_data:FND.FND_ID_FLEX_STRUCTURES, object_name:FND_ID_FLEX_STRUCTURES, status:VALID, product: FND - Application Object Library , description: Key flexfield structure information , implementation_dba_data: APPLSYS.FND_ID_FLEX_STRUCTURES ,
-
Table: FND_ID_FLEX_STRUCTURES
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:FND.FND_ID_FLEX_STRUCTURES, object_name:FND_ID_FLEX_STRUCTURES, status:VALID, product: FND - Application Object Library , description: Key flexfield structure information , implementation_dba_data: APPLSYS.FND_ID_FLEX_STRUCTURES ,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.AD_MORG
12.1.1
-
PACKAGE BODY: APPS.AD_MORG
12.2.2
-
eTRM - PA Tables and Views
12.2.2
-
12.2.2 DBA Data
12.2.2
-
eTRM - PA Tables and Views
12.1.1
-
12.1.1 DBA Data
12.1.1
-
eTRM - PA Tables and Views
12.2.2
-
eTRM - PA Tables and Views
12.1.1