Search Results c_min_priority
Overview
APPS.PAY_PPMV4_UTILS_SS is a Payroll payment-process utility package body in Oracle E-Business Suite, present in both 12.1.1 and 12.2.2. Its header comment date ($Header: pyppmv4u.pkb 120.0.12010000.2) places it within the Oracle Payroll payment/third-party payment (PPM) architecture. The package provides shared, low-level services consumed by the PPM transaction APIs — building and manipulating the in-memory PL/SQL representation of a transaction table, translating between a proprietary PPM structure and the generic HR transaction table, retrieving bank segment values, and validating a PPM transaction before it is passed to the payment processing engine.
The naming convention "PPMV4" reflects the fourth-generation external payment mapping effort, in which payment instructions are assembled as parameter/value rows and then converted to a format the payment engine (AP/IBY via Payroll) can consume. The package is internal development infrastructure: it defines constants and helper routines rather than a user-facing interface. All work is performed through APPS synonyms, and the package body is referenced by one other package, indicating its role as a foundation layer rather than an entry point.
Key Procedures and Functions
The documented metadata lists twelve callable units. Their purposes are as follows:
- SETERRORSTAGE — Writes the current procedure, processing stage and line location into HR_UTILITY's location register, giving diagnostic context when a downstream call raises an error.
- PPM2HRTT — Converts a PPM-format transaction into the HR transaction table structure, the bridge step that makes PPM data usable by standard Payroll/HR transaction processing.
- PPM2TT — Converts PPM data into the transaction-table form consumed by the payment engine; conceptually paired with PPM2HRTT but targeting the PPM transaction table itself.
- TT2PPM — The inverse translation: reads a transaction table and materializes it as PPM-format data, used when inbound results must be re-expressed in PPM terms.
- CHANGEDPPM — Detects or records that a PPM transaction has changed, so dependent processing can re-evaluate the affected row.
- NEXTENTRY — Advances to the next entry in the PPM transaction collection, supporting iteration over multi-row payment instructions.
- READ_WF_CONFIG_OPTION — Reads a configuration option from Workflow, allowing PPM behavior to be driven by WF configuration rather than hard-coded values.
- GETPRIORITIES — Retrieves payment priorities used to sequence or rank transactions during processing.
- VALIDATEPPM — Performs validation on a PPM transaction, rejecting or flagging records before they reach the payment engine. This is the routine most directly related to the user's "chk_amount" search, since amount checking on a PPM row is a typical validation concern handled here.
- PROCESS_API — Orchestrates the package's API call sequence, driving the conversion, validation and enrichment routines in the required order.
- GET_BANK_SEGMENTS — Returns bank account segment values for the external account being paid, supplying the routing/institution detail needed to build a payment instruction.
Tables Accessed
The package reads and writes through APPS synonyms across four functional areas. Payment method configuration is held in PAY_ORG_PAYMENT_METHODS_F and PAY_PERSONAL_PAYMENT_METHODS_F, which define valid organizational and personal payment methods; PAY_EXTERNAL_ACCOUNTS supplies external (third-party) bank account information used by GET_BANK_SEGMENTS. PAY_PSS_TRANSACTION_STEPS records the ordered steps of a payment transaction, supporting the sequential processing driven by PROCESS_API. Employee assignment context comes from PER_ALL_ASSIGNMENTS_F. Workflow configuration is read via WF_ACTIVITY_ATTRIBUTES and WF_ACTIVITY_ATTR_VALUES, which back READ_WF_CONFIG_OPTION. PLITBLM is the PL/SQL indexed-table type used for in-memory collections. No direct table writes outside the HR transaction table structures are documented.
Usage Notes
PAY_PPMV4_UTILS_SS is not invoked interactively by end users. It is called from the Payroll payment processing flow — typically originating from the payment/third-party payment concurrent programs — and from other PPM utility or wrapper packages (the metadata records one referencing package). Custom code extending payment processing should call the public routines rather than the underlying tables, and should always precede processing with VALIDATEPPM so that amount and account checks are applied consistently. Because the package relies on HR_UTILITY.SET_LOCATION for error staging, failures surface with the calling procedure and stage recorded, which is the primary diagnostic path when investigating a rejected PPM transaction.