Find Segment Values Select From FND - ID - FLEX - SEGMENTS Where Id - Flex - Code 'GL#'
Find Segment Values Select From FND - ID - FLEX - SEGMENTS Where Id - Flex - Code 'GL#'
gcc.segment1||'-'||gcc.segment2||'-'||gcc.segment3
gcc.segment6
'- gcc.segme '- gcc.segme 'ACCOUNT,
'- A2.DESCRIPTI '- A3.DESCRIPTI ''
nt4
'
nt5
' A1.DESCRIPTI '
ON
'
ON
'
ON
A4.DESCRIPTION||'-'||A5.DESCRIPTION||'-'||A6.DESCRIPTION description
from
fnd_flex_values_vl A1,
fnd_flex_values_vl A2,
fnd_flex_values_vl A3,
fnd_flex_values_vl A4,
fnd_flex_values_vl A5,
fnd_flex_values_vl A6,
gl_code_combinations gcc
WHERE
a1.flex_value=gcc.segment1
and a2.flex_value=gcc.segment2
and a3.flex_value=gcc.segment3
and a4.flex_value=gcc.segment4
and a5.flex_value=gcc.segment5
and a6.flex_value=gcc.segment6
selectgcc.segment4,ff.descriptionfromgl_code_combinationsgcc,
fnd_id_flexsff
select*fromfnd_id_flexs
select*fromgl_code_combinations
FINDSEGMENTVALUES
select*fromFND_ID_FLEX_SEGMENTS
whereid_flex_code='GL#'
select*fromGL_CODE_COMBINATIONS_KFV
select*fromfnd_flex_values_vl
whereflex_value_set_id=1014183
QUERYFORFINDTHEDESCRIPTION:
selectgcc.segment4,ffv.descriptionfromgl_code_combinations
gcc,fnd_flex_values_vlffv,fnd_flex_value_setsffs
whereffv.flex_value=gcc.segment4andffs.FLEX_VALUE_SET_NAME='Segment4lov
name'
queryforORG_ID
selectmo_global.get_current_org_idfromdual
selectFND_GLOBAL.org_idfromdual