Search Results pa_inv_grp_whr_clauses
Overview
The PA_INV_GRP_WHR_CLAUSES table is a core reference table within the Oracle E-Business Suite Projects (PA) module, specifically for versions 12.1.1 and 12.2.2. It functions as a repository for system-defined WHERE clause definitions. These clauses are integral to the automated invoice grouping feature, which streamlines the billing process by aggregating eligible project transactions into logical invoice lines. The table's primary role is to store the reusable SQL WHERE clause logic that determines how specific column values for an invoice group are dynamically derived from underlying transaction data during the invoice generation workflow.
Key Information Stored
While the provided metadata does not list all column definitions, the structure centers on the unique identifier and the stored clause logic. The primary key, INVOICE_GROUP_WHERE_CLAUSE_ID, uniquely identifies each predefined WHERE clause record. The most critical data element is the WHERE clause text itself, which would be stored in a column such as WHERE_CLAUSE or a similarly named field. This clause contains the conditional logic (e.g., based on task, expenditure type, date ranges, or project attributes) used to filter and categorize transactions. Other supporting columns likely include creation dates, last update dates, and descriptive fields to identify the clause's purpose within the application's setup interface.
Common Use Cases and Queries
The primary use case is the configuration and execution of invoice grouping rules. Administrators select from these predefined clauses when setting up invoice grouping criteria. During the "Create Draft Invoice" process, the system applies these clauses to transaction data to assign grouping column values. A common reporting or diagnostic query involves joining this table to its related setup tables to review active grouping rules. A sample SQL pattern to list available system clauses is:
- SELECT invoice_group_where_clause_id, where_clause_text, description FROM pa_inv_grp_whr_clauses ORDER BY 1;
For troubleshooting, one might trace which specific clause (identified by its INVOICE_GROUP_WHERE_CLAUSE_ID) was used for a particular invoice line by examining the transactional data against the clause's logic.
Related Objects
This table maintains a strict one-to-many relationship with key invoice grouping setup tables. As documented in the provided metadata, the primary foreign key relationship is:
- PA_INV_GRP_COL_WHR_CLAUSES: This table references PA_INV_GRP_WHR_CLAUSES via the column INVOICE_GROUP_WHERE_CLAUSE_ID. This relationship links a specific WHERE clause definition to its application within a particular column of an invoice grouping rule. The PA_INV_GRP_COL_WHR_CLAUSES table essentially assigns a system-defined clause from PA_INV_GRP_WHR_CLAUSES to a user-defined grouping criterion.
This table is foundational and is referenced by setup entities, not transactional data. It is typically queried by the invoice grouping engine within the Oracle Projects application code and is central to the "Invoice Grouping" setup functionality.
-
Table: PA_INV_GRP_WHR_CLAUSES
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_INV_GRP_WHR_CLAUSES, object_name:PA_INV_GRP_WHR_CLAUSES, status:VALID, product: PA - Projects , description: System-defined WHERE clauses used to derive invoice group column values , implementation_dba_data: PA.PA_INV_GRP_WHR_CLAUSES ,
-
Table: PA_INV_GRP_WHR_CLAUSES
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_INV_GRP_WHR_CLAUSES, object_name:PA_INV_GRP_WHR_CLAUSES, status:VALID, product: PA - Projects , description: System-defined WHERE clauses used to derive invoice group column values , implementation_dba_data: PA.PA_INV_GRP_WHR_CLAUSES ,
-
APPS.GMS_BILLING dependencies on PA_INV_GRP_WHR_CLAUSES
12.1.1
-
APPS.GMS_BILLING dependencies on PA_INV_GRP_WHR_CLAUSES
12.2.2
-
VIEW: PA.PA_INV_GRP_WHR_CLAUSES#
12.2.2
owner:PA, object_type:VIEW, object_name:PA_INV_GRP_WHR_CLAUSES#, status:VALID,
-
TRIGGER: APPS.PA_INV_GRP_WHR_CLAUSES+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:PA_INV_GRP_WHR_CLAUSES+, status:VALID,
-
SYNONYM: APPS.PA_INV_GRP_WHR_CLAUSES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_INV_GRP_WHR_CLAUSES, status:VALID,
-
SYNONYM: APPS.PA_INV_GRP_WHR_CLAUSES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_INV_GRP_WHR_CLAUSES, status:VALID,
-
VIEW: PA.PA_INV_GRP_WHR_CLAUSES#
12.2.2
-
TABLE: PA.PA_INV_GRP_WHR_CLAUSES
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_INV_GRP_WHR_CLAUSES, object_name:PA_INV_GRP_WHR_CLAUSES, status:VALID,
-
TRIGGER: APPS.PA_INV_GRP_WHR_CLAUSES+
12.2.2
-
TABLE: PA.PA_INV_GRP_WHR_CLAUSES
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_INV_GRP_WHR_CLAUSES, object_name:PA_INV_GRP_WHR_CLAUSES, status:VALID,
-
Table: PA_INV_GRP_COL_WHR_CLAUSES
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_INV_GRP_COL_WHR_CLAUSES, object_name:PA_INV_GRP_COL_WHR_CLAUSES, status:VALID, product: PA - Projects , description: System-defined invoice group WHERE clauses assigned to invoice group columns , implementation_dba_data: PA.PA_INV_GRP_COL_WHR_CLAUSES ,
-
FUNCTION: APPS.PA_INV_GRP_WHR_CLAUSES=
12.2.2
-
APPS.GMS_BILLING dependencies on PA_INV_GRP_COL_WHR_CLAUSES
12.2.2
-
FUNCTION: APPS.PA_INV_GRP_WHR_CLAUSES=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:PA_INV_GRP_WHR_CLAUSES=, status:VALID,
-
Table: PA_INV_GRP_COL_WHR_CLAUSES
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_INV_GRP_COL_WHR_CLAUSES, object_name:PA_INV_GRP_COL_WHR_CLAUSES, status:VALID, product: PA - Projects , description: System-defined invoice group WHERE clauses assigned to invoice group columns , implementation_dba_data: PA.PA_INV_GRP_COL_WHR_CLAUSES ,
-
APPS.GMS_BILLING dependencies on PA_INV_GRP_COL_WHR_CLAUSES
12.1.1
-
PACKAGE BODY: APPS.GMS_BILLING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_BILLING, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.GMS_BILLING dependencies on PA_INVOICE_FORMAT_DETAILS
12.1.1
-
APPS.GMS_BILLING dependencies on PA_INVOICE_FORMAT_DETAILS
12.2.2
-
PACKAGE BODY: APPS.GMS_BILLING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_BILLING, status:VALID,
-
APPS.GMS_BILLING dependencies on PA_INVOICE_GROUP_COLUMNS
12.1.1
-
APPS.GMS_BILLING dependencies on PA_INVOICE_GROUP_COLUMNS
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
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
-
SYNONYM: PUBLIC.DATABASE_PROPERTIES
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DATABASE_PROPERTIES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.GMS_BILLING SQL Statements
12.1.1
-
APPS.GMS_BILLING SQL Statements
12.2.2
-
PACKAGE: SYS.DBMS_STANDARD
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_STANDARD, status:VALID,
-
eTRM - PA Tables and Views
12.2.2
-
eTRM - PA Tables and Views
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.GMS_BILLING
12.1.1
-
PACKAGE BODY: APPS.GMS_BILLING
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - PA Tables and Views
12.1.1
-
eTRM - PA Tables and Views
12.2.2