SELECT A.ID_FLEX_STRUCTURE_CODE,
B.ID_FLEX_CODE,
E.LANGUAGE,
D.FLEX_VALUE,
E.DESCRIPTION,
E.FLEX_VALUE_MEANING,
B.FLEX_VALUE_SET_ID,
B.APPLICATION_COLUMN_NAME,
B.SEGMENT_NAME,
C.FLEX_VALUE_SET_NAME,
D.FLEX_VALUE_ID
FROM APPS.fnd_id_flex_structures A,
APPS.fnd_id_flex_segments B,
APPS.fnd_flex_value_sets C,
APPS.fnd_flex_values D,
APPS.fnd_flex_values_tl E
WHERE A.ID_FLEX_NUM=B.ID_FLEX_NUM
AND B.FLEX_VALUE_SET_ID=C.FLEX_VALUE_SET_ID
AND C.FLEX_VALUE_SET_ID=D.FLEX_VALUE_SET_ID
AND D.FLEX_VALUE_ID=E.FLEX_VALUE_ID
AND A.APPLICATION_ID IN (101,201)
AND E.LANGUAGE='US'
ORDER BY A.ID_FLEX_STRUCTURE_CODE
No comments:
Post a Comment