Search Results ap_inv_aprvl_hist_all
Overview
AP_INV_APRVL_HIST_ALL is an Oracle Payables application table owned by the AP schema that stores the complete approval and rejection audit trail for invoices processed through the Oracle Invoice Approval Workflow (IAW). Each time an invoice is routed for approval, the workflow engine inserts one row for every approver assigned to review that invoice, capturing the approver's identity, the amount approved, the approver's response, and any comments supplied during the review. Because the table stores the transactional outcome of each approval event rather than the invoice itself, it functions as the historical record of the approval lifecycle.
From a dimensional modeling perspective, the table's foreign key structure suggests a satellite-leaning classification. The single documented foreign key, INVOICE_ID referencing AP_INVOICES_ALL, identifies the parent business entity, while the descriptive attributes (approver, response, comments, amount) are event-scoped and change over time. Designers building a Data Vault model may therefore treat AP_INV_APRVL_HIST_ALL as a satellite hanging off an AP_INVOICES_ALL hub, with the approval history rows representing discrete state changes rather than a standalone hub or link.
Key Information Stored
The table contains 21 documented columns. The most significant include:
- APPROVAL_HISTORY_ID — the surrogate primary key, enforced by unique index AP_INV_APRVL_HIST_U1. This is the technical identifier for each approval event.
- INVOICE_ID — the foreign key to AP_INVOICES_ALL, linking the history row to the invoice under review. This is the primary business join column.
- ITERATION — tracks successive passes through the approval process, allowing multiple rounds of review per invoice.
- RESPONSE — the approver's action, such as approve, reject, or reassign.
- APPROVER_ID and APPROVER_NAME — the system identifier and display name of the assigned approver.
- AMOUNT_APPROVED — the monetary amount the approver authorized at that step.
- APPROVER_COMMENTS — free-text remarks captured from the approver.
- NOTIFICATION_ORDER — the sequence in which approvers were notified.
- HISTORY_TYPE — categorizes the history record (for example, approval versus rejection activity).
- HOLD_ID and LINE_NUMBER — contextual references to holds or invoice lines associated with the approval.
- ORG_ID — the operating unit, supporting multi-org data security.
- ORIG_SYSTEM and ITEM_ID — identify the originating system and item for externally sourced approvals.
- CREATED_BY, CREATION_DATE, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — standard EBS audit columns.
Common Use Cases and Queries
Payables administrators and auditors routinely query this table to reconstruct who approved an invoice, in what order, and with what comments. A typical query joins to AP_INVOICES_ALL to return invoice number and vendor alongside approver details:
- Approval audit reports — SELECT h.INVOICE_ID, h.APPROVER_NAME, h.RESPONSE, h.AMOUNT_APPROVED, h.CREATION_DATE FROM AP_INV_APRVL_HIST_ALL h WHERE h.INVOICE_ID = :invoice_id ORDER BY h.ITERATION, h.NOTIFICATION_ORDER;
- Approval cycle-time analysis — comparing CREATION_DATE across ITERATION values to measure elapsed approval time.
- Rejection trend reporting — filtering on RESPONSE and HISTORY_TYPE to quantify rejected invoices.
- Reconciliation of authorized amounts — summing AMOUNT_APPROVED against the invoice total in AP_INVOICES_ALL.
- Workflow troubleshooting — inspecting NOTIFICATION_ORDER and ITERATION where invoices appear stalled.
Related Objects
The table's relationships center on the invoice entity and the workflow infrastructure:
- AP_INVOICES_ALL — the parent table; join on INVOICE_ID = AP_INVOICES_ALL.INVOICE_ID.
- AP_INVOICE_LINES_ALL — provides line-level detail for approvals referencing LINE_NUMBER.
- AP_HOLDS_ALL — relates through HOLD_ID for hold-driven approvals.
- FND_USER — resolves APPROVER_ID to a valid application user.
- WF_ITEM_ACTIVITY_STATUSES / WF_NOTIFICATIONS — the Workflow runtime tables that generate the notification records summarized here.
- AP_INV_APRVL_HIST_ALL — is commonly exposed through custom views and Oracle Payables invoice inquiry forms.
-
Table: AP_INV_APRVL_HIST_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INV_APRVL_HIST_ALL, object_name:AP_INV_APRVL_HIST_ALL, status:VALID, product: AP - Payables , description: AP_INV_APRVL_HIST_ALL contains the approval and rejection history of each invoice that passes through the Invoice Approval Workflow process. The process inserts a record for each approver assigned to review an invoice. , implementation_dba_data: AP.AP_INV_APRVL_HIST_ALL ,
-
Table: AP_INV_APRVL_HIST_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INV_APRVL_HIST_ALL, object_name:AP_INV_APRVL_HIST_ALL, status:VALID, product: AP - Payables , description: AP_INV_APRVL_HIST_ALL contains the approval and rejection history of each invoice that passes through the Invoice Approval Workflow process. The process inserts a record for each approver assigned to review an invoice. , implementation_dba_data: AP.AP_INV_APRVL_HIST_ALL ,
-
VIEW: APPS.AP_WFAPPROVAL_HISTORY_V
12.2.2
-
SYNONYM: APPS.AP_INV_APRVL_HIST_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INV_APRVL_HIST_ALL, status:VALID,
-
VIEW: AP.AP_INV_APRVL_HIST_ALL#
12.2.2
owner:AP, object_type:VIEW, object_name:AP_INV_APRVL_HIST_ALL#, status:VALID,
-
VIEW: APPS.AP_WFAPPROVAL_HISTORY_V
12.1.1
-
VIEW: AP.AP_INV_APRVL_HIST_ALL#
12.2.2
-
SYNONYM: APPS.AP_INV_APRVL_HIST_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INV_APRVL_HIST_ALL, status:VALID,
-
View: AP_WFAPPROVAL_HISTORY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_WFAPPROVAL_HISTORY_V, object_name:AP_WFAPPROVAL_HISTORY_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_WFAPPROVAL_HISTORY_V ,
-
TABLE: AP.AP_INV_APRVL_HIST_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INV_APRVL_HIST_ALL, object_name:AP_INV_APRVL_HIST_ALL, status:VALID,
-
PACKAGE: APPS.AP_IAW_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_IAW_PKG, status:VALID,
-
View: AP_WFAPPROVAL_HISTORY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_WFAPPROVAL_HISTORY_V, object_name:AP_WFAPPROVAL_HISTORY_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_WFAPPROVAL_HISTORY_V ,
-
TABLE: AP.AP_INV_APRVL_HIST_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INV_APRVL_HIST_ALL, object_name:AP_INV_APRVL_HIST_ALL, status:VALID,
-
PACKAGE: APPS.AP_IAW_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_IAW_PKG, status:VALID,
-
SYNONYM: APPS.AP_INV_APRVL_HIST
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INV_APRVL_HIST, status:VALID,
-
SYNONYM: APPS.AP_INV_APRVL_HIST
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INV_APRVL_HIST, status:VALID,
-
PACKAGE BODY: APPS.AP_WFAPPROVAL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WFAPPROVAL_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WFAPPROVAL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WFAPPROVAL_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_ISP_UTILITIES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_ISP_UTILITIES_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_IAW_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_IAW_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_IAW_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_IAW_PKG, status:VALID,
-
VIEW: APPS.AP_WFAPPROVAL_HISTORY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_WFAPPROVAL_HISTORY_V, object_name:AP_WFAPPROVAL_HISTORY_V, status:VALID,
-
VIEW: APPS.AP_WFAPPROVAL_HISTORY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_WFAPPROVAL_HISTORY_V, object_name:AP_WFAPPROVAL_HISTORY_V, status:VALID,
-
PACKAGE BODY: APPS.AP_WORKFLOW_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WORKFLOW_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_WORKFLOW_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_WORKFLOW_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
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 ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
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.AP_IAW_PKG SQL Statements
12.1.1
-
APPS.AP_IAW_PKG SQL Statements
12.2.2
-
APPS.AP_WFAPPROVAL_PKG SQL Statements
12.2.2
-
APPS.AP_WFAPPROVAL_PKG SQL Statements
12.1.1
-
APPS.AP_IAW_PKG dependencies on AP_INV_APRVL_HIST_ALL
12.2.2
-
APPS.AP_WFAPPROVAL_PKG dependencies on AP_INV_APRVL_HIST_ALL
12.1.1
-
APPS.AP_IAW_PKG dependencies on AP_INV_APRVL_HIST_ALL
12.1.1
-
APPS.AP_WORKFLOW_PKG dependencies on AP_INV_APRVL_HIST_ALL
12.1.1
-
APPS.AP_WORKFLOW_PKG dependencies on AP_INV_APRVL_HIST_ALL
12.2.2
-
APPS.AP_ISP_UTILITIES_PKG dependencies on AP_INV_APRVL_HIST_ALL
12.2.2
-
APPS.AP_IAW_PKG dependencies on AP_INV_APRVL_HIST_ALL
12.2.2
-
APPS.AP_WFAPPROVAL_PKG dependencies on AP_INV_APRVL_HIST_ALL
12.2.2
-
APPS.AP_IAW_PKG dependencies on AP_INV_APRVL_HIST_ALL
12.1.1