|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622 。
您需要 登录 才可以下载或查看,没有帐号?注册
x
本SQL列出系统中启用的关键和描述性弹性域。
-
- --关键性弹性域
- select fif.application_id,
- fif.id_flex_code,
- fif.id_flex_name,
- fif.application_table_name,
- fif.unique_id_column_name,
- fif.description,
- fifs.id_flex_structure_code,
- fifs.id_flex_structure_name,
- fifs.description,
- fifsv.application_column_name,
- fifsv.segment_name,
- fifsv.enabled_flag,
- fifsv.required_flag,
- fifsv.display_flag,
- fifsv.form_left_prompt,
- fifsv.description,
- ffvs.flex_value_set_name,
- ffvs.validation_type 验证类型,
- ffvs.format_type 格式类型,
- ffvs.maximum_size,
- ffvs.description
- from apps.fnd_id_flexs fif,
- apps.fnd_id_flex_structures_vl fifs,
- apps.fnd_id_flex_segments_vl fifsv,
- apps.fnd_flex_value_sets ffvs
- where fif.application_id = fifs.application_id
- and fif.id_flex_code = fifs.id_flex_code
- and fif.id_flex_code not in ('SCL','BANK','PEA')
- and fifs.application_id = fifsv.application_id
- and fifs.id_flex_code = fifsv.id_flex_code
- and fifs.id_flex_num = fifsv.id_flex_num
- and fifsv.flex_value_set_id = ffvs.flex_value_set_id(+)
- order by fif.application_id,fifs.id_flex_code,fifs.id_flex_num,fifsv.segment_num
- --描述性弹性域
- select fdfv.title,
- fdfv.form_context_prompt,
- fdfv.description,
- fdfv.application_table_name,
- fdfv.descriptive_flexfield_name,
- fdfcv.descriptive_flex_context_code,
- fdfcv.enabled_flag,
- fdfcv.global_flag,
- fdfcv.description,
- fdfcv.descriptive_flex_context_name,
- fdfcu.application_column_name,
- fdfcu.end_user_column_name,
- fdfcu.enabled_flag,
- fdfcu.required_flag,
- fdfcu.form_left_prompt,
- fdfcu.description,
- ffvs.flex_value_set_name,
- ffvs.validation_type 验证类型,
- ffvs.format_type 格式类型,
- ffvs.maximum_size,
- ffvs.description
- from apps.fnd_descriptive_flexs_vl fdfv,
- apps.fnd_application_vl fav,
- apps.fnd_descr_flex_contexts_vl fdfcv,
- apps.fnd_descr_flex_col_usage_vl fdfcu,
- apps.fnd_flex_value_sets ffvs
- where fdfv.application_id = fav.application_id
- and fdfv.application_id = fdfcv.application_id
- and fdfv.descriptive_flexfield_name = fdfcv.descriptive_flexfield_name
- and fdfv.FREEZE_FLEX_DEFINITION_FLAG = 'Y'
- and fdfcv.application_id = fdfcu.application_id
- and fdfcv.descriptive_flexfield_name = fdfcu.descriptive_flexfield_name
- and fdfcv.descriptive_flex_context_code = fdfcu.descriptive_flex_context_code
- and fdfcv.enabled_flag = 'Y'
- and fdfcu.flex_value_set_id = ffvs.flex_value_set_id(+)
- and fdfv.title not like '$SRS$.%'
- and fdfv.title not like '打印机驱动程序%'
- and fdfv.title not like 'OTL%'
- and fdfcu.application_column_name like 'ATTRIBUTE%'
- order by fdfcu.application_id,fdfcu.descriptive_flexfield_name,fdfcu.descriptive_flex_context_code,fdfcu.column_seq_num,fdfcu.application_column_name
复制代码 |
|