100% found this document useful (1 vote)
813 views1 page

Sales Order Header & Lines DFF Query

This document provides a SQL query that selects data from various tables related to descriptive flexfields (DFF) in an Oracle EBS application. The query returns the flexfield title, context code and name, column details like name and prompts, and other configuration details like default values and security settings. It joins tables for flexfields, contexts, column usage, and value sets to retrieve the specified columns for flexfield configuration.

Uploaded by

Venu Sreeramoju
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
813 views1 page

Sales Order Header & Lines DFF Query

This document provides a SQL query that selects data from various tables related to descriptive flexfields (DFF) in an Oracle EBS application. The query returns the flexfield title, context code and name, column details like name and prompts, and other configuration details like default values and security settings. It joins tables for flexfields, contexts, column usage, and value sets to retrieve the specified columns for flexfield configuration.

Uploaded by

Venu Sreeramoju
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

--------------- DFF -----------------SELECT

fa.application_name,
fdf.title,
fdfc.descriptive_flex_context_code "Context Code",
FDFC.DESCRIPTIVE_FLEX_CONTEXT_NAME "Context Name",
fdfc.description "Context Desc",
FDFC.ENABLED_FLAG "Context Enable Flag",
FDFCU.COLUMN_SEQ_NUM,
FDFCU.END_USER_COLUMN_NAME,
FDFCU.FORM_LEFT_PROMPT,
fdfcu.application_column_name,
FFVS.FLEX_VALUE_SET_NAME,
FDFCU.ENABLED_FLAG,fdfcu.display_flag
,(SELECT MEANING
from apps.fnd_lookup_values a
Where language ='US'
AND LOOKUP_TYPE IN ( 'FLEX_DEFAULT_TYPE')
AND LOOKUP_CODE = DEFAULT_TYPE) DEFAULT_TYPE,
FDFCU.DEFAULT_VALUE "Default Value"
,FDFCU.REQUIRED_FLAG
,FDFCU.SECURITY_ENABLED_FLAG
,DISPLAY_SIZE
,MAXIMUM_DESCRIPTION_LEN
,CONCATENATION_DESCRIPTION_LEN
,fdf.application_table_name
FROM apps.fnd_descriptive_flexs_vl fdf,
apps.fnd_descr_flex_contexts_vl fdfc,
apps.fnd_descr_flex_col_usage_vl fdfcu,
apps.fnd_flex_value_sets ffvs,
apps.fnd_application_vl fa
WHERE fdf.descriptive_flexfield_name = fdfcu.descriptive_flexfield_name
AND fa.application_id
=fdf.application_id
AND fdf.descriptive_flexfield_name = fdfc.descriptive_flexfield_name
AND fdf.application_id
= fdfc.application_id
and FDFC.DESCRIPTIVE_FLEX_CONTEXT_CODE=FDFCU.DESCRIPTIVE_FLEX_CONTEXT_CODE
AND FFVS.FLEX_VALUE_SET_ID(+)
=FDFCU.FLEX_VALUE_SET_ID
--and FDF.TITLE in ('Additional Header Information','Additional Line Return Info
rmation','Additional Line Attribute Information')
--AND FDFC.DESCRIPTIVE_FLEX_CONTEXT_CODE LIKE 'ORDER%'
--AND fdfcu.form_left_prompt LIKE '%&DFF_Prompt%'
--AND fdf.application_table_name LIKE UPPER('HZ%Location%')
ORDER BY fdf.title,"Context Name",fdfcu.column_seq_num;

You might also like