Search Results ap_expense_report_headers_all
Overview
The AP_EXPENSE_REPORT_HEADERS_ALL table is a core transactional table within the Oracle E-Business Suite Payables (AP) module, specifically for releases 12.1.1 and 12.2.2. It serves as the primary repository for header-level information pertaining to employee expense reports. This table is fundamental to the expense report lifecycle, from creation and approval through to payment and accounting. Its multi-org structure, indicated by the "_ALL" suffix, allows it to store data for multiple operating units, with access controlled by the MOAC (Multi-Org Access Control) security profile. The table's integrity is maintained by the primary key AP_EXPENSE_REPORT_HEADERS_PK on REPORT_HEADER_ID and is centrally connected to numerous other Payables, General Ledger, and Purchasing entities via a network of foreign key relationships.
Key Information Stored
The table's columns capture the essential administrative and financial attributes of an expense report. The primary identifier is REPORT_HEADER_ID. Critical foreign key columns link the report to its core entities: EXPENSE_REPORT_ID connects to the source report in AP_EXPENSE_REPORTS_ALL, while VENDOR_ID and VENDOR_SITE_ID link to the employee's record as a supplier. Financial control is managed through SET_OF_BOOKS_ID, DEFAULT_CURRENCY_CODE, and DEFAULT_EXCHANGE_RATE_TYPE. The payment and accounting workflow is tracked via columns such as VOUCHNO (linking to the final Payables invoice), ACCTS_PAY_CODE_COMBINATION_ID (the liability account), EMPLOYEE_CCID (the employee's expense clearing account), and HOLD_LOOKUP_CODE. Additional audit and process columns like LAST_AUDITED_BY, REQUEST_ID, and ADVANCE_INVOICE_TO_APPLY (for offsetting cash advances) provide comprehensive tracking.
Common Use Cases and Queries
This table is central to reporting, data fixes, and process audits within Payables. Common analytical queries involve joining to related tables to create a holistic view of expense report activity. A frequent reporting use case is tracking the status and value of reports by operating unit and employee. For example:
- Identifying expense reports pending approval or on hold.
- Reconciling reported amounts to the final voucher and payment details by joining to AP_INVOICES_ALL.
- Auditing the accounting distributions generated for expense reports by linking to AP_EXP_REPORT_DISTS_ALL.
A sample query pattern to list reports with their associated voucher number and total amount would join AP_EXPENSE_REPORT_HEADERS_ALL (ERH) to AP_INVOICES_ALL (INV) on ERH.VOUCHNO = INV.INVOICE_ID, filtering by SET_OF_BOOKS_ID and a creation date range.
Related Objects
As documented in the ETRM metadata, AP_EXPENSE_REPORT_HEADERS_ALL has extensive relationships with key EBS tables. It is the parent table for line and distribution details via foreign keys from AP_EXPENSE_REPORT_LINES_ALL.REPORT_HEADER_ID and AP_EXP_REPORT_DISTS_ALL.REPORT_HEADER_ID. It references the source expense report via AP_EXPENSE_REPORTS_ALL.EXPENSE_REPORT_ID. For payment processing, it links to AP_INVOICES_ALL twice: once for the final voucher (VOUCHNO) and once for any applied cash advance (ADVANCE_INVOICE_TO_APPLY). Accounting setup relationships exist with GL_SETS_OF_BOOKS_11I (SET_OF_BOOKS_ID), GL_CODE_COMBINATIONS (for CCIDs), and FND_CURRENCIES. It also links to supplier (PO_VENDORS, PO_VENDOR_SITES_ALL), audit (AP_AUD_AUDIT_REASONS), and system (FND_USER, FND_CONCURRENT_REQUESTS) tables, forming a comprehensive network within the application's data model.
-
Table: AP_EXPENSE_REPORT_HEADERS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_HEADERS_ALL, object_name:AP_EXPENSE_REPORT_HEADERS_ALL, status:VALID, product: AP - Payables , description: Header information about employee expense reports , implementation_dba_data: AP.AP_EXPENSE_REPORT_HEADERS_ALL ,
-
Table: AP_EXPENSE_REPORT_HEADERS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_HEADERS_ALL, object_name:AP_EXPENSE_REPORT_HEADERS_ALL, status:VALID, product: AP - Payables , description: Header information about employee expense reports , implementation_dba_data: AP.AP_EXPENSE_REPORT_HEADERS_ALL ,
-
Table: AP_AUD_AUDIT_REASONS
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_AUD_AUDIT_REASONS, object_name:AP_AUD_AUDIT_REASONS, status:VALID, product: AP - Payables , description: This table stores the reasons why an expense report is audited. , implementation_dba_data: AP.AP_AUD_AUDIT_REASONS ,
-
Table: AP_EXP_REPORT_DISTS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXP_REPORT_DISTS_ALL, object_name:AP_EXP_REPORT_DISTS_ALL, status:VALID, product: AP - Payables , description: Expense distributions , implementation_dba_data: AP.AP_EXP_REPORT_DISTS_ALL ,
-
Table: AP_EXPENSE_REPORTS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXPENSE_REPORTS_ALL, object_name:AP_EXPENSE_REPORTS_ALL, status:VALID, product: AP - Payables , description: Descriptive information about expense report templates , implementation_dba_data: AP.AP_EXPENSE_REPORTS_ALL ,
-
Table: AP_HOLD_CODES
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_HOLD_CODES, object_name:AP_HOLD_CODES, status:VALID, product: AP - Payables , description: Invoice hold and release codes , implementation_dba_data: AP.AP_HOLD_CODES ,
-
Table: AP_AUD_AUDIT_REASONS
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_AUD_AUDIT_REASONS, object_name:AP_AUD_AUDIT_REASONS, status:VALID, product: AP - Payables , description: This table stores the reasons why an expense report is audited. , implementation_dba_data: AP.AP_AUD_AUDIT_REASONS ,
-
Table: AP_EXP_REPORT_DISTS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXP_REPORT_DISTS_ALL, object_name:AP_EXP_REPORT_DISTS_ALL, status:VALID, product: AP - Payables , description: Expense distributions , implementation_dba_data: AP.AP_EXP_REPORT_DISTS_ALL ,
-
Table: AP_HOLD_CODES
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_HOLD_CODES, object_name:AP_HOLD_CODES, status:VALID, product: AP - Payables , description: Invoice hold and release codes , implementation_dba_data: AP.AP_HOLD_CODES ,
-
Table: AP_EXPENSE_REPORTS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXPENSE_REPORTS_ALL, object_name:AP_EXPENSE_REPORTS_ALL, status:VALID, product: AP - Payables , description: Descriptive information about expense report templates , implementation_dba_data: AP.AP_EXPENSE_REPORTS_ALL ,
-
Table: AP_AWT_GROUPS
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_AWT_GROUPS, object_name:AP_AWT_GROUPS, status:VALID, product: AP - Payables , description: Withholding tax groups , implementation_dba_data: AP.AP_AWT_GROUPS ,
-
Table: AP_INVOICES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICES_ALL, object_name:AP_INVOICES_ALL, status:VALID, product: AP - Payables , description: Detailed invoice records , implementation_dba_data: AP.AP_INVOICES_ALL ,
-
Table: AP_INVOICES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICES_ALL, object_name:AP_INVOICES_ALL, status:VALID, product: AP - Payables , description: Detailed invoice records , implementation_dba_data: AP.AP_INVOICES_ALL ,
-
Table: AP_CREDIT_CARD_TRXNS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CREDIT_CARD_TRXNS_ALL, object_name:AP_CREDIT_CARD_TRXNS_ALL, status:VALID, product: AP - Payables , description: Detailed information about the credit card transactions of your employees , implementation_dba_data: AP.AP_CREDIT_CARD_TRXNS_ALL ,
-
Table: AP_AWT_GROUPS
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_AWT_GROUPS, object_name:AP_AWT_GROUPS, status:VALID, product: AP - Payables , description: Withholding tax groups , implementation_dba_data: AP.AP_AWT_GROUPS ,
-
Table: AP_CREDIT_CARD_TRXNS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CREDIT_CARD_TRXNS_ALL, object_name:AP_CREDIT_CARD_TRXNS_ALL, status:VALID, product: AP - Payables , description: Detailed information about the credit card transactions of your employees , implementation_dba_data: AP.AP_CREDIT_CARD_TRXNS_ALL ,
-
View: AP_AUD_EXPENSE_HEADERS_SEC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_AUD_EXPENSE_HEADERS_SEC_V, object_name:AP_AUD_EXPENSE_HEADERS_SEC_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_AUD_EXPENSE_HEADERS_SEC_V ,
-
View: AP_AUD_EXPENSE_HEADERS_SEC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_AUD_EXPENSE_HEADERS_SEC_V, object_name:AP_AUD_EXPENSE_HEADERS_SEC_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_AUD_EXPENSE_HEADERS_SEC_V ,
-
Table: AP_EXPENSE_REPORT_LINES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_LINES_ALL, object_name:AP_EXPENSE_REPORT_LINES_ALL, status:VALID, product: AP - Payables , description: Expense item information for employee expense reports , implementation_dba_data: AP.AP_EXPENSE_REPORT_LINES_ALL ,
-
Table: AP_EXPENSE_REPORT_LINES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_LINES_ALL, object_name:AP_EXPENSE_REPORT_LINES_ALL, status:VALID, product: AP - Payables , description: Expense item information for employee expense reports , implementation_dba_data: AP.AP_EXPENSE_REPORT_LINES_ALL ,
-
View: AP_EXPENSE_REPORT_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_LINES_V, object_name:AP_EXPENSE_REPORT_LINES_V, status:VALID, product: AP - Payables , description: View for all expense report lines that are ready for payment or have already been paid. , implementation_dba_data: APPS.AP_EXPENSE_REPORT_LINES_V ,
-
View: AP_EXPENSE_REPORT_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_LINES_V, object_name:AP_EXPENSE_REPORT_LINES_V, status:VALID, product: AP - Payables , description: View for all expense report lines that are ready for payment or have already been paid. , implementation_dba_data: APPS.AP_EXPENSE_REPORT_LINES_V ,
-
View: AP_EXPENSE_REPORT_VIOLATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_VIOLATIONS_V, object_name:AP_EXPENSE_REPORT_VIOLATIONS_V, status:VALID, product: AP - Payables , description: View for all expense report violations and corresponding expense report lines that are ready for payment or have already been paid. , implementation_dba_data: APPS.AP_EXPENSE_REPORT_VIOLATIONS_V ,
-
View: AP_EXPENSE_REPORT_VIOLATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_VIOLATIONS_V, object_name:AP_EXPENSE_REPORT_VIOLATIONS_V, status:VALID, product: AP - Payables , description: View for all expense report violations and corresponding expense report lines that are ready for payment or have already been paid. , implementation_dba_data: APPS.AP_EXPENSE_REPORT_VIOLATIONS_V ,
-
View: APBV_EXPENSE_REPORT_HEADERS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.APBV_EXPENSE_REPORT_HEADERS, object_name:APBV_EXPENSE_REPORT_HEADERS, status:VALID, product: AP - Payables , implementation_dba_data: APPS.APBV_EXPENSE_REPORT_HEADERS ,
-
View: APBV_EXPENSE_REPORT_HEADERS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.APBV_EXPENSE_REPORT_HEADERS, object_name:APBV_EXPENSE_REPORT_HEADERS, status:VALID, product: AP - Payables , implementation_dba_data: APPS.APBV_EXPENSE_REPORT_HEADERS ,