Oracle Applications: Key Flex Field Structures & How to Retrieve Information.

Posted by Jiltin     18 May, 2009    10,319 views   

Here is some of quite commonly used AOL FND ( Foundation) tables and their usage. There are many other tables also in FND but here i am putting only few commonly used tables. for other table if needed we can dig further.

FND_ID_FLEXS stores registration information about key flexfields. Each row includes the four–character code that identifies the key flexfield, the title of the flexfield (by which a user identifies theflexfield), the name of the combinations table that contains the key flexfield columns, and the name of the structure defining (MultiFlex) column for the flexfield (SET_DEFINING_COLUMN_NAME). Each row also contains values that identify the application that owns the combination table and the application that owns the key flexfield, a table–type flag that specifies whether the combinations table is specificor generic (S or G), whether dynamic inserts are feasible for the flexfield(Y or N), whether the key flexfield can use ID type value sets, and the name of the unique ID column in the combinations table. You need one row for each key flexfield in each application. Oracle Application ObjectLibrary uses this information to generate a compiled key flexfield definition

FND_ID_FLEX_SEGMENTS: FND_ID_FLEX_SEGMENTS stores setup information about keyflexfield segments, as well as the correspondences between application table columns and the key flexfield segments the columns are used for. Each row includes a flexfield application identifier, the flexfield code,which identifies the key flexfield, the structure number(ID_FLEX_NUM), the value set application identifier, the segment number (the segment’s sequence in the flexfield window), the name of the column the segment corresponds to (usually SEGMENTn, where n is an integer). Each row also includes the segment name, whether security is enabled for the segment, whether the segment is required, whether the segment is one of a high, low segment pair, whether the segment is displayed, whether the segment is enabled (Y or N), type of default value, display information about the segment such as prompts and display size, and the value set the segment uses. Each row also includes a flag for whether the table column is indexed; this value is normally Y. You need one row for each segment of each structure for each flexfield. Oracle Application Object Library uses this information to generate a compiled key flexfield definition to store in the FND_COMPILED_ID_FLEXS table Thanks – Shivmohan Purohit

FND_ID_FLEX_STRUCTURES : FND_ID_FLEX_STRUCTURES stores structure information about keyflexfields. Each row includes the flexfield code and the structurenumber (ID_FLEX_NUM), which together identify the structure, and the name and description of the structure. Each row also includes values that indicate whether the flexfield structure is currently frozen, whether rollup groups are frozen (FREEZE_STRUCTURED_HIER_FLAG), whether users can dynamically insert new combinations of segment values through the flexfield pop–up window, and whether the flexfield should use segment cross–validation rules. Each row also contains information about shorthand flexfield entry for this structure, including whether shorthand entry is enabled, the prompt for the shorthand window, and the length of the shorthand alias field in the shorthandwindow. You need one row for each structure of each key flexfield. Oracle Application Object Library uses this information to generate acompiled key flexfield definition to store in the FND_COMPILED_ID_FLEXS table

FND_FLEX_VALUES stores valid values for key and descriptive flexfield segments. Oracle Application Object Library uses this table when users define values for independent or dependent type value sets. Oracle Application Object Library also uses this table when users define parent values for ranges of child values that exist in a validation table(Oracle Application Object Library stores the parent values in this table). Each row includes the value (FLEX_VALUE) and its hierarchy level if applicable as well as the identifier of the value set the value belongs to. If the value is a dependent value, PARENT_FLEX_VALUE_LOW contains the independent value this value depends upon. Oracle Application Object Library does not use the PARENT_FLEX_VALUE_HIGH column. If ENABLED_FLAG contains N, this value is currently invalid, regardless of the start and end dates.

If ENABLED_FLAG contains Y, the start and end dates indicate if this value is currently valid.SUMMARY_FLAG indicates if this value is a parent value that has child values, and STRUCTURED_HIERARCHY_LEVEL contains the rollup group the parent value belongs to, if any (1 through 9). COMPILED_VALUE_ATTRIBUTES contains the compiled values of anysegment qualifiers assigned to this value. These values are in a special Oracle Application Object Library format, and you should never modify them.

