Tuesday, 5 May 2015

Query To Find Values Of a Independent Value Set

SELECT ffv.flex_value,
  ffvt.description value_description,
  ffvs.flex_value_set_id ,
  ffvs.flex_value_set_name ,
  ffvs.description set_description ,
  ffvs.validation_type,
  ffv.enabled_flag
FROM fnd_flex_value_sets ffvs ,
  fnd_flex_values ffv ,
  fnd_flex_values_tl ffvt
WHERE ffvs.flex_value_set_id = ffv.flex_value_set_id
AND ffv.flex_value_id        = ffvt.flex_value_id
AND ffvt.language            ='<Language>'
AND flex_value_set_name LIKE '<Value Set Name>'
AND ffvs.validation_type ='I'
ORDER BY flex_value ASC;

No comments:

Post a Comment