Search Results approval
The AP_LINE_APRVL_HIST_ALL
table in Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2 is a critical repository for tracking approval history at the line level for invoices processed through the Accounts Payable (AP) module. This table captures detailed transactional data related to invoice line approvals, including timestamps, approver details, and approval statuses, ensuring auditability and compliance with financial controls. Below is a detailed breakdown of its structure, functionality, and significance within Oracle EBS.
Purpose and Functional Context
TheAP_LINE_APRVL_HIST_ALL
table stores historical records of approval actions performed on individual invoice lines. Unlike header-level approval tables, it provides granular visibility into the approval workflow for multi-line invoices, which is essential for organizations with complex approval hierarchies or segmented approval rules (e.g., based on cost centers, GL accounts, or project codes). This table is integral to Oracle's Approval Management Engine (AME) and supports audit trails, reporting, and reconciliation.
Key Columns and Data Structure
The table includes columns that map to approval workflow attributes:- INVOICE_ID: Foreign key linking to
AP_INVOICES_ALL
, identifying the invoice. - INVOICE_LINE_NUMBER: References the line in
AP_INVOICE_LINES_ALL
. - APPROVAL_HISTORY_ID: Primary key, a unique identifier for each approval event.
- APPROVER_ID: Foreign key to
PER_ALL_PEOPLE_F
, identifying the approver. - APPROVAL_STATUS: Values like 'APPROVED', 'REJECTED', or 'PENDING'.
- APPROVAL_DATE: Timestamp of the approval action.
- ACTION_CODE: Indicates the type of action (e.g., 'SUBMIT', 'APPROVE').
- COMMENTS: Optional notes from the approver.
- ORG_ID: Multi-org identifier for partitioned data.
Integration with Approval Workflows
The table is populated during invoice approval processes, including:- Standard Approvals: Triggered via Oracle Workflow or AME rules.
- Ad-Hoc Delegations: When approvers delegate authority temporarily.
- Hierarchical Approvals: Multi-level approvals based on monetary thresholds.
AP_INVOICE_LINES_ALL
and related audit tables like AP_INV_APRVL_HIST_ALL
(header-level history).
Technical Considerations
- Indexing: Typically indexed on
INVOICE_ID
,INVOICE_LINE_NUMBER
, andAPPROVAL_HISTORY_ID
for performance. - Partitioning: In multi-org environments,
ORG_ID
enables partitioning for scalability. - Retention: Historical data is retained per audit policies, often archived periodically.
Reporting and Compliance
The table supports:- Audit Reports: For SOX or internal audits, tracking who approved what and when.
- Exception Reporting: Identifying bottlenecks (e.g., lines stuck in 'PENDING').
- Custom Extracts: For integration with third-party analytics tools.
Customization and Extensions
While Oracle discourages direct DML on this table, extensions can be achieved via:- API Calls: Using
AP_INVOICE_PUB
orAP_APPROVAL_PKG
. - Triggers: To enforce additional validation rules during insert/update.
- Views: Creating custom joins with
AP_INVOICES_ALL
for reporting.
Conclusion
TheAP_LINE_APRVL_HIST_ALL
table is a cornerstone of Oracle AP's approval tracking, providing traceability and compliance for invoice line approvals. Its design aligns with Oracle's multi-org, multi-currency architecture, ensuring scalability. Understanding its structure and integration points is essential for troubleshooting, customization, and optimizing approval workflows in Oracle EBS 12.1.1/12.2.2.
-
Lookup Type: APPROVAL
12.2.2
product: AP - Payables , meaning: Approval , description: General approval status ,
-
Lookup Type: APPROVAL
12.1.1
product: AP - Payables , meaning: Approval , description: General approval status ,
-
Lookup Type: APPROVAL OPTIONS
12.1.1
product: AP - Payables , meaning: Approval Options , description: Type for quick pick lookup codes on option field of Approval form ,
-
Lookup Type: APPROVAL OPTIONS
12.2.2
product: AP - Payables , meaning: Approval Options , description: Type for quick pick lookup codes on option field of Approval form ,
-
Lookup Type: MGR APPROVAL METHOD
12.2.2
product: AP - Payables , meaning: Mgr Approval Method , description: Level of manager approval required for credit card transactions ,
-
Lookup Type: MGR APPROVAL METHOD
12.1.1
product: AP - Payables , meaning: Mgr Approval Method , description: Level of manager approval required for credit card transactions ,
-
Lookup Type: APPROVAL INCLUDE OPTIONS
12.2.2
product: AP - Payables , meaning: Approval Include Options , description: Type for quick pick lookup codes on include_option field of Approval form ,
-
Lookup Type: APPROVAL INCLUDE OPTIONS
12.1.1
product: AP - Payables , meaning: Approval Include Options , description: Type for quick pick lookup codes on include_option field of Approval form ,
-
Lookup Type: AP_WFAPPROVAL_STATUS
12.1.1
product: AP - Payables , meaning: Payables Approval Status , description: Approval Status for Invoice Approval Workflow Process ,
-
Lookup Type: AP_WFAPPROVAL_STATUS
12.2.2
product: AP - Payables , meaning: Payables Approval Status , description: Approval Status for Invoice Approval Workflow Process ,
-
Lookup Type: AP_WFAPPROVAL_CONTEXT
12.2.2
product: AP - Payables , meaning: Ap Workflow Approval Context , description: Ap Workflow Approval Context ,
-
Lookup Type: AP_WFAPPROVAL_CONTEXT
12.1.1
product: AP - Payables , meaning: Ap Workflow Approval Context , description: Ap Workflow Approval Context ,
-
Lookup Type: EXPENSE REPORT STATUS
12.2.2
product: AP - Payables , meaning: Expense Report Status , description: Expense Report Status ,
-
Lookup Type: CC_STATUS
12.1.1
product: AP - Payables , meaning: Cc Status , description: Credit Card Transaction status ,
-
Lookup Type: CC_STATUS
12.2.2
product: AP - Payables , meaning: Cc Status , description: Credit Card Transaction status ,
-
Lookup Type: EXPENSE REPORT STATUS
12.1.1
product: AP - Payables , meaning: Expense Report Status , description: Expense Report Status ,
-
Lookup Type: AWT TIME
12.2.2
product: AP - Payables , meaning: Awt Time , description: Timing options for Withholding Tax ,
-
Concurrent Program: APTERIAW
12.1.1
execution_filename: AP_WORKFLOW_PKG.Terminate_Approval , product: AP - Payables , user_name: APTERIAW , description: Terminate Invoice Approval Workflow Process , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: APTERIAW
12.2.2
execution_filename: AP_WORKFLOW_PKG.Terminate_Approval , product: AP - Payables , user_name: APTERIAW , description: Terminate Invoice Approval Workflow Process , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Table: AP_LINE_APRVL_HIST_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_LINE_APRVL_HIST_ALL, object_name:AP_LINE_APRVL_HIST_ALL, status:VALID, product: AP - Payables , description: AP_LINE_APRVL_HIST_ALL contains the approval and rejection history of each invoice line that passes through the Invoice Approval Workflow's approval phase process. The process inserts a record for each approver assigned to review an invoice , implementation_dba_data: AP.AP_LINE_APRVL_HIST_ALL ,
-
Lookup Type: AWT TIME
12.1.1
product: AP - Payables , meaning: Awt Time , description: Timing options for Withholding Tax ,
-
Table: AP_LINE_APRVL_HIST_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_LINE_APRVL_HIST_ALL, object_name:AP_LINE_APRVL_HIST_ALL, status:VALID, product: AP - Payables , description: AP_LINE_APRVL_HIST_ALL contains the approval and rejection history of each invoice line that passes through the Invoice Approval Workflow's approval phase process. The process inserts a record for each approver assigned to review an invoice , implementation_dba_data: AP.AP_LINE_APRVL_HIST_ALL ,
-
Lookup Type: NLS TRANSLATION
12.2.2
product: AP - Payables , meaning: Nls Translation , description: Words/phrases that need to be NLS ,
-
Concurrent Program: APXIAWRE
12.2.2
execution_filename: APXIAWRE , product: AP - Payables , user_name: APXIAWRE , description: Invoice Approval Workflow , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
Lookup Type: OIE_ASSIGN_AUDITOR_STAGE
12.2.2
product: AP - Payables , meaning: Auditor Assignment Stage , description: Auditor Assignment Stage ,
-
Concurrent Program: APXIAWRE
12.1.1
execution_filename: APXIAWRE , product: AP - Payables , user_name: APXIAWRE , description: Invoice Approval Workflow , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
Lookup Type: OIE_ASSIGN_AUDITOR_STAGE
12.1.1
product: AP - Payables , meaning: Auditor Assignment Stage , description: Auditor Assignment Stage ,
-
Lookup Type: OIE_POL_NOTE_LANGUAGE_SEARCH
12.1.1
product: AP - Payables , meaning: Note Language Search By , description: Note Language Search By ,
-
Lookup Type: NLS TRANSLATION
12.1.1
product: AP - Payables , meaning: Nls Translation , description: Words/phrases that need to be NLS ,
-
Lookup Type: OIE_POL_NOTE_LANGUAGE_SEARCH
12.2.2
product: AP - Payables , meaning: Note Language Search By , description: Note Language Search By ,
-
Concurrent Program: APWPCMGR
12.2.2
execution_filename: AP_WEB_PCARD_WORKFLOW_PKG.DistributeManagerApprovals , product: AP - Payables , user_name: APWPCMGR , description: Distribute Manager Card Transaction Approvals , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
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 ,
-
Concurrent Program: APWPCMGR
12.1.1
execution_filename: AP_WEB_PCARD_WORKFLOW_PKG.DistributeManagerApprovals , product: AP - Payables , user_name: APWPCMGR , description: Distribute Manager Card Transaction Approvals , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Lookup Type: OIE_IMG_ASSIGN_AUDITOR_STAGE
12.2.2
product: AP - Payables , meaning: Assign Auditor to the reports that require image receipts , description: Assign Auditor to the reports that require image receipts ,
-
Lookup Type: INVOICE MORE
12.1.1
product: AP - Payables , meaning: Invoice More , description: More options for invoice zone of invoice entry ,
-
Lookup Type: INVOICE MORE
12.2.2
product: AP - Payables , meaning: Invoice More , description: More options for invoice zone of invoice entry ,
-
Concurrent Program: APXIAWRE_XML
12.2.2
product: AP - Payables , user_name: Invoice Approval Workflow (XML) - Not Supported: Reserved For Future Use , argument_method: Standard , enabled: No , execution_method: Java Concurrent Program ,
-
Concurrent Program: APXAPRST
12.1.1
execution_filename: APXAPRST , product: AP - Payables , user_name: APXAPRST , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
Concurrent Program: APXAPRST
12.2.2
execution_filename: APXAPRST , product: AP - Payables , user_name: APXAPRST , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
Lookup Type: DESC_OR_APPR
12.2.2
product: AP - Payables , meaning: Desc Or Appr , description: Column option in Prepayment Status Report ,
-
Lookup Type: DESC_OR_APPR
12.1.1
product: AP - Payables , meaning: Desc Or Appr , description: Column option in Prepayment Status Report ,
-
Concurrent Program: APXIAWRE_XML
12.1.1
product: AP - Payables , user_name: Invoice Approval Workflow (XML) - Not Supported: Reserved For Future Use , argument_method: Standard , enabled: No , execution_method: Java Concurrent Program ,
-
Lookup Type: HOLD CODE
12.1.1
product: AP - Payables , meaning: Hold Code , description: The hold codes are also stored as lookups for NLS translations ,
-
Lookup Type: APPROVAL_STATUS_LOOKUP
12.1.1
product: AP - Payables , meaning: Invoice Approval Status Lookup Codes ,
-
Lookup Type: APPROVAL_STATUS_LOOKUP
12.2.2
product: AP - Payables , meaning: Invoice Approval Status Lookup Codes ,
-
Concurrent Program: APPRVL
12.1.1
execution_filename: APXAPRVL , product: AP - Payables , user_name: APXAPRVL , description: Batch Approval , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
Lookup Type: HOLD CODE
12.2.2
product: AP - Payables , meaning: Hold Code , description: The hold codes are also stored as lookups for NLS translations ,
-
Concurrent Program: APPRVL
12.2.2
execution_filename: APXAPRVL , product: AP - Payables , user_name: APXAPRVL , description: Batch Approval , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
Lookup Type: PREPAY DETAILS
12.1.1
product: AP - Payables , meaning: Prepay Details , description: Prepayment Entry detail regions and special functions ,