Results for “report_header_id”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
AP_AUD_AUDIT_REASONS is a Payables module table in the AP schema that stores the reasons why an expense report is audited. It functions as a master listing of audit reason entries, with each row representing a distinct audit reason associated with a specific expense report header. The table is registered as VALID in Oracle EBS 12.1.1 and 12.2.2.
The table holds eight documented columns and is anchored by primary key constraint AP_AUD_AUDIT_REASONS_PK on the AUDIT_REASON_ID column. A unique index, AP_AUD_AUDIT_REASONS_U1 on AUDIT_REASON_ID, serves as the documented business-key candidate. From a Data Vault modeling perspective, the mined foreign-key structure suggests a satellite-leaning classification: the table carries descriptive audit-reason context keyed to a parent business entity (the expense report header), rather than defining independent business keys of its own.
Key Information Stored
The most significant columns include:
- AUDIT_REASON_ID — surrogate primary key of the table, uniquely identifying each audit reason record and enforced through AP_AUD_AUDIT_REASONS_PK and the unique index AP_AUD_AUDIT_REASONS_U1.
- REPORT_HEADER_ID — foreign key column referencing AP_EXPENSE_REPORT_HEADERS_ALL. This links each audit reason to the expense report header it describes, establishing the parent-child relationship at the heart of the table.
- AUDIT_REASON_CODE — the coded value identifying the specific reason an expense report was flagged for audit.
- CREATION_DATE — the date the audit reason record was created.
- CREATED_BY — the user who created the audit reason record.
- LAST_UPDATE_DATE — the date the record was most recently modified.
- LAST_UPDATED_BY — the user who last modified the record.
- LAST_UPDATE_LOGIN — the login context associated with the most recent update.
The WHO-column quartet (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE) plus LAST_UPDATE_LOGIN provides the standard Oracle EBS audit trail. The distinction between the surrogate key (AUDIT_REASON_ID) and the foreign-key reference (REPORT_HEADER_ID) is important: the surrogate uniquely identifies the row, while the foreign key establishes the business association to the expense report.
Common Use Cases and Queries
Typical uses include reporting on why expense reports were selected for audit, supporting audit-compliance and expense analytics, and tracing audit decisions back to a specific expense report.
A representative query joining audit reasons to their parent header:
SELECT r.audit_reason_id, r.audit_reason_code, h.report_header_id, h.expense_report_number FROM ap.ap_aud_audit_reasons r JOIN ap.ap_expense_report_headers_all h ON r.report_header_id = h.report_header_id WHERE h.report_header_id = :p_report_header_id;
Other patterns include counting audit reasons per expense report, aggregating by AUDIT_REASON_CODE for trend reporting, and auditing the WHO columns to detect recent changes or identify the last user who modified an audit reason.
Related Objects
The following objects are most significant in relation to AP_AUD_AUDIT_REASONS:
- AP_EXPENSE_REPORT_HEADERS_ALL — the parent table referenced by AP_AUD_AUDIT_REASONS.REPORT_HEADER_ID. This is the sole documented foreign-key relationship; joins should use REPORT_HEADER_ID on both sides.
- AP_AUD_AUDIT_REASONS_PK — the primary key constraint over AUDIT_REASON_ID.
- AP_AUD_AUDIT_REASONS_U1 — the unique index on AUDIT_REASON_ID, the documented business-key candidate.
- AP_EXPENSE_REPORT_HEADERS_ALL audit-related columns and dependent expense report distribution and line tables — these commonly extend reporting on the same expense report identified through the header join.
Because the documented FK chain centers on a single parent (the expense report header), AP_AUD_AUDIT_REASONS is best treated as a satellite attached to that header entity, with REPORT_HEADER_ID as the driving join column in any reporting or integration query.
-
This table stores the reasons why an expense report is audited.
-
View: AP_POL_VIOLATIONS_V 12.2.2
APPS.AP_POL_VIOLATIONS_V·↳ AP_LOOKUP_CODES·↳ AP_POL_VIOLATIONS·↳ FND_GLOBAL·Explore AP module →
-
View: AP_POL_VIOLATIONS_V 12.1.1
APPS.AP_POL_VIOLATIONS_V·↳ AP_LOOKUP_CODES·↳ AP_POL_VIOLATIONS·↳ FND_GLOBAL·Explore AP module →
-
APPS.AP_AUD_EXPENSE_HEADERS_SEC_V·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ FND_PROFILE·↳ PER_ORGANIZATION_LIST·Explore AP module →
-
APPS.AP_AUD_EXPENSE_HEADERS_SEC_V·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ FND_PROFILE·↳ PER_ORGANIZATION_LIST·Explore AP module →
-
OIE Archive Table for Audit Reasons
-
View for all expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_LINES_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
View for all expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_LINES_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
View: OIE_MGR_RPT_V 12.2.2
Reporting View for Expenses Management Reporting
APPS.OIE_MGR_RPT_V·↳ AP_EXPENSE_REPORTS·↳ AP_EXPENSE_REPORT_HEADERS·↳ AP_EXPENSE_REPORT_LINES·Explore AP module →
-
View: APBV_POL_VIOLATIONS 12.2.2
Based on AP_POL_VIOLATIONS_ALL, this business view contains expense policy violation data.
APPS.APBV_POL_VIOLATIONS·↳ AP_POL_VIOLATIONS_ALL·Explore AP module →
-
This table stores the reasons why an expense report is audited.
-
View: OIE_MGR_RPT_V 12.1.1
Reporting View for Expenses Management Reporting
APPS.OIE_MGR_RPT_V·↳ AP_EXPENSE_REPORTS·↳ AP_EXPENSE_REPORT_HEADERS·↳ AP_EXPENSE_REPORT_LINES·Explore AP module →
-
View for all expense report violations and corresponding expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_VIOLATIONS_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
View: APBV_POL_VIOLATIONS 12.1.1
Based on AP_POL_VIOLATIONS_ALL, this business view contains expense policy violation data.
APPS.APBV_POL_VIOLATIONS·↳ AP_POL_VIOLATIONS_ALL·Explore AP module →
-
View: CE_AP_FC_EXP_REPORTS_V 12.1.1
Forecasting source - AP Expense Reports
APPS.CE_AP_FC_EXP_REPORTS_V·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore CE module →
-
This table is used to store policy violation information for expensereports.
-
OIE Archive Table for Policy Violations
-
View: CE_AP_FC_EXP_REPORTS_V 12.2.2
Forecasting source - AP Expense Reports
APPS.CE_AP_FC_EXP_REPORTS_V·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore CE module →
-
This table is used to store policy violation information for expensereports.
-
View: APBV_EXP_REPORT_DISTS 12.1.1
APPS.APBV_EXP_REPORT_DISTS·↳ AP_EXP_REPORT_DISTS_ALL·Explore AP module →
-
View: APBV_EXP_REPORT_DISTS 12.2.2
APPS.APBV_EXP_REPORT_DISTS·↳ AP_EXP_REPORT_DISTS_ALL·Explore AP module →
-
View for all expense report violations and corresponding expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_VIOLATIONS_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
Expense distributions
-
Expense Report History in Oracle Internet Expenses is based on this view
APPS.AP_EXPENSE_REPORT_HISTORY_V·↳ AP_EXPENSE_REPORT_HEADERS·↳ AP_INVOICES·↳ AP_LOOKUP_CODES·Explore AP module →
-
Expense Report History in Oracle Internet Expenses is based on this view
APPS.AP_EXPENSE_REPORT_HISTORY_V·↳ AP_EXPENSE_REPORT_HEADERS·↳ AP_INVOICES·↳ AP_LOOKUP_CODES·Explore AP module →
-
APPS.APBV_EXPENSE_REPORT_LINES·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
Expense Report History in Oracle Internet Expenses is based on this view
APPS.AP_EXPENSE_REPORT_HEADERS_V·↳ AP_AWT_GROUPS·↳ AP_EXPENSE_REPORTS·↳ AP_EXPENSE_REPORT_HEADERS·Explore AP module →
-
Expense distributions
-
OIE Archive Table for Expense Report Distributions
-
Expense Report History in Oracle Internet Expenses is based on this view
APPS.AP_EXPENSE_REPORT_HEADERS_V·↳ AP_AWT_GROUPS·↳ AP_EXPENSE_REPORTS·↳ AP_EXPENSE_REPORT_HEADERS·Explore AP module →
-
APPS.APBV_EXPENSE_REPORT_LINES·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
Header information about employee expense reports
-
APPS.APBV_EXPENSE_REPORT_HEADERS·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_WEB_OA_ACTIVE_PKG·Explore AP module →
-
OIE Archive Table for Credit Card Transactions
-
Detailed information about the credit card transactions of your employees
-
View: APBV_CREDIT_CARD_TRXNS 12.2.2
Based on AP_CREDIT_CARD_TRXNS_ALL, this business view contains credit card transaction data.
APPS.APBV_CREDIT_CARD_TRXNS·↳ AP_CREDIT_CARD_TRXNS_ALL·Explore AP module →
-
Detailed information about the credit card transactions of your employees
-
APPS.APBV_EXPENSE_REPORT_HEADERS·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_WEB_OA_ACTIVE_PKG·Explore AP module →
-
Expense item information for employee expense reports
-
Header information about employee expense reports
-
Expense item information for employee expense reports
-
OIE Archive Table for Expense Report Headers
-
View: APBV_CREDIT_CARD_TRXNS 12.1.1
Based on AP_CREDIT_CARD_TRXNS_ALL, this business view contains credit card transaction data.
APPS.APBV_CREDIT_CARD_TRXNS·↳ AP_CREDIT_CARD_TRXNS_ALL·Explore AP module →
-
OIE Archive Table for Expense Report Lines