Search Results ap_selected_invoices_all
The AP_SELECTED_INVOICES_ALL
table in Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2 is a critical repository for temporarily storing invoice data during key Accounts Payable (AP) processes. This table serves as a staging area for invoices selected for batch operations such as payments, approvals, validations, and reporting. Below is a detailed analysis of its structure, purpose, and functional significance.
Purpose and Functional Context
TheAP_SELECTED_INVOICES_ALL
table acts as a transient storage mechanism for invoices flagged for processing. It is primarily utilized in the following scenarios:
- Payment Batch Processing: Invoices selected for payment via the Payment Batch form are stored here before being processed by the Payables Payment Program.
- Approval Workflows: Invoices marked for approval through the Invoice Workbench or Approval workflows are temporarily held in this table.
- Validation and Reporting: Used to aggregate invoices for validation checks or custom reporting before final submission.
Key Columns and Structure
The table includes columns that map to invoice attributes and processing metadata. Notable columns include:- INVOICE_ID: Foreign key linking to
AP_INVOICES_ALL
, identifying the invoice. - SELECTION_ID: A unique identifier for the batch or session that selected the invoice.
- PROCESS_TYPE: Indicates the operation (e.g., 'PAYMENT', 'APPROVAL', 'VALIDATION').
- CREATED_BY, CREATION_DATE: Audit columns tracking who added the record and when.
- STATUS_FLAG: Reflects processing state (e.g., 'PENDING', 'PROCESSED', 'ERROR').
Integration with AP Workflows
The table integrates with core AP modules:- Payment Processing: During payment batch creation, invoices are inserted into
AP_SELECTED_INVOICES_ALL
withPROCESS_TYPE='PAYMENT'
. The Payment Program then reads these records to generate payments. - Approval Routing: Invoices pending approval are stored here with
PROCESS_TYPE='APPROVAL'
, enabling the Approval Workflow Engine to process them sequentially. - Data Validation: Custom validation scripts may query this table to enforce business rules before final submission.
Technical Considerations
- Multi-Org Support: The
_ALL
suffix denotes multi-org functionality, with data partitioned byORG_ID
. - Performance: Indexes on
SELECTION_ID
andINVOICE_ID
optimize query performance during batch operations. - Purging Mechanism: Records are typically purged post-processing via concurrent programs or manual cleanup scripts to maintain efficiency.
Common Customizations
Organizations often extend the table’s utility through:- Custom Selection Criteria: Adding columns to support unique invoice filtering logic.
- Enhanced Reporting: Joining with
AP_INVOICES_ALL
orAP_INVOICE_DISTRIBUTIONS_ALL
for ad-hoc analyses. - Integration Hooks: Using the table as an intermediate layer for third-party payment systems.
Conclusion
TheAP_SELECTED_INVOICES_ALL
table is a pivotal component in Oracle EBS AP modules, enabling efficient batch processing and workflow management. Its design supports scalability, auditability, and integration with both standard and customized AP operations. Understanding its structure and behavior is essential for troubleshooting, performance tuning, and extending AP functionalities in EBS 12.1.1 and 12.2.2 environments.
-
Table: AP_SELECTED_INVOICES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_SELECTED_INVOICES_ALL, object_name:AP_SELECTED_INVOICES_ALL, status:VALID, product: AP - Payables , description: Temporary storage of invoices selected for payment in a payment batch , implementation_dba_data: AP.AP_SELECTED_INVOICES_ALL ,
-
Table: AP_SELECTED_INVOICES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_SELECTED_INVOICES_ALL, object_name:AP_SELECTED_INVOICES_ALL, status:VALID, product: AP - Payables , description: Temporary storage of invoices selected for payment in a payment batch , implementation_dba_data: AP.AP_SELECTED_INVOICES_ALL ,
-
Table: AP_SELECTED_INVOICE_CHECKS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_SELECTED_INVOICE_CHECKS_ALL, object_name:AP_SELECTED_INVOICE_CHECKS_ALL, status:VALID, product: AP - Payables , description: No Longer Used , implementation_dba_data: AP.AP_SELECTED_INVOICE_CHECKS_ALL ,
-
Table: AP_SELECTED_INVOICE_CHECKS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_SELECTED_INVOICE_CHECKS_ALL, object_name:AP_SELECTED_INVOICE_CHECKS_ALL, status:VALID, product: AP - Payables , description: No Longer Used , implementation_dba_data: AP.AP_SELECTED_INVOICE_CHECKS_ALL ,
-
View: AP_DOCUMENT_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_DOCUMENT_LINES_V, object_name:AP_DOCUMENT_LINES_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_DOCUMENT_LINES_V ,
-
View: AP_DOCUMENT_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_DOCUMENT_LINES_V, object_name:AP_DOCUMENT_LINES_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_DOCUMENT_LINES_V ,
-
Table: AP_INV_SELECTION_CRITERIA_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INV_SELECTION_CRITERIA_ALL, object_name:AP_INV_SELECTION_CRITERIA_ALL, status:VALID, product: AP - Payables , description: Payment batch invoice selection criteria , implementation_dba_data: AP.AP_INV_SELECTION_CRITERIA_ALL ,
-
Table: AP_INV_SELECTION_CRITERIA_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INV_SELECTION_CRITERIA_ALL, object_name:AP_INV_SELECTION_CRITERIA_ALL, status:VALID, product: AP - Payables , description: Payment batch invoice selection criteria , implementation_dba_data: AP.AP_INV_SELECTION_CRITERIA_ALL ,
-
View: AP_APPLY_PREPAYS_FR_PREPAY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_APPLY_PREPAYS_FR_PREPAY_V, object_name:AP_APPLY_PREPAYS_FR_PREPAY_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_APPLY_PREPAYS_FR_PREPAY_V ,
-
View: AP_APPLY_PREPAYS_FR_PREPAY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_APPLY_PREPAYS_FR_PREPAY_V, object_name:AP_APPLY_PREPAYS_FR_PREPAY_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_APPLY_PREPAYS_FR_PREPAY_V ,
-
View: AP_DOCUMENTS_PAYABLE
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_DOCUMENTS_PAYABLE, object_name:AP_DOCUMENTS_PAYABLE, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_DOCUMENTS_PAYABLE ,
-
Table: AP_BANK_ACCOUNTS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_BANK_ACCOUNTS_ALL, object_name:AP_BANK_ACCOUNTS_ALL, status:VALID, product: AP - Payables , implementation_dba_data: AP.AP_BANK_ACCOUNTS_ALL ,
-
Table: AP_BANK_ACCOUNTS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_BANK_ACCOUNTS_ALL, object_name:AP_BANK_ACCOUNTS_ALL, status:VALID, product: AP - Payables , implementation_dba_data: AP.AP_BANK_ACCOUNTS_ALL ,
-
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 ,
-
View: AP_DOCUMENTS_PAYABLE
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_DOCUMENTS_PAYABLE, object_name:AP_DOCUMENTS_PAYABLE, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_DOCUMENTS_PAYABLE ,