Search Results ap_expense_reports
Overview
AP.AP_EXPENSE_REPORTS_ALL is the header-level definition table for expense report templates in Oracle Payables. Each row represents a template that users select from a list of values when entering an expense report, and the table corresponds directly to the header region of the Expense Report Templates window in the E-Business Suite forms interface. In Oracle EBS 12.1.1 and 12.2.2, this object is owned by the AP schema, carries FND Design Data identifier SQLAP.AP_EXPENSE_REPORTS_ALL, and resides in the APPS_TS_TX_DATA tablespace with a PCTFREE of 10. Because the table governs the template selection and defaulting behavior used during expense report entry, it sits at the center of the Oracle Payables and Oracle Self-Service Expenses configuration model.
Mined from its foreign key structure, the table exhibits a hub-leaning Data Vault classification. This is a modeling suggestion rather than a physical constraint: EXPENSE_REPORT_ID behaves as a durable business key referenced by multiple dependent tables, which is characteristic of a hub entity in a dimensional or Data Vault style model.
Key Information Stored
The physical schema in 12.2.2 documents thirteen columns. The most significant are:
- EXPENSE_REPORT_ID — surrogate primary key (AP_EXPENSE_REPORTS_PK) and unique business-key candidate via AP_EXPENSE_REPORTS_U1.
- REPORT_TYPE — the expense report template name shown to users in the list of values; combined with ORG_ID it forms unique index AP_EXPENSE_REPORTS_U2.
- ORG_ID — organization identifier supporting Multi-Org partitioning; part of the business-key candidate.
- DESCRIPTION — free-text description of the template (length 240).
- DEFAULT_PARAMETER_ID — references AP_EXPENSE_REPORT_PARAMS_ALL, identifying the default expense item parameter for the template.
- WEB_ENABLED_FLAG — indicates whether the template is enabled for Oracle Self-Service Expenses.
- INACTIVE_DATE — date on which the template becomes inactive.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATION_DATE, CREATED_BY — standard WHO audit columns tracking row creation and modification.
- ZD_EDITION_NAME — editioning column present in the 12.2.2 documented schema and included in both unique indexes.
Common Use Cases and Queries
Typical reporting and validation scenarios include listing the active, web-enabled templates available to a given operating unit, auditing template changes, and confirming the default parameter assigned to each template. A representative query joining the parameter table is:
SELECT h.expense_report_id, h.report_type, h.description, h.web_enabled_flag FROM ap.ap_expense_reports_all h WHERE h.org_id = :org_id AND h.inactive_date IS NULL ORDER BY h.report_type;SELECT h.report_type, p.expense_param_name FROM ap.ap_expense_reports_all h, ap.ap_expense_report_params_all p WHERE h.default_parameter_id = p.expense_report_param_id;
Because the header tables depend on the template row, these queries are also useful before deleting or end-dating a template to confirm that no expense report headers or system parameter defaults still reference it.
Related Objects
The following objects reference AP_EXPENSE_REPORTS_ALL or are referenced by it through documented foreign keys:
- AP_EXPENSE_REPORT_PARAMS_ALL — references EXPENSE_REPORT_ID and is itself referenced by DEFAULT_PARAMETER_ID.
- AP_EXPENSE_REPORT_HEADERS_ALL — transaction-level expense report headers pointing to the template via EXPENSE_REPORT_ID.
- AP_SYSTEM_PARAMETERS_ALL — holds the system-level default expense report template through EXPENSE_REPORT_ID.
- AP_AUD_QUEUES — audit queue entries referencing EXPENSE_REPORT_ID.
Together these objects form the expense template configuration and transaction chain within Oracle Payables.
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG SQL Statements
12.2.2
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG SQL Statements
12.1.1
-
SYNONYM: APPS.AP_EXPENSE_REPORTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_EXPENSE_REPORTS, status:VALID,
-
TABLE: AP.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,
-
SYNONYM: APPS.AP_EXPENSE_REPORTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_EXPENSE_REPORTS, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_DB_EXPTEMPLATE_PKG
12.2.2
-
View: OIE_MGR_RPT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.OIE_MGR_RPT_V, object_name:OIE_MGR_RPT_V, status:VALID, product: AP - Payables , description: Reporting View for Expenses Management Reporting , implementation_dba_data: APPS.OIE_MGR_RPT_V ,
-
VIEW: APPS.OIE_MGR_RPT_V
12.2.2
-
PACKAGE BODY: APPS.AP_WEB_DB_EXPTEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_DB_EXPTEMPLATE_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_DB_EXPTEMPLATE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_DB_EXPTEMPLATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_DB_EXPTEMPLATE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_DB_EXPTEMPLATE_PKG, status:VALID,
-
VIEW: APPS.OIE_MGR_RPT_V
12.1.1
-
PACKAGE: APPS.AP_WEB_DB_EXPTEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_DB_EXPTEMPLATE_PKG, status:VALID,
-
VIEW: APPS.AP_EXPENSE_REPORT_HEADERS_V
12.2.2
-
View: OIE_MGR_RPT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.OIE_MGR_RPT_V, object_name:OIE_MGR_RPT_V, status:VALID, product: AP - Payables , description: Reporting View for Expenses Management Reporting , implementation_dba_data: APPS.OIE_MGR_RPT_V ,
-
PACKAGE BODY: APPS.AP_WEB_DB_EXPTEMPLATE_PKG
12.1.1
-
VIEW: AP.AP_EXPENSE_REPORTS_ALL#
12.2.2
owner:AP, object_type:VIEW, object_name:AP_EXPENSE_REPORTS_ALL#, status:VALID,
-
VIEW: APPS.OIE_MGR_RPT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.OIE_MGR_RPT_V, object_name:OIE_MGR_RPT_V, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_OA_MAINFLOW_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_OA_MAINFLOW_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WEB_OA_MAINFLOW_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WEB_OA_MAINFLOW_PKG, status:VALID,
-
VIEW: APPS.OIE_MGR_RPT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.OIE_MGR_RPT_V, object_name:OIE_MGR_RPT_V, status:VALID,
-
VIEW: APPS.AP_EXPENSE_REPORT_HEADERS_V
12.1.1
-
View: AP_EXPENSE_REPORT_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_HEADERS_V, object_name:AP_EXPENSE_REPORT_HEADERS_V, status:VALID, product: AP - Payables , description: Expense Report History in Oracle Internet Expenses is based on this view , implementation_dba_data: APPS.AP_EXPENSE_REPORT_HEADERS_V ,
-
TABLE: AP.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,
-
View: AP_EXPENSE_REPORT_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_HEADERS_V, object_name:AP_EXPENSE_REPORT_HEADERS_V, status:VALID, product: AP - Payables , description: Expense Report History in Oracle Internet Expenses is based on this view , implementation_dba_data: APPS.AP_EXPENSE_REPORT_HEADERS_V ,
-
VIEW: APPS.AP_EXPENSE_REPORT_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_HEADERS_V, object_name:AP_EXPENSE_REPORT_HEADERS_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.AP_EXPENSE_REPORT_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_HEADERS_V, object_name:AP_EXPENSE_REPORT_HEADERS_V, status:VALID,
-
PACKAGE BODY: APPS.AD_MO_UTIL_PKG
12.1.1
-
PACKAGE BODY: APPS.AD_MO_UTIL_PKG
12.2.2
-
APPS.AP_WEB_OA_MAINFLOW_PKG dependencies on AP_EXPENSE_REPORTS
12.2.2
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on AP_EXPENSE_REPORTS
12.2.2
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on AP_EXPENSE_REPORTS
12.1.1
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on AP_EXPENSE_REPORTS
12.2.2
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on AP_EXPENSE_REPORTS
12.1.1
-
APPS.AP_WEB_OA_MAINFLOW_PKG dependencies on AP_EXPENSE_REPORTS
12.1.1
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on AP_LOOKUP_CODES
12.2.2
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on AP_EXPENSE_REPORT_PARAMS
12.1.1
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on AP_EXPENSE_REPORT_PARAMS
12.2.2
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on AP_WEB_DB_EXPTEMPLATE_PKG
12.1.1
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on AP_LOOKUP_CODES
12.1.1
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on FND_PROFILE
12.2.2
-
APPS.AP_WEB_DB_EXPTEMPLATE_PKG dependencies on AP_WEB_DB_EXPTEMPLATE_PKG
12.2.2
-
APPS.AD_MO_UTIL_PKG dependencies on DBMS_RLS
12.2.2
-
APPS.AD_MO_UTIL_PKG dependencies on DBMS_RLS
12.1.1
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
PACKAGE BODY: APPS.AD_MORG
12.1.1
-
PACKAGE BODY: APPS.AD_MORG
12.2.2
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,