Search Results fnd_flex_apis
Overview
The APPS.FND_FLEX_APIS package body is a foundational Oracle E-Business Suite utility that exposes metadata about key and descriptive flexfields to other application code. It belongs to the Application Object Library (FND) layer and is validated in both EBS 12.1.1 and 12.2.2. Rather than performing transactions against business data, it answers structural questions: which segments make up a flexfield, what column names back each segment, how segments are delimited in concatenated values, and whether descriptive flexfield segments are set up or marked as required. In effect, it is the shared introspection layer that lets forms, concurrent programs, and other PL/SQL packages reason about flexfield configurations without hard-coding them.
Its central importance is reflected in the dependency graph: FND_FLEX_APIS is referenced by 128 other packages while itself not being referenced by any single database object at a higher level. This makes it a low-level dependency that many higher-order flexfield and accounting routines rely upon for consistent segment metadata.
Key Procedures and Functions
The documented API surface comprises fourteen procedures and functions, organized around three functional themes.
- Segment lookup and numbering:
GET_QUALIFIER_SEGNUM,GET_ENABLED_SEGMENT_NUM,GET_SEGMENT_COLUMN, andGET_SEGMENT_INFOresolve a qualifier or segment position to its ordinal number, backing column name, and general attribute information for a given flexfield structure. - Delimiter handling:
GET_SEGMENT_DELIMITERand its global variantGBL_GET_SEGMENT_DELIMITERreturn the character used to separate segments when a flexfield value is concatenated into a single string. - Descriptive flexfield setup checks: The
IS_DESCR_SETUP,IS_DESCR_REQUIRED, andDESCR_SETUP_OR_REQUIREDfunctions (each paired with aGBL_global counterpart) determine whether a descriptive flexfield context is configured and whether its segments are mandatory.GET_DFF_GLOBAL_REQ_SEGS_INFOandGET_DFF_CONTEXT_REQ_SEGS_INFOreturn aggregated information about globally required and context-specific required segments.
The GBL_ prefixed variants mirror their standard counterparts, typically operating against global or cached session-level state for repeated calls.
Tables Accessed
All table access occurs through APPS synonyms, and the package operates in read-only fashion against flexfield definition metadata.
- Key flexfield definition tables:
FND_ID_FLEX_STRUCTURES,FND_ID_FLEX_SEGMENTS, andFND_ID_FLEX_SEGMENTS_VLsupply structure and segment definitions used by the segment lookup routines. - Descriptive flexfield definition tables:
FND_DESCRIPTIVE_FLEXS,FND_DESCR_FLEX_CONTEXTS, andFND_DESCR_FLEX_COLUMN_USAGESprovide context and column usage definitions consumed by the descriptive flexfield setup and required-segment checks. - Supporting value and attribute metadata:
FND_FLEX_VALUE_SETS,FND_SEGMENT_ATTRIBUTE_TYPES, andFND_SEGMENT_ATTRIBUTE_VALUESsupply value set references and segment attribute metadata needed to interpret segment behavior.
Usage Notes
FND_FLEX_APIS is an internal, callable utility rather than an end-user or open interface API. It is invoked by other PL/SQL packages and by Oracle Forms code that must dynamically discover flexfield structure at runtime, for example to build segment prompts, validate concatenated values, or enforce that required descriptive flexfield segments have been populated before a record is saved.
Because it is referenced by 128 packages but references none in return, customizations should treat it strictly as a read-only metadata service. Custom code may safely call its functions to obtain segment columns, delimiters, or required-segment information, but it must never be modified or recompiled independently, as invalidating this central package would cascade to a very large portion of the FND flexfield code base. Its metadata lookups are typically cached by callers where performance is a concern.
-
PACKAGE BODY: APPS.FND_FLEX_APIS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FND_FLEX_APIS, status:VALID,
-
PACKAGE BODY: APPS.FND_FLEX_APIS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FND_FLEX_APIS, status:VALID,
-
PACKAGE BODY: APPS.ICX_GET
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ICX_GET, status:VALID,
-
PACKAGE BODY: APPS.GL_RGXROWD_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_RGXROWD_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.FA_CHK_BALSEG_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FA_CHK_BALSEG_PKG, status:VALID,
-
PACKAGE BODY: APPS.FVXBEGLS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FVXBEGLS, status:VALID,
-
PACKAGE BODY: APPS.JE_GR_TRIAL_BALANCE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JE_GR_TRIAL_BALANCE, status:VALID,
-
PACKAGE BODY: APPS.POS_GET
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POS_GET, status:VALID,
-
PACKAGE BODY: APPS.RG_DSS_DIMENSIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:RG_DSS_DIMENSIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.FUN_IC_AME_WF_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_IC_AME_WF_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_ACCESS_SET_SECURITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_ACCESS_SET_SECURITY_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_TAX_OPTION_ACCOUNTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_TAX_OPTION_ACCOUNTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.FA_FADI_SHARED_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FA_FADI_SHARED_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_RGXCOND_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_RGXCOND_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.FA_FADI_SHARED_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FA_FADI_SHARED_PKG, status:VALID,
-
PACKAGE BODY: APPS.ICX_GET
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ICX_GET, status:VALID,
-
PACKAGE BODY: APPS.JE_JEPTAPER_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JE_JEPTAPER_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.POS_GET
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POS_GET, status:VALID,
-
PACKAGE BODY: APPS.POA_SAVINGS_ACCT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POA_SAVINGS_ACCT, status:VALID,
-
PACKAGE BODY: APPS.GL_RGXCOND_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_RGXCOND_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_RGXROWD_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_RGXROWD_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.JE_GR_TRIAL_BALANCE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JE_GR_TRIAL_BALANCE, status:VALID,
-
PACKAGE BODY: APPS.GL_FLEXFIELDS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_FLEXFIELDS_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_RX_TRIAL_BALANCE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_RX_TRIAL_BALANCE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_EXPENSE_FEED_DISTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_EXPENSE_FEED_DISTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_EXPENSE_FEED_DISTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_EXPENSE_FEED_DISTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.FVXBEGLS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FVXBEGLS, status:VALID,
-
PACKAGE BODY: APPS.FA_CHK_BALSEG_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FA_CHK_BALSEG_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_FORMSINFO2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_FORMSINFO2, status:VALID,
-
PACKAGE BODY: APPS.IGI_IGIIARSD_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGI_IGIIARSD_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.IGI_IGIIABLS_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGI_IGIIABLS_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.IGI_IGIIACSD_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IGI_IGIIACSD_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_ELIM_ACCOUNTS_MAP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_ELIM_ACCOUNTS_MAP_PKG, status:VALID,
-
PACKAGE BODY: APPS.FUN_IC_AME_WF_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_IC_AME_WF_PKG, status:VALID,
-
PACKAGE BODY: APPS.FV_SF133_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FV_SF133_LOAD, status:VALID,
-
PACKAGE BODY: APPS.JE_JEPTARER_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JE_JEPTARER_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_FLEX_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_FLEX_UTIL, status:VALID,
-
PACKAGE BODY: APPS.GL_GLXBOR_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_GLXBOR_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.JE_JEPTARER_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JE_JEPTARER_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.FV_SF133_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FV_SF133_LOAD, status:VALID,
-
PACKAGE BODY: APPS.JG_JGZZFALE_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JG_JGZZFALE_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_ACCESS_SET_SECURITY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_ACCESS_SET_SECURITY_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_FLEX_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_FLEX_UTIL, status:VALID,
-
PACKAGE BODY: APPS.GL_TAX_OPTION_ACCOUNTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_TAX_OPTION_ACCOUNTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.RG_DSS_DIMENSIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RG_DSS_DIMENSIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.JG_JGZZFALE_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JG_JGZZFALE_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_ELIM_ACCOUNTS_MAP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_ELIM_ACCOUNTS_MAP_PKG, status:VALID,
-
PACKAGE BODY: APPS.GL_GLXBOR_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_GLXBOR_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.FV_PO_VALIDATE_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FV_PO_VALIDATE_GRP, status:VALID,
-
PACKAGE BODY: APPS.GL_CALCULATE_TAX2_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_CALCULATE_TAX2_PKG, status:VALID,