VALUE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE50 are descriptive flexfield columns, where VALUE_CATEGORY is the context (structure defining) column.

These descriptive flexfield columns do not contain values unless you have defined the descriptive flexfield at your site. You need one row for each independent, dependent or parent value belonging to a value set.Oracle Application Object Library uses this information to ensure that users enter valid values in flexfield segments

FND_FLEX_VALUE_HIERARCHIES stores information about child value ranges for key flexfield segment values. Each row includes an identification of the parent value the range belongs to, as well as the low and high values that make up the range of child values. FLEX_VALUE_SET_ID identifies the value set to which the parent value belongs. You need one row for each range of child values (you can have more than one row for each parent value). Oracle Application Object Library provides this information for applications reporting purposes.

SELECT
        B.APPLICATION_ID, B.ID_FLEX_CODE, B.ID_FLEX_NUM,
        B.ID_FLEX_STRUCTURE_CODE,
        B.CONCATENATED_SEGMENT_DELIMITER,
        B.CROSS_SEGMENT_VALIDATION_FLAG, B.DYNAMIC_INSERTS_ALLOWED_FLAG, B.ENABLED_FLAG,
        B.FREEZE_FLEX_DEFINITION_FLAG, B.FREEZE_STRUCTURED_HIER_FLAG, B.SHORTHAND_ENABLED_FLAG,
        T.ID_FLEX_STRUCTURE_NAME, T.DESCRIPTION
FROM FND_ID_FLEX_STRUCTURES_TL T, FND_ID_FLEX_STRUCTURES B
WHERE B.APPLICATION_ID = T.APPLICATION_ID
        AND B.ID_FLEX_CODE = T.ID_FLEX_CODE
        AND B.ID_FLEX_NUM = T.ID_FLEX_NUM
        AND T.LANGUAGE = userenv(‘LANG’)
        AND B.ENABLED_FLAG = ‘Y’
        AND B.FREEZE_STRUCTURED_HIER_FLAG = ‘Y’
        AND B.ID_FLEX_CODE = ‘GL#’
        AND B.ID_FLEX_NUM = &&number

Here are some more SQLs to find the GL combinations structures:

SELECT s.FLEX_VALUE_SET_ID,s.FLEX_VALUE_SET_NAME, v.FLEX_VALUE, t.DESCRIPTION
FROM   fnd_flex_values v,fnd_flex_value_sets s,fnd_flex_values_tl t
WHERE  FLEX_VALUE_SET_NAME LIKE ‘%&&Company_Department%’
AND    s.FLEX_VALUE_SET_ID = v.FLEX_VALUE_SET_ID
AND    t.FLEX_VALUE_ID = v.FLEX_VALUE_ID
ORDER  BY FLEX_VALUE

SELECT s.FLEX_VALUE_SET_ID,s.FLEX_VALUE_SET_NAME, v.FLEX_VALUE, t.DESCRIPTION
FROM   fnd_flex_values v,fnd_flex_value_sets s,fnd_flex_values_tl t
WHERE  FLEX_VALUE_SET_NAME LIKE ‘%&&Company_Account%’
AND    s.FLEX_VALUE_SET_ID = v.FLEX_VALUE_SET_ID
AND    t.FLEX_VALUE_ID = v.FLEX_VALUE_ID
ORDER  BY FLEX_VALUE

SELECT s.FLEX_VALUE_SET_ID,s.FLEX_VALUE_SET_NAME, v.FLEX_VALUE, t.DESCRIPTION
FROM   fnd_flex_values v,fnd_flex_value_sets s,fnd_flex_values_tl t
WHERE  FLEX_VALUE_SET_NAME LIKE ‘%&&Company_Future%’
AND    s.FLEX_VALUE_SET_ID = v.FLEX_VALUE_SET_ID
AND    t.FLEX_VALUE_ID = v.FLEX_VALUE_ID
ORDER  BY FLEX_VALUE

SELECT s.FLEX_VALUE_SET_ID,s.FLEX_VALUE_SET_NAME, v.FLEX_VALUE, t.DESCRIPTION
FROM   fnd_flex_values v,fnd_flex_value_sets s,fnd_flex_values_tl t
WHERE  FLEX_VALUE_SET_NAME LIKE ‘%&&Company_Location_FA%’
AND    s.FLEX_VALUE_SET_ID = v.FLEX_VALUE_SET_ID
AND    t.FLEX_VALUE_ID = v.FLEX_VALUE_ID
ORDER  BY FLEX_VALUE

