Results for “g_status_success”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
IBY_BANKPAYMENT_UPDT_PUB is a public PL/SQL package owned by the APPS schema in Oracle E-Business Suite, delivered as part of the Oracle Payments (IBY) module. Its documented API classification is PUB, indicating that the procedures are intended for external invocation by other EBS components, extension code, or integrators rather than being restricted to internal use. The package header is declared AUTHID CURRENT_USER, so executing privileges and unqualified name resolution follow the calling schema, which is typical of public EBS APIs that must be callable from multiple contexts including custom code.
The package encapsulates the state-management logic for payment batches processed through the bank payment (BP) flow. Rather than permitting direct DML against the payment batch tables, Oracle Payments exposes controlled update routines that change batch status, propagate status changes to associated electronic commerce batches, and record failure diagnostics. This centralization preserves the integrity of the batch lifecycle, which spans statuses such as Submitted to Processor (18), Request Not Supported (8), Scheduler in Progress (12), Communication Error (101), Formatted (301), Confirmed (302), Canceled (303), and Batch Failure (7).
Key Procedures and Functions
The package exposes five documented procedures, consistent across Oracle EBS 12.1.1 and 12.2.2:
- UPDATEBATCHSTATUS — Updates the status of a single payment batch. According to the documented header commentary, it writes the new batch status value to IBY_PAY_BATCHES_ALL and optionally records an error code and error message captured from the payment processor or transmission layer. It accepts the batch identifier, the target status, and optional error diagnostics.
- UPDATEECBATCHES — Updates all electronic commerce batches associated with an iPayment batch to a new status. The documented parameters identify the payer, the bank exchange profile (BEP) identifiers (bepid and bepkey), and both the old and new status values, enabling a scoped, conditional mass update rather than a blanket write.
- UPDATETRXNSTATUS — Updates the status of individual payment transactions, allowing transaction-level state to stay synchronized with the parent batch as processing progresses.
- SETBATCHFAIL — Records a batch as failed, applying the Batch Failure status and the associated error information so that failures are visible for troubleshooting and reprocessing.
- UPDATEQUERYSTATUS — Updates status following a query or inquiry operation, supporting reconciliation scenarios where the outcome of an outbound status query must be reflected back into the batch records.
All procedures are defined in the package specification and are therefore callable directly from SQL*Plus, concurrent program logic, or custom PL/SQL.
Tables Accessed
Three tables are documented as referenced through APPS synonyms:
- IBY_PAY_BATCHES_ALL — The primary target. It stores payment batch header information, including batch_status, bep_code, and bep_message, which the update procedures modify.
- IBY_PAY_PAYMENTS_ALL — Holds individual payment records within a batch; transaction-level status updates are applied here.
- IBY_BATCHES_ALL — The electronic commerce batch table. UPDATEECBATCHES writes to this table to propagate status changes across ECB records linked to the parent iPayment batch.
Usage Notes
IBY_BANKPAYMENT_UPDT_PUB is typically invoked from bank payment processing flows, status-query programs, and transmission error handlers within Oracle Payments. It is also a common integration point for custom code that needs to force a batch or transaction status without issuing unsupported direct updates. Because the procedures accept identifiers and status values as parameters, callers must supply valid batch, payer, and BEP identifiers and should use the documented status codes. The package is referenced by no other documented package, so it functions as a leaf-level update API. Explicitly grant execute privileges when calling from a non-APPS schema, since the AUTHID CURRENT_USER declaration resolves objects under the caller's privileges.
-
PACKAGE: APPS.PO_ASL_API_PVT 12.2.2