Search Results pa_expenditures_ar
Overview
PA_EXPENDITURES_AR is an archive table within the Oracle Projects (PA) module of Oracle E-Business Suite 12.1.1 and 12.2.2. As its name and the ETRM description indicate, it exists to support the Archive/Purge process for project expenditures. Rather than modifying or deleting records from the live transaction table, the archive and purge programs relocate eligible expenditure rows into PA_EXPENDITURES_AR, preserving them for audit, reconciliation, and historical reporting while reducing the storage footprint and performance overhead of the primary operating table. Its structure mirrors the main expenditure table, and column-level semantics follow the comments documented on that parent object.
The ETRM metadata records a heuristic Data Vault classification of standalone. Read as a modeling suggestion, this reflects the fact that PA_EXPENDITURES_AR is not intended to function as a conformed hub, link, or satellite in a warehouse design. It is a purpose-built staging/retention table whose dependencies are expressed through foreign keys to the archive control table and the source expenditure table rather than through normalized business entity relationships. The table is owned by the APPS-equivalent PA schema and is documented with 51 columns in the 12.2.2 schema.
Key Information Stored
The table carries the full expenditure payload plus archive control attributes. The most significant columns are:
- PURGE_BATCH_ID — Foreign key to PA_PURGE_BATCHES_ALL, identifying the archive/purge run that moved the row.
- PURGE_RELEASE and PURGE_PROJECT_ID — Release and project context under which the purge was executed.
- EXPENDITURE_ID — Foreign key back to PA_EXPENDITURES_ALL; the original surrogate identifier of the archived expenditure.
- REQUEST_ID, PROGRAM_ID, PROGRAM_APPLICATION_ID, PROGRAM_UPDATE_DATE — Standard concurrent program audit columns identifying the process that inserted the row.
- EXPENDITURE_STATUS_CODE, EXPENDITURE_CLASS_CODE, EXPENDITURE_ENDING_DATE — Business classification and period attributes of the archived transaction.
- INCURRED_BY_PERSON_ID and INCURRED_BY_ORGANIZATION_ID — Responsible party and organization.
- CONTROL_TOTAL_AMOUNT, DENOM_CURRENCY_CODE, ACCT_CURRENCY_CODE, ACCT_EXCHANGE_RATE — Monetary values and currency conversion attributes.
- TRANSFER_STATUS_CODE and WF_STATUS_CODE — Transfer and workflow state at the time of archival.
- ORG_ID — Multi-org operating unit identifier.
PA_EXPENDITURES_AR references PA_EXPENDITURES_ALL via EXPENDITURE_ID and PA_PURGE_BATCHES_ALL via PURGE_BATCH_ID. The EA (entity–attribute) columns ATTRIBUTE_CATEGORY through ATTRIBUTE10 preserve descriptive flexfield context.
Common Use Cases and Queries
Typical usage centers on auditing what was purged and reconstructing expenditure history for closed projects.
- Reconcile a purge run:
SELECT COUNT(*), SUM(CONTROL_TOTAL_AMOUNT) FROM PA_EXPENDITURES_AR WHERE PURGE_BATCH_ID = :batch_id; - Trace an original expenditure:
SELECT * FROM PA_EXPENDITURES_AR WHERE EXPENDITURE_ID = :exp_id; - Audit trail by program:
SELECT PROGRAM_ID, REQUEST_ID, PURGE_RELEASE FROM PA_EXPENDITURES_AR WHERE PURGE_PROJECT_ID = :proj_id; - Reporting on archived amounts by class: aggregate CONTROL_TOTAL_AMOUNT grouped by EXPENDITURE_CLASS_CODE and ORG_ID.
Because archived rows are read-only after the purge, these queries are safe for historical reporting without affecting live transaction processing.
Related Objects
The most significant related objects, per the documented FK structure, are:
- PA_EXPENDITURES_ALL — The live expenditure table; joined on EXPENDITURE_ID.
- PA_PURGE_BATCHES_ALL — The purge batch control table; joined on PURGE_BATCH_ID.
- PA_PURGE_BATCHES and associated purge program objects that drive the archive process.
- PA_PROJECTS_ALL — Provides project context via PURGE_PROJECT_ID and the underlying project reference.
- PA_EXPENDITURE_TYPES / PA_EXPENDITURE_CLASSES — Classification lookups for EXPENDITURE_CLASS_CODE.
- PA_PERIODS_ALL — Period attributes referenced by EXPENDITURE_ENDING_DATE.
Together these objects define the archive dependency chain and support both the purge execution and subsequent historical analysis of project costs.
-
Table: PA_EXPENDITURES_AR
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_EXPENDITURES_AR, object_name:PA_EXPENDITURES_AR, status:VALID, product: PA - Projects , description: Pa_Expenditures_ar is a table for Archive/Purge. Refer to comments on the columns in the main table , implementation_dba_data: PA.PA_EXPENDITURES_AR ,
-
Table: PA_EXPENDITURES_AR
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_EXPENDITURES_AR, object_name:PA_EXPENDITURES_AR, status:VALID, product: PA - Projects , description: Pa_Expenditures_ar is a table for Archive/Purge. Refer to comments on the columns in the main table , implementation_dba_data: PA.PA_EXPENDITURES_AR ,
-
SYNONYM: APPS.PA_EXPENDITURES_AR
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURES_AR, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURES_AR
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURES_AR, status:VALID,
-
VIEW: PA.PA_EXPENDITURES_AR#
12.2.2
owner:PA, object_type:VIEW, object_name:PA_EXPENDITURES_AR#, status:VALID,
-
VIEW: PA.PA_EXPENDITURES_AR#
12.2.2
-
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,
-
TABLE: PA.PA_EXPENDITURES_AR
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_EXPENDITURES_AR, object_name:PA_EXPENDITURES_AR, status:VALID,
-
TABLE: PA.PA_EXPENDITURES_AR
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_EXPENDITURES_AR, object_name:PA_EXPENDITURES_AR, 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
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.PA_PURGE_COSTING dependencies on PA_EXPENDITURES_AR
12.1.1
-
APPS.PA_PURGE_COSTING dependencies on PA_EXPENDITURES_AR
12.2.2
-
APPS.PA_PURGE_COSTING SQL Statements
12.1.1
-
APPS.PA_PURGE_COSTING SQL Statements
12.2.2
-
APPS.PA_PURGE_COSTING dependencies on PA_EXPENDITURES_ALL
12.1.1
-
APPS.PA_PURGE_COSTING dependencies on PA_EXPENDITURES_ALL
12.2.2
-
PACKAGE BODY: APPS.PA_PURGE_COSTING
12.2.2
-
PACKAGE BODY: APPS.PA_PURGE_COSTING
12.1.1
-
eTRM - PA Tables and Views
12.2.2
-
eTRM - PA Tables and Views
12.1.1
-
12.2.2 DBA Data
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