Search Results validate_tar_number




Overview

PSA_UTILS is a shared utility package owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. Despite its compact footprint, it serves two distinct purposes within the applications stack. The first is diagnostic infrastructure: a small library of FND_LOG wrapper routines that standardize how PSA-family packages emit debug and error messages. The second, and the reason users search for the identifier psa_get_rfe_ccid, is a set of validation and accounting-correction helpers used by Payables, Purchasing, and Grants-related processing. The package is declared AUTHID CURRENT_USER, so it executes with the privileges of the calling session rather than as its owner, which is significant for a utility that resolves accounting flexfield combinations and reverts Subledger Accounting entries. The source header indicates a last revision at version 120.9 dated 26-NOV-2010, so the logic has been stable across the 12.1 and 12.2 codelines.

Key Procedures and Functions

Tables Accessed

The package reads and writes a broad set of APPS synonyms. Payables validation routines reference AP_INVOICES_ALL, AP_INVOICES, AP_INVOICE_DISTRIBUTIONS, AP_INVOICE_DISTRIBUTIONS_ALL, AP_HOLDS_ALL, AP_PREPAY_APP_DISTS, AP_PREPAY_HISTORY_ALL, and AP_SELF_ASSESSED_TAX_DIST_ALL. Security and responsibility checks query FND_USER and FND_RESPONSIBILITY. Accounting reversal logic touches GL_BC_PACKETS, GL_LEDGERS, and GL_PERIOD_STATUSES to determine open periods and packet state. Logging routines write to FND_LOG_MESSAGES_S, and grants-related processing references GMS_AWARD_DISTRIBUTIONS.

Usage Notes

PSA_UTILS is a support package rather than a user-facing API; it is referenced by approximately thirty other packages, and the PSA prefix ties it to the Public Sector / Grants accounting family. The debug routines are typically called from exception sections of custom and Oracle-delivered PL/SQL. The validation helpers are commonly invoked from Forms-based validations or from concurrent program pre-validation logic. The XLA undo/redo procedures are used during accounting correction scenarios, where a transaction must be backed out of Subledger Accounting and re-created. Because the package is AUTHID CURRENT_USER, callers must hold direct privileges on the underlying tables, and any custom code invoking PSA_GET_RFE_CCID should be tested against the target release, since the 120.9 source line predates some 12.2 accounting schema changes.