Search Results pa_exp_comments_ar
Overview
PA_EXP_COMMENTS_AR is an archive/purge companion table within the Oracle E-Business Suite Projects (PA) module. Its name carries the "_AR" suffix, which in Oracle EBS convention denotes an archive table that shadows a corresponding transactional table—in this case the expenditure comments table maintained by the Projects application. The table stores the same column structure as its transactional source, as the ETRM description explicitly states: "Pa_Expenditure_Comments_ar is a table for Archive/Purge. Refer to comments on the columns in the main table." Its purpose is to hold archival copies of expenditure comment records that have been swept out of the live expenditure tables by the Projects purge programs, allowing historical reporting and audit retention without burdening the online transaction tables.
The object resides in the PA schema and is documented as VALID in release 12.1.1 / 12.2.2. From a Data Vault modeling perspective, the metadata's heuristic classification places this table as standalone—that is, it is not itself a hub, link, or satellite, but is best modeled as a satellite-like historical store dependent on the live expenditure items it archives. Its foreign keys reference PA_PURGE_BATCHES_ALL and PA_EXPENDITURE_ITEMS_ALL, tying each archived row to both a specific purge execution and the original expenditure item it belonged to.
Key Information Stored
The physical schema documents 15 columns, with the purge and expenditure linkage forming the operational core:
- PURGE_BATCH_ID — foreign key to PA_PURGE_BATCHES_ALL; identifies the purge run that moved this row into the archive.
- PURGE_RELEASE and PURGE_PROJECT_ID — contextual identifiers describing the release and project scope associated with the purge operation.
- EXPENDITURE_ITEM_ID — foreign key to PA_EXPENDITURE_ITEMS_ALL; the surrogate reference back to the original expenditure item.
- LINE_NUMBER — the line sequence of the comment within the expenditure item, serving as a business-key component when combined with EXPENDITURE_ITEM_ID.
- EXPENDITURE_COMMENT — the actual free-text comment value preserved from the transactional row.
- REQUEST_ID, PROGRAM_ID, PROGRAM_APPLICATION_ID, PROGRAM_UPDATE_DATE — concurrent program audit columns recording the purge job that wrote the row.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATION_DATE, CREATED_BY — standard WHO audit columns.
The composite of EXPENDITURE_ITEM_ID and LINE_NUMBER acts as the natural business-key candidate, while PURGE_BATCH_ID provides the purge-instance linkage rather than a strict surrogate primary key.
Common Use Cases and Queries
Typical usage centers on audit and retention reporting: reconstructing comment history for purged expenditure items, validating which purge batch removed a given comment, and reconciling archive counts against live-table deletions.
- Locate archived comments for a specific expenditure item:
SELECT line_number, expenditure_comment FROM pa.pa_exp_comments_ar WHERE expenditure_item_id = :item_id ORDER BY line_number;
- Report everything removed by a given purge batch:
SELECT a.expenditure_item_id, a.expenditure_comment, b.purge_batch_name FROM pa.pa_exp_comments_ar a, pa.pa_purge_batches_all b WHERE a.purge_batch_id = b.purge_batch_id AND a.purge_batch_id = :batch_id; - Confirm which concurrent program performed the archive:
SELECT request_id, program_id, program_update_date FROM pa.pa_exp_comments_ar WHERE purge_batch_id = :batch_id;
Related Objects
The table's integrity and utility depend on a small set of related objects:
- PA_EXPENDITURE_ITEMS_ALL — joined via EXPENDITURE_ITEM_ID; the source transactional table whose comments are archived here.
- PA_PURGE_BATCHES_ALL — joined via PURGE_BATCH_ID; defines each purge execution.
- PA_EXP_COMMENTS (transactional counterpart) — the live table whose structure PA_EXP_COMMENTS_AR mirrors.
- PA_PURGE_PROJECTS_ALL — purge scope definition related through PURGE_PROJECT_ID.
- Projects Archive/Purge concurrent programs — the API-driven processes that populate this table via standard purge routines.
-
Table: PA_EXP_COMMENTS_AR
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_EXP_COMMENTS_AR, object_name:PA_EXP_COMMENTS_AR, status:VALID, product: PA - Projects , description: Pa_Expenditure_Comments_ar is a table for Archive/Purge. Refer to comments on the columns in the main table , implementation_dba_data: PA.PA_EXP_COMMENTS_AR ,
-
Table: PA_EXP_COMMENTS_AR
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_EXP_COMMENTS_AR, object_name:PA_EXP_COMMENTS_AR, status:VALID, product: PA - Projects , description: Pa_Expenditure_Comments_ar is a table for Archive/Purge. Refer to comments on the columns in the main table , implementation_dba_data: PA.PA_EXP_COMMENTS_AR ,
-
VIEW: PA.PA_EXP_COMMENTS_AR#
12.2.2
owner:PA, object_type:VIEW, object_name:PA_EXP_COMMENTS_AR#, status:VALID,
-
SYNONYM: APPS.PA_EXP_COMMENTS_AR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_EXP_COMMENTS_AR, status:VALID,
-
SYNONYM: APPS.PA_EXP_COMMENTS_AR
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_EXP_COMMENTS_AR, status:VALID,
-
TABLE: PA.PA_EXP_COMMENTS_AR
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_EXP_COMMENTS_AR, object_name:PA_EXP_COMMENTS_AR, status:VALID,
-
VIEW: PA.PA_EXP_COMMENTS_AR#
12.2.2
-
TABLE: PA.PA_EXP_COMMENTS_AR
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_EXP_COMMENTS_AR, object_name:PA_EXP_COMMENTS_AR, status:VALID,
-
PACKAGE BODY: APPS.PA_PURGE_COSTING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_PURGE_COSTING, status:VALID,
-
PACKAGE BODY: APPS.PA_PURGE_COSTING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_PURGE_COSTING, status:VALID,
-
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.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
-
APPS.PA_PURGE_COSTING SQL Statements
12.1.1
-
APPS.PA_PURGE_COSTING SQL Statements
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.PA_PURGE_COSTING dependencies on PA_EXP_COMMENTS_AR
12.1.1
-
APPS.PA_PURGE_COSTING dependencies on PA_EXP_COMMENTS_AR
12.2.2
-
PACKAGE BODY: APPS.PA_PURGE_COSTING
12.1.1
-
PACKAGE BODY: APPS.PA_PURGE_COSTING
12.2.2
-
APPS.PA_PURGE_COSTING dependencies on PA_EXP_ITEM_ADJ_ACT_AR
12.1.1
-
APPS.PA_PURGE_COSTING dependencies on PA_EXPENDITURE_COMMENTS
12.2.2
-
APPS.PA_PURGE_COSTING dependencies on PA_EXP_ITEM_ADJ_ACT_AR
12.2.2
-
APPS.PA_PURGE_COSTING dependencies on PA_EXPENDITURE_COMMENTS
12.1.1
-
12.2.2 DBA Data
12.2.2
-
eTRM - PA Tables and Views
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.1.1
-
eTRM - PA Tables and Views
12.2.2