Search Results get_concat_segs
Overview
FA_FLEX_PVT is a private (PVT) PL/SQL package body owned by the APPS schema in Oracle E-Business Suite, associated with the Oracle Assets (FA) product family. As a private package, it is not exposed as a public API and is intended strictly for internal consumption by other Oracle Assets server-side components. Its central responsibility is key flexfield support: it resolves a concatenated key flexfield combination identifier (CCID) into its constituent segments and reconstructs the human-readable concatenated segment string used for messaging, logging, and error reporting.
The package body carries the header identifier FAVFLEXB.pls 120.4, indicating a relatively stable, low-revision component. Its documented scope is narrow and purposeful — a single public entry point, GET_CONCAT_SEGS, wraps lower-level calls into the Oracle Application Object Library flexfield extraction layer (FND_FLEX_EXT) and provides standardized error translation through the FA server message utility.
Key Procedures and Functions
- GET_CONCAT_SEGS — The sole documented function in the package. It accepts a combination identifier (CCID) together with the application short name, flexfield code, and flexfield number that identify the target key flexfield, and it returns the number of segments, the segment delimiter, the populated segment array, and the assembled concatenated segment string. Internally it delegates segment retrieval to FND_FLEX_EXT.GET_SEGMENTS and resolves the delimiter via FND_FLEX_EXT.GET_DELIMITER, then iterates over the returned segment array to build the delimited concatenation string.
The function returns a BOOLEAN success indicator. On failure it raises an internal exception and routes the error through FA_SRVR_MSG.ADD_MESSAGE, which records a server message tagged with the calling function name fa_flex_pvt.get_concat_segs; unexpected errors are captured through FA_SRVR_MSG.ADD_SQL_ERROR. Parameter lists are deliberately not reproduced here; consult the package specification for exact signatures.
Tables Accessed
The ETRM metadata does not document any direct table references through APPS synonyms for this package. This is consistent with the source: FA_FLEX_PVT does not issue SQL against application tables directly. All data access is indirected through the FND_FLEX_EXT flexfield extraction API, which internally reads the flexfield definition and combination tables maintained by the Application Object Library (such as FND_ID_FLEX_STRUCTURES, FND_ID_FLEX_SEGMENTS, and FND_FLEX_VALUES). Because the package relies on that API rather than querying those objects itself, it inherits the flexfield security and validation rules enforced by the flexfield layer, and it remains insulated from schema-level changes to the underlying flexfield tables.
Usage Notes
FA_FLEX_PVT is classified as PVT and is therefore not a supported integration point for customer extensions; Oracle does not guarantee its signature across patches or releases. It is invoked indirectly by other Oracle Assets packages — the metadata records that it is referenced by two other packages — typically when a process needs to translate a stored CCID into display form for an error, warning, or log entry. Common scenarios include asset additions and adjustments, where an invalid or ambiguous account combination must be reported back to the user in readable form rather than as a numeric identifier.
The p_log_level_rec parameter indicates integration with the FA_API_TYPES logging framework, allowing callers to control diagnostic verbosity when the message utility records flexfield-related failures. Custom code should obtain the same concatenated segment display through supported public APIs or the standard flexfield user exits rather than calling GET_CONCAT_SEGS directly. When troubleshooting, the calling function name embedded in FA_SRVR_MSG output — fa_flex_pvt.get_concat_segs — provides a reliable trace marker for identifying flexfield segment resolution failures within the Oracle Assets server message log.
-
PACKAGE BODY: APPS.FA_FLEX_PVT
12.2.2
-
PACKAGE BODY: APPS.FA_FLEX_PVT
12.1.1
-
PACKAGE: APPS.FA_FLEX_PVT
12.1.1
-
PACKAGE: APPS.FA_FLEX_PVT
12.2.2
-
APPS.BOM_DELETE_ENTITY SQL Statements
12.2.2
-
APPS.BOM_DELETE_ENTITY SQL Statements
12.1.1
-
PACKAGE BODY: APPS.BOM_DELETE_ENTITY
12.1.1
-
PACKAGE BODY: APPS.BOM_DELETE_ENTITY
12.2.2
-
PACKAGE: APPS.BOM_DELETE_ENTITY
12.1.1
-
PACKAGE: APPS.BOM_DELETE_ENTITY
12.2.2
-
PACKAGE BODY: APPS.HR_CAGR_GRADES_API
12.1.1
-
PACKAGE BODY: APPS.HR_CAGR_GRADES_API
12.2.2
-
APPS.FA_FLEX_PVT dependencies on FA_FLEX_PVT
12.1.1
-
PACKAGE BODY: APPS.AHL_RM_ROUTE_PVT
12.1.1
-
APPS.FA_FLEX_PVT dependencies on FA_FLEX_PVT
12.2.2
-
PACKAGE BODY: APPS.AHL_RM_ROUTE_PVT
12.2.2
-
APPS.FA_FLEX_PVT dependencies on FA_SRVR_MSG
12.1.1
-
APPS.AHL_RM_ROUTE_PVT dependencies on AHL_ROUTES_B_KFV
12.2.2
-
APPS.FA_FLEX_PVT dependencies on FA_SRVR_MSG
12.2.2
-
APPS.HR_CAGR_GRADES_API dependencies on PER_CAGR_GRADES_DEF
12.1.1
-
APPS.AHL_RM_ROUTE_PVT dependencies on AHL_ROUTES_B_KFV
12.1.1
-
APPS.HR_CAGR_GRADES_API dependencies on PER_CAGR_GRADES_DEF
12.2.2
-
PACKAGE BODY: APPS.BOM_GLOBALS
12.1.1
-
PACKAGE BODY: APPS.BOM_GLOBALS
12.2.2
-
APPS.HR_CAGR_GRADES_API dependencies on HR_UTILITY
12.1.1
-
APPS.HR_CAGR_GRADES_API dependencies on HR_UTILITY
12.2.2
-
APPS.AHL_RM_ROUTE_PVT dependencies on AHL_ROUTES_B
12.1.1
-
APPS.HR_CAGR_GRADES_API dependencies on PER_CAGR_GRADES
12.1.1
-
APPS.HR_CAGR_GRADES_API dependencies on PER_CAGR_GRADES
12.2.2
-
APPS.AHL_RM_ROUTE_PVT dependencies on AHL_ROUTES_B
12.2.2
-
PACKAGE: APPS.BOM_GLOBALS
12.2.2
-
PACKAGE: APPS.BOM_GLOBALS
12.1.1
-
APPS.AHL_RM_ROUTE_PVT dependencies on AHL_DEBUG_PUB
12.1.1
-
APPS.AHL_RM_ROUTE_PVT dependencies on AHL_DEBUG_PUB
12.2.2
-
APPS.AHL_RM_ROUTE_PVT dependencies on FND_MSG_PUB
12.1.1
-
APPS.AHL_RM_ROUTE_PVT dependencies on FND_MSG_PUB
12.2.2