Search Results ap_pmt_validations_pkg
Overview
APPS.AP_PMT_VALIDATIONS_PKG is a server-side PL/SQL package in Oracle Payables (AP) that consolidates the pre-disbursement validation logic executed against a payment instruction before the payment process proceeds. Its single documented entry point, PERFORMVALIDATIONS, evaluates the eligibility of a group of completed payments belonging to a given payment instruction, returning an aggregate validation result and, where applicable, a structured error record.
The package header declares AUTHID CURRENT_USER, meaning it executes with the privileges of the invoking schema rather than the defining schema. In Oracle E-Business Suite Release 12.1.1 and 12.2.2, this package sits within the Payments/IBY integration layer, where the payment instruction model (IBY) coordinates with Payables invoice, supplier site, bank account, and accounting data to determine whether payments can be built, formatted, and disbursed. The version header indicates the specification last changed at release 120.2 (2011), consistent with the 12.1.1 and 12.2.2 code lines.
Key Procedures and Functions
The package exposes one documented procedure:
- PERFORMVALIDATIONS — Accepts a payment instruction identifier and a completed payments group identifier, and returns two outputs: a boolean validation result (x_valResult) and an IBY transaction error record (x_docErrorRec). The procedure is the validation gate for a payment batch or payment instruction; the boolean signals whether all conditions were satisfied, while the error record carries the diagnostic detail used by the payments framework to report rejection reasons to the user or to the concurrent request log.
No public functions are documented in the specification beyond this procedure. The package is classified as OTHER in the ETRM API registry and is referenced by one other package, indicating it is an internal collaborator rather than a public integration API.
Tables Accessed
The documented table references reveal the scope of validation performed:
- Payables transaction data: AP_INVOICES_ALL, AP_PAYMENT_SCHEDULES_ALL, AP_SELECTED_INVOICES_ALL, AP_AWT_TEMP_DISTRIBUTIONS_ALL — invoice headers, scheduled payment lines, the selection of invoices for payment, and withholding tax distributions.
- Supplier and setup data: AP_SUPPLIER_SITES_ALL, AP_SYSTEM_PARAMETERS_ALL, FND_CURRENCIES — payee sites, Payables system options, and currency attributes.
- Banking and payment data: CE_BANK_ACCOUNTS, CE_BANK_ACCT_USES_ALL, IBY_PAYMENTS_ALL, IBY_DOCS_PAYABLE_ALL — internal bank accounts, account uses, and the IBY payment and document-payable records.
- Accounting data: CE_GL_ACCOUNTS_CCID, GL_CODE_COMBINATIONS, GL_PERIOD_STATUSES — code combination identifiers, account validation, and open/closed period checking.
- Error output: IBY_TRANSACTION_ERRORS — the row type used for x_docErrorRec.
Collectively these accesses confirm that validation spans invoice eligibility, supplier site and bank account validity, currency and period status, and withholding tax considerations.
Usage Notes
AP_PMT_VALIDATIONS_PKG is not intended for direct customer invocation. It is called by the Payables payment processing flow — most commonly from the Payment Process Request and payment instruction build steps executed through concurrent programs — and is referenced by one other package in the APPS schema. Because it is part of the internal payments validation path, customizations should not call PERFORMVALIDATIONS directly; instead, custom code should rely on the documented Payables and IBY APIs (such as the payment instruction and payment creation APIs) that transitively invoke this validation.
In upgrade and support contexts, the package is relevant when diagnosing failed payment instruction builds: the IBY_TRANSACTION_ERRORS record returned by PERFORMVALIDATIONS is the mechanism by which a rejected payment surfaces its cause to the payment dashboard and request log.
-
PACKAGE: APPS.AP_PMT_VALIDATIONS_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_PMT_VALIDATIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_PMT_VALIDATIONS_PKG, status:VALID,
-
SYNONYM: APPS.IBY_TRANSACTION_ERRORS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IBY_TRANSACTION_ERRORS, status:VALID,
-
PACKAGE: APPS.AP_PMT_VALIDATIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_PMT_VALIDATIONS_PKG, status:VALID,
-
PACKAGE: APPS.IBY_VALIDATIONSETS_CALLS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IBY_VALIDATIONSETS_CALLS_PUB, status:VALID,
-
PACKAGE BODY: APPS.IBY_VALIDATIONSETS_CALLS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IBY_VALIDATIONSETS_CALLS_PUB, status:VALID,
-
PACKAGE: APPS.CE_BANK_AND_ACCOUNT_VALIDATION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CE_BANK_AND_ACCOUNT_VALIDATION, status:VALID,
-
SYNONYM: APPS.AP_AWT_TEMP_DISTRIBUTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_AWT_TEMP_DISTRIBUTIONS_ALL, status:VALID,
-
SYNONYM: APPS.CE_GL_ACCOUNTS_CCID
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_GL_ACCOUNTS_CCID, status:VALID,
-
SYNONYM: APPS.AP_SELECTED_INVOICES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_SELECTED_INVOICES_ALL, status:VALID,
-
SYNONYM: APPS.IBY_PAY_INSTRUCTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IBY_PAY_INSTRUCTIONS_ALL, status:VALID,
-
SYNONYM: APPS.IBY_DOCS_PAYABLE_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IBY_DOCS_PAYABLE_ALL, status:VALID,
-
SYNONYM: APPS.CE_BANK_ACCT_USES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_BANK_ACCT_USES_ALL, status:VALID,
-
SYNONYM: APPS.IBY_PAYMENTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IBY_PAYMENTS_ALL, status:VALID,
-
SYNONYM: APPS.AP_PAYMENT_SCHEDULES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_PAYMENT_SCHEDULES_ALL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.IBY_FD_DOCS_PAYABLE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBY.IBY_FD_DOCS_PAYABLE_V, object_name:IBY_FD_DOCS_PAYABLE_V, status:VALID,
-
PACKAGE BODY: APPS.AP_PMT_VALIDATIONS_PKG
12.2.2
-
SYNONYM: APPS.AP_SYSTEM_PARAMETERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_SYSTEM_PARAMETERS_ALL, status:VALID,
-
SYNONYM: APPS.AP_SUPPLIER_SITES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_SUPPLIER_SITES_ALL, status:VALID,
-
VIEW: APPS.IBY_PAYMENT_PROFILES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBY.IBY_PAYMENT_PROFILES, object_name:IBY_PAYMENT_PROFILES, status:VALID,
-
SYNONYM: APPS.CE_BANK_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CE_BANK_ACCOUNTS, status:VALID,
-
VIEW: APPS.IBY_FD_PAYMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBY.IBY_FD_PAYMENTS_V, object_name:IBY_FD_PAYMENTS_V, status:VALID,
-
VIEW: APPS.AP_LOOKUP_CODES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_LOOKUP_CODES, object_name:AP_LOOKUP_CODES, status:VALID,
-
APPS.AP_PMT_VALIDATIONS_PKG dependencies on AP_PMT_VALIDATIONS_PKG
12.2.2
-
APPS.IBY_VALIDATIONSETS_CALLS_PUB dependencies on AP_PMT_VALIDATIONS_PKG
12.2.2
-
SYNONYM: APPS.AP_INVOICES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_ALL, status:VALID,
-
SYNONYM: APPS.GL_CODE_COMBINATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_CODE_COMBINATIONS, status:VALID,
-
SYNONYM: APPS.GL_PERIOD_STATUSES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_PERIOD_STATUSES, status:VALID,
-
APPS.AP_PMT_VALIDATIONS_PKG dependencies on FND_LOG
12.2.2
-
SYNONYM: APPS.FND_CURRENCIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_CURRENCIES, status:VALID,
-
APPS.AP_PMT_VALIDATIONS_PKG dependencies on IBY_TRANSACTION_ERRORS
12.2.2
-
APPS.AP_PMT_VALIDATIONS_PKG dependencies on FND_MSG_PUB
12.2.2
-
VIEW: APPS.PO_VENDORS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.PO_VENDORS, object_name:PO_VENDORS, status:VALID,
-
APPS.AP_PMT_VALIDATIONS_PKG dependencies on FND_MESSAGE
12.2.2
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
PACKAGE: APPS.FND_LOG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
PACKAGE: APPS.FND_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,