Search Results pay
Overview
The AP_PAY_GROUP table is a core data object within the Oracle E-Business Suite Payables (AP) module. It serves as the master repository for defining and storing pay groups, which are logical groupings of payments used to streamline the payment processing workflow. The primary role of a pay group is to act as a key component within either a Payment Process Request Template or a specific Payment Process Request. These templates and requests are central to the Payables payment engine, enabling the automated selection, formatting, and creation of payments such as checks and electronic funds transfers. By organizing payments into distinct groups, the table facilitates controlled, batch-oriented payment processing and reporting.
Key Information Stored
While the full column list is not detailed in the provided metadata, the primary and foreign key relationships indicate the critical data elements. The table's primary key is PAY_GROUP_ID, which uniquely identifies each pay group record. Two significant foreign key columns define the table's relationships: TEMPLATE_ID links the pay group to its parent template in the AP_PAYMENT_TEMPLATES table, and CHECKRUN_ID links it to a specific payment process request (historically called a check run) in the AP_INV_SELECTION_CRITERIA_ALL table. Additional columns likely store descriptive information such as the pay group name, status, associated payment method, currency, and control totals for the grouped payments.
Common Use Cases and Queries
A primary use case is generating reports on payment batches prior to final submission. Analysts may query pay groups to review the total value and count of invoices selected for payment. A common SQL pattern involves joining AP_PAY_GROUP to payment detail tables to summarize activity. For troubleshooting, one might query pay groups associated with a failed or held payment process request. Sample queries include identifying pay groups for a specific template or retrieving details for a particular payment batch run.
- Listing all pay groups within a specific template:
SELECT pay_group_id, name FROM ap_pay_group WHERE template_id = <template_id>; - Summarizing payment amounts by pay group for a request:
SELECT pg.pay_group_id, SUM(ila.amount) total_amount FROM ap_pay_group pg JOIN ap_invoice_selection_criteria_all isc ON pg.checkrun_id = isc.checkrun_id JOIN ap_invoice_lines_all ila ON isc.invoice_id = ila.invoice_id WHERE pg.checkrun_id = <request_id> GROUP BY pg.pay_group_id;
Related Objects
The AP_PAY_GROUP table maintains defined foreign key relationships with two other key Payables tables, as documented in the ETRM metadata.
- AP_PAYMENT_TEMPLATES: A pay group is associated with a payment template via the TEMPLATE_ID column. This relationship defines the configuration and rules under which the pay group operates when used in a template.
- AP_INV_SELECTION_CRITERIA_ALL: A pay group is linked to a specific payment process request (or check run) via the CHECKRUN_ID column. This table stores the invoices selected for payment within that request, and the pay group acts as an organizing entity for those payments.
The table is also intrinsically related to payment execution objects like AP_CHECKS_ALL and AP_PAYMENT_SCHEDULES_ALL, typically accessed via the invoice selection criteria or payment instructions generated from the pay group.
-
Lookup Type: DONT PAY REASON
12.1.1
product: AP - Payables , meaning: Dont Pay Reason , description: Reason for not paying an invoice selected for payment ,
-
Lookup Type: PAY DATE BASIS
12.2.2
product: AP - Payables , meaning: Pay date basis , description: Pay date basis ,
-
Lookup Type: DONT PAY REASON
12.2.2
product: AP - Payables , meaning: Dont Pay Reason , description: Reason for not paying an invoice selected for payment ,
-
Lookup Type: PAY DATE BASIS
12.1.1
product: AP - Payables , meaning: Pay date basis , description: Pay date basis ,
-
Lookup Type: ALLOW FUTURE PAY OPTION
12.1.1
product: AP - Payables , meaning: ALLOW FUTURE PAY OPTION , description: Option that determines whether future dated payments are allowed or not for a payment document ,
-
Lookup Type: ALLOW FUTURE PAY OPTION
12.2.2
product: AP - Payables , meaning: ALLOW FUTURE PAY OPTION , description: Option that determines whether future dated payments are allowed or not for a payment document ,
-
Lookup Type: FUTURE PAY ACCT SOURCE
12.1.1
product: AP - Payables , meaning: Future Pay Acct Source , description: Source for future dated payment account ,
-
Lookup Type: FUTURE PAY LIAB RELIEF
12.2.2
product: AP - Payables , meaning: Future Pay Liab Relief , description: Future dated payments liability relief option ,
-
Lookup Type: FUTURE PAY ACCT SOURCE
12.2.2
product: AP - Payables , meaning: Future Pay Acct Source , description: Source for future dated payment account ,
-
Lookup Type: FUTURE PAY LIAB RELIEF
12.1.1
product: AP - Payables , meaning: Future Pay Liab Relief , description: Future dated payments liability relief option ,
-
Lookup Type: LABELS SITES
12.2.2
product: AP - Payables , meaning: Labels Sites , description: Sites, e.g. non-pay, to be included in mailing labels ,
-
Lookup Type: LABELS SITES
12.1.1
product: AP - Payables , meaning: Labels Sites , description: Sites, e.g. non-pay, to be included in mailing labels ,
-
Concurrent Program: APXPOPAY
12.2.2
execution_filename: APXPOPAY , product: AP - Payables , user_name: APXPOPAY , description: Positive Pay Report , argument_method: Standard , enabled: No , execution_method: Oracle Reports ,
-
Concurrent Program: APXPOPAY
12.1.1
execution_filename: APXPOPAY , product: AP - Payables , user_name: APXPOPAY , description: Positive Pay Report , argument_method: Standard , enabled: No , execution_method: Oracle Reports ,
-
Lookup Type: PPA_REJECT_CODE
12.1.1
product: AP - Payables , meaning: PPA rejection reason ,
-
Lookup Type: PPA_REJECT_CODE
12.2.2
product: AP - Payables , meaning: PPA rejection reason ,
-
Lookup Type: PAYMENT OPTIONS
12.1.1
product: AP - Payables , meaning: Payment Options , description: Codes for Payment option in Modify Payment Batch ,
-
Lookup Type: PAYMENT OPTIONS
12.2.2
product: AP - Payables , meaning: Payment Options , description: Codes for Payment option in Modify Payment Batch ,
-
Lookup Type: OIE_BP_CC_HOLD_TYPES
12.1.1
product: AP - Payables , meaning: Expenses Credit Card Both Pay Hold Types , description: Expenses Credit Card Both Pay Hold Types ,
-
Lookup Type: OIE_BP_CC_HOLD_TYPES
12.2.2
product: AP - Payables , meaning: Expenses Credit Card Both Pay Hold Types , description: Expenses Credit Card Both Pay Hold Types ,
-
Lookup Type: INVOICE IMPORT REJECTION
12.1.1
product: AP - Payables , meaning: Invoice Import Rejection , description: Reason for the rejection of an imported invoice ,
-
Lookup Type: INVOICE IMPORT REJECTION
12.2.2
product: AP - Payables , meaning: Invoice Import Rejection , description: Reason for the rejection of an imported invoice ,
-
Lookup Type: LOOKUP TYPE
12.2.2
product: AP - Payables , meaning: NODESCRIPTION102 ,
-
Lookup Type: LOOKUP TYPE
12.1.1
product: AP - Payables , meaning: NODESCRIPTION102 ,
-
Table: AP_PAY_GROUP
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PAY_GROUP, object_name:AP_PAY_GROUP, status:VALID, product: AP - Payables , description: Pay groups for the Payment Process Request Template or the Payment Process Request. , implementation_dba_data: AP.AP_PAY_GROUP ,
-
Table: AP_PAY_GROUP
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PAY_GROUP, object_name:AP_PAY_GROUP, status:VALID, product: AP - Payables , description: Pay groups for the Payment Process Request Template or the Payment Process Request. , implementation_dba_data: AP.AP_PAY_GROUP ,
-
Lookup Type: REJECT CODE
12.2.2
product: AP - Payables , meaning: Reject Code , description: Reject Codes for AP Open Interface ,
-
Lookup Type: REJECT CODE
12.1.1
product: AP - Payables , meaning: Reject Code , description: Reject Codes for AP Open Interface ,
-
Lookup Type: NLS TRANSLATION
12.1.1
product: AP - Payables , meaning: Nls Translation , description: Words/phrases that need to be NLS ,
-
Lookup Type: NLS TRANSLATION
12.2.2
product: AP - Payables , meaning: Nls Translation , description: Words/phrases that need to be NLS ,
-
View: AP_EXPENSE_REPORT_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_LINES_V, object_name:AP_EXPENSE_REPORT_LINES_V, status:VALID, product: AP - Payables , description: View for all expense report lines that are ready for payment or have already been paid. , implementation_dba_data: APPS.AP_EXPENSE_REPORT_LINES_V ,
-
View: AP_EXPENSE_REPORT_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_LINES_V, object_name:AP_EXPENSE_REPORT_LINES_V, status:VALID, product: AP - Payables , description: View for all expense report lines that are ready for payment or have already been paid. , implementation_dba_data: APPS.AP_EXPENSE_REPORT_LINES_V ,
-
Lookup Type: PAY_DIST_TYPES
12.1.1
product: AP - Payables , meaning: Pay Dist Types , description: Line types of the ap_payment_distributions table ,
-
Lookup Type: PAY_DIST_TYPES
12.2.2
product: AP - Payables , meaning: Pay Dist Types , description: Line types of the ap_payment_distributions table ,
-
View: AP_VENDORS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_VENDORS_V, object_name:AP_VENDORS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_VENDORS_V ,
-
View: AP_EXPENSE_REPORT_VIOLATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_VIOLATIONS_V, object_name:AP_EXPENSE_REPORT_VIOLATIONS_V, status:VALID, product: AP - Payables , description: View for all expense report violations and corresponding expense report lines that are ready for payment or have already been paid. , implementation_dba_data: APPS.AP_EXPENSE_REPORT_VIOLATIONS_V ,
-
View: AP_EXPENSE_REPORT_VIOLATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_VIOLATIONS_V, object_name:AP_EXPENSE_REPORT_VIOLATIONS_V, status:VALID, product: AP - Payables , description: View for all expense report violations and corresponding expense report lines that are ready for payment or have already been paid. , implementation_dba_data: APPS.AP_EXPENSE_REPORT_VIOLATIONS_V ,
-
View: AP_VENDORS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_VENDORS_V, object_name:AP_VENDORS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_VENDORS_V ,
-
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: HOLD CODE
12.2.2
product: AP - Payables , meaning: Hold Code , description: The hold codes are also stored as lookups for NLS translations ,
-
View: AP_ENC_GL_PAY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_ENC_GL_PAY_V, object_name:AP_ENC_GL_PAY_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_ENC_GL_PAY_V ,
-
View: AP_VENDOR_SITES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_VENDOR_SITES_V, object_name:AP_VENDOR_SITES_V, status:VALID, product: AP - Payables , description: (Release 10SC Only) , implementation_dba_data: APPS.AP_VENDOR_SITES_V ,
-
View: AP_VENDOR_SITES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_VENDOR_SITES_V, object_name:AP_VENDOR_SITES_V, status:VALID, product: AP - Payables , description: (Release 10SC Only) , implementation_dba_data: APPS.AP_VENDOR_SITES_V ,
-
View: AP_AEL_SL_PAY_V
12.1.1
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_AEL_GL_PAY_V
12.1.1
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_AEL_GL_PAY_V
12.2.2
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_AEL_SL_PAY_V
12.2.2
product: AP - Payables , implementation_dba_data: Not implemented in this database ,