Search Results ap_pay_group
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.
-
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 ,
-
APPS.AP_AUTOSELECT_PKG dependencies on AP_PAY_GROUP
12.1.1
-
APPS.AP_AUTOSELECT_PKG dependencies on AP_PAY_GROUP
12.2.2
-
VIEW: AP.AP_PAY_GROUP#
12.2.2
owner:AP, object_type:VIEW, object_name:AP_PAY_GROUP#, status:VALID,
-
SYNONYM: APPS.AP_PAY_GROUP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_PAY_GROUP, status:VALID,
-
SYNONYM: APPS.AP_PAY_GROUP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_PAY_GROUP, status:VALID,
-
VIEW: AP.AP_PAY_GROUP#
12.2.2
-
APPS.AP_AUTOSELECT_PKG dependencies on AP_CURRENCY_GROUP
12.1.1
-
TABLE: AP.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,
-
Table: AP_PAYMENT_TEMPLATES
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PAYMENT_TEMPLATES, object_name:AP_PAYMENT_TEMPLATES, status:VALID, product: AP - Payables , description: User Defined Payment Process Request Templates , implementation_dba_data: AP.AP_PAYMENT_TEMPLATES ,
-
TABLE: AP.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,
-
Table: AP_PAYMENT_TEMPLATES
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PAYMENT_TEMPLATES, object_name:AP_PAYMENT_TEMPLATES, status:VALID, product: AP - Payables , description: User Defined Payment Process Request Templates , implementation_dba_data: AP.AP_PAYMENT_TEMPLATES ,
-
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 ,
-
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 ,
-
APPS.AP_AUTOSELECT_PKG dependencies on DBMS_XMLGEN
12.1.1
-
APPS.AP_AUTOSELECT_PKG dependencies on DBMS_XMLGEN
12.2.2
-
PACKAGE BODY: APPS.AP_AUTOSELECT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_AUTOSELECT_PKG, status:VALID,
-
APPS.AP_AUTOSELECT_PKG dependencies on AP_PAYMENT_TEMPLATES
12.1.1
-
PACKAGE BODY: APPS.AP_AUTOSELECT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_AUTOSELECT_PKG, status:VALID,
-
APPS.AP_AUTOSELECT_PKG dependencies on AP_PAYMENT_TEMPLATES
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design 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
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.AP_AUTOSELECT_PKG dependencies on FND_FILE
12.1.1
-
APPS.AP_AUTOSELECT_PKG SQL Statements
12.2.2
-
APPS.AP_AUTOSELECT_PKG SQL Statements
12.1.1
-
APPS.AP_AUTOSELECT_PKG dependencies on FND_FILE
12.2.2
-
PACKAGE BODY: APPS.AP_AUTOSELECT_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_AUTOSELECT_PKG
12.1.1
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,