Results for “oe_print_flex”
34 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OE_PRINT_FLEX is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite. Its purpose, as stated in the source header, is to print Descriptive Flexfield (DFF) data associated with blanket sales agreement headers and blanket lines. The package supports two reporting views, OE_BLKTPRT_FLEX_HDR_V and OE_BLKTPRT_FLEX_LINES_V, which surface DFF content for blanket agreements in the Order Management module. It is declared with AUTHID CURRENT_USER, meaning execution privileges and name resolution are evaluated in the context of the invoking user rather than the definer.
The original file ($Header: OEXUPRFS.pls 115.1 2003/10/20) indicates the package has been stable since release 11.5.10, and it remains documented in ETRM for both 12.1.1 and 12.2.2. Its API classification is OTHER, reflecting that it is an internal helper utility rather than a public, supported extension point.
Key Procedures and Functions
The package exposes a single documented function:
- GET_FLEXDESC — Returns a VARCHAR2 representing either the value or the description of a flexfield segment. The function receives the application short name, the descriptive flexfield name, the values-or-IDs indicator, a validation date, the DFF context, and up to twenty attribute columns (attribute1 through attribute20) corresponding to the segment columns of the flexfield structure. A p_value parameter determines whether the caller wants the stored value ('V') or the translated description ('D'). A p_segment_number parameter identifies which segment (1 through 21) is being requested, and a p_context_reset_flag controls whether the cached context is cleared before resolution.
Internally the function sets the DFF context, validates the structure, and then returns the requested value or description. Structure validation results are cached in the global variable g_valid_structure to avoid repeated validation overhead, described in the source comments as a performance optimization. Because the package is not defined as a public API, callers outside Oracle's shipped views should treat it as a private implementation detail.
Tables Accessed
The ETRM metadata does not list any tables referenced through APPS synonyms for this package. In practice, GET_FLEXDESC resolves flexfield definitions and segment values via the standard Oracle Application Object Library flexfield APIs (FND_FLEX_* packages and their underlying FND tables) rather than by directly querying Order Management transaction tables. The DFF attribute values themselves are supplied by the caller from the blanket header and blanket line records, so the package does not read the OE_ORDER_HEADERS_ALL or OE_ORDER_LINES_ALL tables directly.
Usage Notes
OE_PRINT_FLEX is invoked indirectly rather than by end users. Its documented consumers are the two blanket print views, OE_BLKTPRT_FLEX_HDR_V and OE_BLKTPRT_FLEX_LINES_V, which call GET_FLEXDESC during query execution to translate stored segment values into printable descriptions. The package is also referenced by two other packages according to ETRM, confirming it functions as a shared utility within the Order Management printing infrastructure.
Because the package is not classified as a public API and its only entry point is a function returning VARCHAR2, customizations that call it directly risk breakage on upgrade. Developers needing DFF value or description resolution in custom code should generally use the supported FND_FLEX_KEYVAL or FND_FLEX_EXT APIs instead. The context reset flag allows repeated calls within a single query or report run to avoid revalidating the same structure, which is significant when printing a blanket agreement with many lines. In 12.1.1 and 12.2.2 the package is unchanged in behavior, and no seeded concurrent program invokes it directly; it is reached whenever the blanket agreement print views are queried.
-
PACKAGE: APPS.OE_PRINT_FLEX 12.1.1
-
PACKAGE: APPS.OE_PRINT_FLEX 12.2.2
-
PACKAGE: APPS.OE_PRINT_FLEX 12.1.1
-
PACKAGE: APPS.OE_PRINT_FLEX 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
View: OE_BLKTPRT_FLEX_HDR_V 12.2.2
Obsolete
APPS.OE_BLKTPRT_FLEX_HDR_V·↳ OE_BLANKET_HEADERS_ALL·↳ OE_PRINT_FLEX·Explore ONT module →
-
View: OE_BLKTPRT_FLEX_HDR_V 12.1.1
Obsolete
APPS.OE_BLKTPRT_FLEX_HDR_V·↳ OE_BLANKET_HEADERS_ALL·↳ OE_PRINT_FLEX·Explore ONT module →
-
Obsolete
APPS.OE_BLKTPRT_FLEX_LINES_V·↳ OE_BLANKET_LINES_ALL·↳ OE_PRINT_FLEX·Explore ONT module →
-
Obsolete
APPS.OE_BLKTPRT_FLEX_LINES_V·↳ OE_BLANKET_LINES_ALL·↳ OE_PRINT_FLEX·Explore ONT module →
-
eTRM - ONT Tables and Views 12.2.2
OM WorkFlow Activity Skip Log.
-
eTRM - ONT Tables and Views 12.1.1
OM WorkFlow Activity Skip Log.
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
eTRM - ONT Tables and Views 12.2.2
OM WorkFlow Activity Skip Log.
-
eTRM - ONT Tables and Views 12.1.1
OM WorkFlow Activity Skip Log.