SELECT s.FLEX_VALUE_SET_ID,s.FLEX_VALUE_SET_NAME, v.FLEX_VALUE, t.DESCRIPTION
FROM   fnd_flex_values v,fnd_flex_value_sets s,fnd_flex_values_tl t
WHERE  FLEX_VALUE_SET_NAME LIKE ‘%&&Company_Country_FA%’
AND    s.FLEX_VALUE_SET_ID = v.FLEX_VALUE_SET_ID
AND    t.FLEX_VALUE_ID = v.FLEX_VALUE_ID
ORDER  BY FLEX_VALUE

SELECT s.FLEX_VALUE_SET_ID,s.FLEX_VALUE_SET_NAME, v.FLEX_VALUE, t.DESCRIPTION
FROM   fnd_flex_values v,fnd_flex_value_sets s,fnd_flex_values_tl t
WHERE  FLEX_VALUE_SET_NAME LIKE ‘%&&Company_State_FA%’
AND    s.FLEX_VALUE_SET_ID = v.FLEX_VALUE_SET_ID
AND    t.FLEX_VALUE_ID = v.FLEX_VALUE_ID
ORDER  BY FLEX_VALUE

SELECT s.FLEX_VALUE_SET_ID,s.FLEX_VALUE_SET_NAME, v.FLEX_VALUE, t.DESCRIPTION
FROM   fnd_flex_values v,fnd_flex_value_sets s,fnd_flex_values_tl t
WHERE  FLEX_VALUE_SET_NAME LIKE ‘%&&Company_City_FA%’
AND    s.FLEX_VALUE_SET_ID = v.FLEX_VALUE_SET_ID
AND    t.FLEX_VALUE_ID = v.FLEX_VALUE_ID
ORDER  BY FLEX_VALUE

