Results for “validate_gdff”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
JE_ZZ_AUTO_INVOICE is a custom PL/SQL package registered under the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It is classified in the ETRM metadata as an "OTHER" API, indicating it is not one of the standard Oracle-delivered public APIs but rather a customer- or partner-developed extension. The package carries the AUTHID CURRENT_USER clause, meaning its SQL statements execute with the privileges of the invoking user rather than the definer, a design choice that affects how privileges must be granted and how the package behaves when called from different sessions.
The package's documented purpose revolves around validation of a descriptive flexfield (DFF) associated with automatic invoice processing. Its single public routine references AR_SYSTEM_PARAMETERS, RA_CUST_TRX_LINE_GL_DIST_ALL, and ZX_LINES_DET_FACTORS, placing it in the Receivables and E-Business Tax (ZX) domain. The naming convention "ZZ" is widely used in Oracle EBS implementations for custom objects, reinforcing the interpretation that this package supports a site-specific extension to auto-invoice creation or tax factor derivation.
Key Procedures and Functions
- validate_gdff — The only documented procedure or function in the package. It accepts a concurrent request identifier and returns a numeric status: 0 for validation failure and 1 for success. Its name indicates it validates a Global Descriptive Flexfield (GDFF) value. The routine is designed to be called from a concurrent program context, given its
p_request_idinput. The header comment dates its creation to 24 Jan 2001 by Tim Dexter, an Oracle EBS developer associated with DFF and concurrent program tooling.
No other procedures or functions are documented in the source excerpt. The source file name jezzrais.pls suggests a relationship to a "raise" or "invoice" utility, but the documented public surface is limited to this one validation routine.
Tables Accessed
- AR_SYSTEM_PARAMETERS — Stores Receivables system-level configuration, including defaulting and validation rules that govern how invoice and DFF data must be validated.
- RA_CUST_TRX_LINE_GL_DIST_ALL — The distribution table for AutoInvoice lines. It holds the accounting distribution rows generated for each transaction line, which the validation routine likely inspects when checking DFF-driven distribution logic.
- ZX_LINES_DET_FACTORS — An E-Business Tax table holding determining factors for tax lines. Its presence confirms the package participates in tax determination during invoice validation.
Access is performed through APPS synonyms, so all reads and writes are subject to the standard APPS schema grants. The validation routine is expected to be read-mostly, since validation routines generally check data rather than modify it, though write behavior cannot be confirmed from the metadata alone.
Usage Notes
JE_ZZ_AUTO_INVOICE is referenced by exactly one other package in the dependency graph, and it is not a standard public API, so it is invoked only where the custom implementation calls it. Typical invocation paths include AutoInvoice concurrent programs (for example, RAXTRX), custom validation hooks registered against the AutoInvoice interface, or custom concurrent programs that require DFF validation prior to invoice import. The p_request_id parameter indicates the routine retrieves the validation context from the concurrent manager log or request table, matching the common Oracle pattern of passing request IDs to validation routines.
Because of the AUTHID CURRENT_USER declaration, invoking schemas must hold direct grants on the package and on the underlying tables; relying on APPS-level definer privileges will not work. Implementers should grant EXECUTE to the calling schema and ensure synonym visibility. Given the package's age (header dated 2002), it should be reviewed against 12.2.2 table structures before reuse, particularly the ZX tax tables, which changed significantly across releases. Documentation of the return codes (0 = failure, 1 = success) should be preserved in any wrapper logic to avoid misinterpreting validation results.