Search Results get_check_period_name
Overview
AP_REPORTS_UTILITY_PKG is a utility package owned by the APPS schema within Oracle Payables. As its name indicates, it provides shared helper logic consumed by Payables reporting components rather than serving as a standalone business API. Its scope is deliberately narrow: it resolves the accounting period name associated with a given Payables transaction so that reports, concurrent programs, and diagnostics can present a human-readable period rather than an internal identifier. The package header carries the RCS identifier $Header: aprptuts.pls 120.3 2004/10/29 18:55:25 pjena noship $, and the file ships with the standard Oracle proprietary and confidentiality notices. In the ETRM classification model the object is registered as API classification OTHER, meaning it is not a public, versioned interface subject to Oracle's API lifecycle guarantees. Customers and partners should treat it as an internal implementation detail of Payables reporting in both release 12.1.1 and 12.2.2.
Key Procedures and Functions
The documented package specification exposes exactly two functions, both of which return a period name as a VARCHAR2 value:
- GET_PERIOD_NAME — Returns the accounting period name associated with a supplied invoice. It is the function most commonly surfaced when searching the ETRM repository for "get_period_name". A PRAGMA RESTRICT_REFERENCES declaration (WNDS, RNPS, WNPS) is attached, asserting that the function writes no database state, reads no package state, and writes no package state. This makes the function safe to call from SQL statements and from contexts that require purity, such as function-based indexes and certain report queries.
- GET_CHECK_PERIOD_NAME — Returns the accounting period name associated with a supplied payment (check). It carries an identical purity pragma, confirming that both functions are read-only lookups.
No additional overloads, procedures, or public constants are documented in the specification. Because the header dates from 2004, the interface has remained stable across the 12.1.1 and 12.2.2 code lines.
Tables Accessed
Although the package specification itself is minimal, the documented dependencies identify the tables the implementations read through APPS synonyms:
- AP_INVOICES_ALL — supplies the invoice record from which the accounting period is derived for GET_PERIOD_NAME.
- AP_CHECKS_ALL — provides the payment record used by GET_CHECK_PERIOD_NAME.
- AP_SYSTEM_PARAMETERS_ALL — holds Payables system options that influence period derivation and reporting defaults.
- GL_PERIOD_STATUSES — the General Ledger period definition table, used to resolve the actual period name for the derived period.
All access is read-only, consistent with the WNDS and RNPS pragmas declared in the specification.
Usage Notes
The package is not referenced by any other documented package in the ETRM dependency graph, which underscores its role as a leaf-level utility. It is most likely invoked directly by Payables report SQL and by concurrent programs that must display or filter on period name, and it may also appear in custom reporting code that needs to translate an invoice or check identifier into a fiscal period label. Because the functions are marked pure, callers may embed them inside SELECT statements without risk of side effects. When the exact argument list or return semantics must be confirmed, developers should inspect the deployed source in the APPS schema rather than rely on the class listing alone, since this object is classified as OTHER and is not covered by Oracle's public API compatibility policy. Any custom code depending on it should be regression tested during patching and upgrades, as internal utility signatures can change without notice.
-
PACKAGE: APPS.AP_REPORTS_UTILITY_PKG
12.1.1
-
PACKAGE: APPS.AP_REPORTS_UTILITY_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_REPORTS_UTILITY_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_REPORTS_UTILITY_PKG
12.2.2
-
APPS.AP_REPORTS_UTILITY_PKG dependencies on AP_REPORTS_UTILITY_PKG
12.2.2
-
APPS.AP_REPORTS_UTILITY_PKG dependencies on AP_REPORTS_UTILITY_PKG
12.1.1
-
APPS.AP_REPORTS_UTILITY_PKG dependencies on GL_PERIOD_STATUSES
12.2.2
-
APPS.AP_REPORTS_UTILITY_PKG dependencies on GL_PERIOD_STATUSES
12.1.1