Following Google Searches Lead To This Post: sequence used for Lot numbers field in oracle apps
oracle apps account hierarchy query
how to create dependent table value set in oracle apps R12
validate gl segments oracle
Value for the flexfield segment does not exist in the value set
oracle select fnd_flex_values
FLEX_VALUE_SET_ID
context segment in oracle application
oracle applications r12 flex values hierarchy
The combinations table for this flexfield contains more than one entry that matches the entered values
flex 3 and oracle
how to use $flex$ in table type value sets
Oracle apps table flexfield definition
oracle display index fields
11i fnd flex value account hierarchy
GL – flexfield – key – rules in E business 11i
using database sequences in descriptive flexfield
Key flexfield in oracle R12
FND_FLEX_VALUES child
Oracle Apps Default Flex Context
Flexfield range in SQL
Flexfield Segment Context does not exist in the value
fnd_flex_values hierarchy
:GLOBALS.FLEX_VALUE_SET_NAME
oracle apps account from code combination id
oracle select key value from another table dynamically
flex dynamically retrieve fields from an object
“http://www.notesbit.com
oracle apps flex structure
oracle fnd flex hierarch
oracle how to create new value set from frozen one
flexfield tables
FNDLOAD VALUE SET “USAGES”
flexfields in oracle apps R12
Use of key flexfields in oracle apps
oracle fndload autoaccounting rules
need query for segment and description in Oracle apps
$flex$.value set name oracle apps
query for gl code combination
SQL to find key structure
fetch account combination name in APPS
Flexfields:Validate On Server
oracle flexfields tables
how to display index fields in oracle
HOW MAY LEVELS OF DEPENDENT FLEXFIELD CAN YOU HAVE IN R12
R12 FLEXFIELD
rollup groups oracle application
gl segments ORACLE r12
flex field dependent
how to find the code combination and the description and account type in oracle applications
how to create dependent value set in oracle apps
tables for cross validatio rules in Oracle apps
in flexfield registration in apps wat to enter in unique id column fields
flexfields tables in APPS
key flexfields in oracle apps
key flexfields security
keyflex oracle
security rules for the item key flexfield in oracle
Flex value sets in ORacle
fndload Key Flex Fields
hierarchy query in oracle apps
FND_ID_FLEX_STRUCTURES
oracle apps rollup group balance
Financials Flexfields Key Segments
Flexfield Qualifiers oracle R12
cross validation segment in oracle apps
id_flex_structure_name in oracle apps
index and index key oracle structure
KEY FLEX FIELD REGISTRATION
allow dynamic insert + code COmbination id
oracle r12 cross validation
Oracle apps dependant value sets
oracle select customers descriptive flex
cross validation rules tables in oracle apps
$flex.valuesetname
key flexfield name in oracle apps
key flexfield base tables in oracle apps
list of key flexfields Oracle Finanacials
oracle apps Validation Information Default Value
fndload key alias
“value set” oracle query
where are the further job information flexfield segments
Oracle GL tables for R12 GL LEdger flexfield
oracle apps hierarchy child view
$flex$ value in oracle value set
fnd_flex_values.flex_value
key flexfield window
Value for the flexfield segment Product Group does not exist in the value set
sql query for key flexfields
query to retrieve gl code combination values in oracle
fndload key flex field value set without values
flex structures in oracle
FNDLOAD for cross validation rules
oracle flexfield table
pl/SQl function to get a segment of a flexfield
oracle key flexfields
key flexfield in r12
oracle get flexfield name
Apps fnd_flex_values COMPILED_VALUE_ATTRIBUTES
Register Tables Oracle Application Object Library
oracle apps 11i value set values
queries related to key flexfield
make value set on table in oracle R12
how to make multiple dependent value set apps
oracle list index fields
flex key value
ID Pass for the flexfield segment Result does not exist in the value set
flexfield validation value from $
display index fields in oracle
table flexfield r12
fnd_flex_values_tl WITH GL TABLE IN ORCALE APPS
oracle COMPILED_VALUE_ATTRIBUTES
adding flexfield segments
get segment name in apps
Default value in Descriptive Flexfield
flexfield table
value set in oracle apps+select query
financials key flex field sql
list flex values sql oracle
ID for the flexfield does not exist in the value set
responsibility – Oracle Key flexfield security rules
flex php oracle
oracle application flexfield guide R12
oracle r12 = :$FLEX$.
key flexfield security
fnd_flex_values enabled_flag
flexfield segment query in oracle
query flex value set table name
oracle dependant value sets on validation type table
compiled_value_attributes
length of field in Oracle Apps
how to use $FLEX$. in valuesets in oracle apps
function to get flexfield description
oracle oracle code combination id queries
flexfields in oracle general ledger in R12
location flexfield in r12 oracle apps
allow dynamic inserts in Oracle apps
oracle 11i lot number unique
ORACLE FLEXFIELD SCRIPTS
find parent account FND_FLEX_VALUE
retrieve key flexfield values
how to create a structure for a flexfield + Oracle
find parent account FND_FLEX_VALUE START WITH
“define%valueset” sql
how to find flex_value
FND flexfield table
oracle apps value set hierarchical query
flexfields tables oracle
FNDLOAD cross validation rules
how to get the segment description of key flexfield
key flexfield tables in oracle apps
how to retrieve column as a value from table in oracle
how to get the segment description of key flexfield from database
select rollup for Oracle Applciation
what is FND_FLEX_VALUE_SETS
which apps tables store cross validation rules
GL Ledger Flexfield
Oracle: ID for the flexfield segment does not exist in the value set
Oracle:’id for the flexfield segment does not exist in the value set’
how to get “compiled_value_attributes”
How do you create a value set for dates in Oracle?
fnd_flex_value_sets
flexfields table columns
Location Flexfield Structure
STRUCTURED_HIERARCHY_LEVEL
dynamic insert in key flexfield
Oracle apps define code combination structure
how to find segments flexfields in oracle apps
Key flexfields in Oracle applications
call keyflexfield in pl/sql script
how to retrieve flexfield values?
how to create dependent flex field
Oracle Purchasing by SHIVMOHAN PUROHIT + pdf
fnd_flex_value_hierarchies hierarchical query
oracle how to query for index fields
how to create a new code combination in Oracle apps
FND_FLEX_VALUEs HIERARCHIES
how to set the value in finance flexfield
+oracle +applications +customers +”flex values”
oracle dependent value set +$FLEX$.
flex_values hierarchy
query to find descriptive flex values in oracle
what is key flexfield and Descriptive Flex field
Oracle apps flexfield tables
getting the “segment name” for an Oracle (DFF OR flexfield)
fnd_flex_values valid dates start end
how to find flexfield values in oracle tables
Location flexfield Security Rule
oracle which fields in index
key flexfields tables in oracle apps
“Value set” Oracle define table with multiple fields
how to create r12 descriptive flexfield with segment
oracle flexfield rule tables
how to get segments from code combination id?
oracle cross–validation rules tables
flex builder oracle query
fnd_flex_value_sets validation type
can dynamic insert be enabled if flexfield has dependent segments
oracle apps value set $FLEX$
how to use :$FLEX$ in table type value set
oracle retrieve full field
flexfield security rules
how to get flexfield values
how to retrieve independent flexfield value + Oracle + SQL
oracle apps + flexfield low value , high value
need to validate flexfield low and high value
fnd flex sql
tables to store flexfield details in oracle apps
Flexfields in General Ledger Oracle apps
oracle flexfield tables
retrieve descriptive flexfields values+sql+oracle
how to get the account description of GL code combinations in oracle apps
fnd_flex_values
oracle gl code combination description FND_ID_FLEX_SEGMENTS
pass values to fnd_flex_values fnd_flex_rules
sql FND_ID_FLEX_SEGMENTS
Oracle How to Create Flex Values
Oracle Application spacial Valuset
usage $FLEX$ in value set
which table contain account description in oracle apps
flex_value_id
GET Values from independent flexfield
$flex$ dependent value set in oracle apps
oracle application create segment code
sql query “cross-validation” rule oracle
set a value for a key flexfields in oracle apps
Invalido default value for ‘AccountType’ at row 49
function to get description of account segments of a account+Oracle apps
what is the use of flex value segements in valueset
oracle gl flex value packages
how to select all descriptive flexfield segments using PL/SQL?
SQL retrieve key flexfield values
oracle people group flexfield data store
key flexfields structure
oracle applications flexfields guide
oracle flex_value name
table validate sets for flexfields R12
oracle descriptive flexfield tables
descriptive flexfield table
gl code combinations hierarchy
Invalid default value for ‘AccountType
Oracle apps job flexfield structure scripts
oracle define flexfield as account
oracle show index field
list of key flexfields in oracle apps finance
descriptive flexfields tables
dynamic insert in oracle apps
in oracle r12 flexfield types
fnd_flex_values.COMPILED_VALUE_ATTRIBUTES
SELECT V.FLEX_VALUE
R12 fnd_flex_values Company
FND FLEXSQL
“flex php oracle”
dynamic inserts oracle apps
Validation Set TABLE Oracle Applications
oracle key flexfield table joins
child flex value low
R12 Key Flexfields
application object library flexfield segment values
Oracle Application Object Library flexfield
create dependent value set with dates
FLEXFIELD DESCRIPTION TABLE
Oracle GL key flexfields
fnd flexfields table
customer flexfield address table
flex retrieve validator
sql script to view account hierarchy in oracle
r12 flexfield invalid
r12 flexfield segment cross validation table
oracle apps Flexfields:Validate on Server
r12 Flexfields:Validate on Server
key flexfields validate responsibility
and R.APPLICATION_ID = :APID and R.ID_FLEX_CODE = :CODE
flexfield description from value set name in oracle apps
cross validation rules FNDLOAD
how to get key flexfield using sql queries
oracle application fnd flex field description function
sql queries for key flexfield
oracle apps key flexfields prompts
Oracle Descriptive Flexfields tables
getting fields in an index from oracle
“for the flexfield segment item type does not exist in the value set”
fnd_flex_values compiled_value_attributes

Post to Twitter  Post to Delicious  Post to Digg    Post to StumbleUpon

Categories : 11i Scripts, General Ledger Tags : ,

Comments

No comments yet.


Leave a comment

(required)

(required)