You can use the following query to get the description of COA of Oracle EBS by using apps.gl_flexfields_pkg.get_description_sql and avoid hideous number of joins back to FND_FLEX_VALUES_TL and generally hard-code in value set ids.
SELECT gcc.code_combination_id
,gcc.segment1
,gcc.segment2
,gcc.segment3
,gcc.segment4
,gcc.segment5
,gcc.segment6
,gcc.segment7
,gcc.segment8
,DECODE(gcc.segment1,NULL,'',apps.gl_flexfields_pkg.get_description_sql
(gcc.chart_of_accounts_id,1,gcc.segment1)) seg1_desc
,DECODE(gcc.segment2,NULL,'',apps.gl_flexfields_pkg.get_description_sql
( gcc.chart_of_accounts_id,2,gcc.segment2)) seg2_desc
,DECODE(gcc.segment3,NULL,'',apps.gl_flexfields_pkg.get_description_sql
(gcc.chart_of_accounts_id,3,gcc.segment3)) seg3_desc
,DECODE(gcc.segment4,NULL,'',apps.gl_flexfields_pkg.get_description_sql
( gcc.chart_of_accounts_id,4,gcc.segment4)) seg4_desc
,DECODE(gcc.segment5,NULL,'',apps.gl_flexfields_pkg.get_description_sql
( gcc.chart_of_accounts_id,5,gcc.segment5)) seg5_desc
,DECODE(gcc.segment6,NULL,'',apps.gl_flexfields_pkg.get_description_sql
( gcc.chart_of_accounts_id,6,gcc.segment6)) seg6_desc
,DECODE(gcc.SEGMENT7,NULL,'',apps.gl_flexfields_pkg.get_description_sql
( gcc.chart_of_accounts_id,7,gcc.segment7)) seg7_desc
,DECODE(gcc.SEGMENT9,NULL,'',apps.gl_flexfields_pkg.get_description_sql
( gcc.chart_of_accounts_id,8,gcc.segment8)) seg8_desc
,gcc.chart_of_accounts_id chart_of_accounts_id
,gcc.account_type
FROM gl_code_combinations gcc;
Thanks - http://oracleared.blogspot.com/2012/07/chart-of-accounts-segment-descriptions.html
This is most informative and also this post most user friendly and super navigation to all posts... Thank you so much for giving this information to me..
ReplyDeleteangularjs-Training in velachery
angularjs-Training in annanagar
angularjs Training in chennai
angularjs Training in chennai
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
ReplyDeletepython training in pune | python training institute in chennai | python training in Bangalore
I was looking for this certain information for a long time. Thank you and good luck.
ReplyDeleteJava training in Chennai | Java training in Bangalore
Java interview questions and answers | Core Java interview questions and answers
Thanks for splitting your comprehension with us. It’s really useful to me & I hope it helps the people who in need of this vital information.
ReplyDeleteData Science course in kalyan nagar | Data Science course in OMR
Data Science course in chennai | Data science course in velachery
Data science course in jaya nagar | Data science training in tambaram
I was in search of this blog for a while and just now got this into my vision Thanks for sharing.
ReplyDeleteTOEFL Coaching Classes in Adyar
TOEFL Coaching in Kottivakkam
TOEFL Classes in Kasturibai Nagar
TOEFL Training in T-Nagar
TOEFL Coaching in Vadapalani
TOEFL Training at Nungambakkam
TOEFL Coaching Classes in Redhills
This is such a great post, and was thinking much the same myself. Another great update.
ReplyDeletedevops online training
aws online training
data science with python online training
data science online training
rpa online training
ReplyDeleteThanks for sharing a very useful article. Am sure it helped to clear the doubts I had. Keep posting more. Also dont forget to check out our pages too.
data science training in chennai
ccna training in chennai
iot training in chennai
cyber security training in chennai
ethical hacking training in chennai
ReplyDeleteThis post is so interactive and informative.keep update more information...
Artificial Intelligence Course in Gurgaon
Artificial Intelligence Course in Hyderabad
Artificial Intelligence Course in Delhi
Great post. keep sharing such a worthy information.
ReplyDeleteGoogle Analytics Training In Chennai
Google Analytics Online Course