Search Results debug_info
Overview
AP_PBATCH_SET_HEADER_PKG is an Oracle Application Object Library style PL/SQL package in the APPS schema that encapsulates the core Data Manipulation Language operations against the AP_PBATCH_SETS table, which stores Payment Batch Set definitions used by Oracle Payables. In Oracle EBS 12.1.1 and 12.2.2, the package provides a single, controlled interface for inserting, locking, updating, and deleting payment batch set header records, insulating callers such as Oracle Forms or concurrent programs from direct table access. The documented header comment ($Header: apbsethb.pls 120.2 2004/10/27) confirms the code lineage dates to the 11i era and was carried forward into Release 12; the naming convention and structure match the standard Oracle "table handler" pattern generated for base tables. The object is classified as an "OTHER" API rather than a public or private Oracle-provided API, indicating it is an internal implementation artifact supporting the Payables payment batch set form, not a formally supported integration API.
Key Procedures and Functions
- INSERT_ROW — Inserts a new payment batch set header into AP_PBATCH_SETS. It obtains a new primary key by selecting the sequence AP_PBATCH_SETS_S.NEXTVAL, performs the insert, then re-queries the inserted row by ROWID (returned through an OUT parameter) so the caller receives the canonical row handle. The procedure raises NO_DATA_FOUND if the ROWID fetch fails.
- LOCK_ROW — Acquires a row-level lock on an existing payment batch set so the calling form can safely read and subsequently update it without concurrent modification.
- UPDATE_ROW — Applies changes to an existing payment batch set header record, including standard WHO columns such as LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN.
- DELETE_ROW — Removes a payment batch set header record from AP_PBATCH_SETS.
All four procedures follow the Oracle table-handler convention, accepting and returning a ROWID for the affected record and propagating errors through FND_MESSAGE using the SQLAP application's AP_DEBUG message when the failure is not the internal exception number -20001.
Tables Accessed
- AP_PBATCH_SETS — The primary base table. It holds the payment batch set header rows, keyed by BATCH_SET_ID and populated with BATCH_SET_NAME, INACTIVE_DATE, and the standard WHO audit columns. All four procedures read or write this table.
- AP_PBATCH_SETS_S — The database sequence used exclusively by INSERT_ROW to generate the next BATCH_SET_ID primary key value.
Usage Notes
This package is invoked indirectly by the Oracle Payables Payment Batch Set form and related internal processing when users create, modify, or delete payment batch sets. The ETRM metadata records zero other packages referencing it, confirming it is a leaf-level table handler rather than a shared utility. The routine performs no business validation—it assumes the caller has already applied validation rules through the corresponding form or higher-level API. Because it is classified as a non-public internal object, custom code should not depend on its signature without verifying it against the target patch level, since Oracle may alter undocumented internals across Release 12 updates. The embedded debug_info variable, assigned descriptive literals before each significant step, provides a diagnostic trail surfaced through FND_MESSAGE when errors occur, enabling support analysts to pinpoint the failing operation from the CALLING_SEQUENCE token passed by the caller.
-
PACKAGE BODY: APPS.AP_PBATCH_SET_HEADER_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_PBATCH_SET_HEADER_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_FIX_ACCTG_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_FIX_ACCTG_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_WITHHOLDING_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_BR_AR_BORDEROS_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_BR_AR_BORDEROS_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_PURGE_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_ZZ_GL_AXI_MODELS_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_PURGE_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_DUPLICATE_VENDORS_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_DUPLICATE_VENDORS_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_HOLD_CODES_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_HOLD_CODES_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_GL_AXI_MODELS_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_CUSTOM_INT_INV_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_RULES_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_RULES_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_IMPORT_UTILITIES_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_CUS_CLS_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_FSC_CLS_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_NAT_RAT_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_IMPORT_UTILITIES_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_CAT_ATT_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_CUS_CLS_PKG
12.1.1
-
PACKAGE BODY: APPS.FND_TRANSACTION
12.1.1
-
PACKAGE BODY: APPS.AP_IMPORT_INVOICES_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_FSC_CLS_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_NAT_RAT_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_APXIIMPT_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_CAT_ATT_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_BR_AR_SELECT_ACCOUNTS_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_IMPORT_INVOICES_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_BATCHES_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_BATCHES_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_ALLOCATION_RULES_PKG
12.2.2
-
PACKAGE BODY: APPS.JA_KR_AP_SPECIAL_WH_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_ALLOCATION_RULES_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_APXIIMPT_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.FND_TRANSACTION
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_CAT_DTL_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_BR_AR_SELECT_ACCOUNTS_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_IMPORT_VALIDATION_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_BR_AR_SELECT_CONTROLS_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_CO_FA_ASSET_APPRS_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_CO_FA_ASSET_APPRS_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_CATEG_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_LGL_MSG_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_LGL_MSG_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_ZZ_AR_TX_SCHEDULES_PKG
12.2.2