Search Results pa_expenditure_batches_all
Overview
The PA_EXPENDITURE_BATCHES_ALL table is a core transactional table within the Oracle E-Business Suite Projects (PA) module, specifically for releases 12.1.1 and 12.2.2. Its primary function is to serve as a master record for grouping and tracking expense reports that are processed collectively. As indicated by the official ETRM documentation, it stores groups of expense reports that are processed during the same run of the Distribute Expense Reports program. This batching mechanism is critical for controlling the flow of expense report distribution for costing and accounting, ensuring that related transactions are managed and audited as a single unit. The table is multi-organization enabled, as denoted by the "_ALL" suffix and the ORG_ID column, allowing it to store data for multiple operating units within a single installation.
Key Information Stored
The table's structure is designed to uniquely identify and describe each processing batch. The primary key is a composite of BATCH_NAME and ORG_ID, which guarantees uniqueness of a batch within a specific operating unit. Key columns include BATCH_NAME, which is the user-defined or system-generated identifier for the batch, and ORG_ID, which stores the operating unit identifier. Another significant column is BATCH_SOURCE, which is a foreign key to PA_BATCH_SOURCES and indicates the origin system or method through which the batch was created (e.g., manual entry, interface). Additional columns typically track the batch's status, creation date, and the user who created it, providing a full audit trail for the batch processing lifecycle.
Common Use Cases and Queries
The primary use case revolves around the execution and review of the Distribute Expense Reports process. Users run this process for a specific batch, and the table acts as the control point. Common reporting and inquiry needs include identifying batches pending distribution, reviewing historical batch runs, and troubleshooting distribution errors. A typical query would join this table to PA_COST_DISTRIBUTION_LINES_ALL to analyze the detailed expenditure lines within a specific batch. For example:
- To find all batches created in a date range:
SELECT batch_name, creation_date FROM pa_expenditure_batches_all WHERE TRUNC(creation_date) BETWEEN :p_start_date AND :p_end_date AND org_id = :p_org_id; - To list batches with their source:
SELECT peba.batch_name, pbs.batch_source FROM pa_expenditure_batches_all peba, pa_batch_sources pbs WHERE peba.batch_source = pbs.batch_source;
Related Objects
PA_EXPENDITURE_BATCHES_ALL has integral relationships with several other key objects in the Projects schema. As per the provided metadata, it is referenced by a foreign key from the PA_COST_DISTRIBUTION_LINES_ALL table, which stores the individual expenditure lines resulting from the distribution process. This link is established via the BATCH_NAME and ORG_ID columns. Furthermore, the table itself references the PA_BATCH_SOURCES table via the BATCH_SOURCE column to validate the source of the batch. These relationships underscore the table's central role in the expenditure processing workflow, connecting batch headers to their source definition and their resulting detailed transaction lines.
-
Table: PA_EXPENDITURE_BATCHES_ALL
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_EXPENDITURE_BATCHES_ALL, object_name:PA_EXPENDITURE_BATCHES_ALL, status:VALID, product: PA - Projects , description: Groups of expense reports that are processed during the same run of the Distribute Expense Reports program , implementation_dba_data: PA.PA_EXPENDITURE_BATCHES_ALL ,
-
Table: PA_EXPENDITURE_BATCHES_ALL
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_EXPENDITURE_BATCHES_ALL, object_name:PA_EXPENDITURE_BATCHES_ALL, status:VALID, product: PA - Projects , description: Groups of expense reports that are processed during the same run of the Distribute Expense Reports program , implementation_dba_data: PA.PA_EXPENDITURE_BATCHES_ALL ,
-
Table: PA_BATCH_SOURCES
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_BATCH_SOURCES, object_name:PA_BATCH_SOURCES, status:VALID, product: PA - Projects , description: System-defined sources of expense report expenditure batches , implementation_dba_data: PA.PA_BATCH_SOURCES ,
-
View: PA_EXPENDITURE_BATCHES
12.2.2
product: PA - Projects , description: Single-Org , implementation_dba_data: Not implemented in this database ,
-
Table: PA_BATCH_SOURCES
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_BATCH_SOURCES, object_name:PA_BATCH_SOURCES, status:VALID, product: PA - Projects , description: System-defined sources of expense report expenditure batches , implementation_dba_data: PA.PA_BATCH_SOURCES ,
-
View: PA_EXPENDITURE_BATCHES
12.1.1
product: PA - Projects , description: Single-Org , implementation_dba_data: Not implemented in this database ,
-
Table: PA_COST_DISTRIBUTION_LINES_ALL
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_COST_DISTRIBUTION_LINES_ALL, object_name:PA_COST_DISTRIBUTION_LINES_ALL, status:VALID, product: PA - Projects , description: Information about expenditure item cost distribution , implementation_dba_data: PA.PA_COST_DISTRIBUTION_LINES_ALL ,
-
Table: PA_COST_DISTRIBUTION_LINES_ALL
12.1.1
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_COST_DISTRIBUTION_LINES_ALL, object_name:PA_COST_DISTRIBUTION_LINES_ALL, status:VALID, product: PA - Projects , description: Information about expenditure item cost distribution , implementation_dba_data: PA.PA_COST_DISTRIBUTION_LINES_ALL ,