Wednesday, January 10, 2018

GL Account Description


Below is the query for getting description of GL Account, change your Org_ID, Account_Code, Segment & CCID accordingly.
f
select gcc1.segment2||'.'||
(select gl_flexfields_pkg.get_description_sql
                                     ((select distinct ood.chart_of_accounts_id from org_organization_definitions ood where ood.organization_id = 141),--- chart of account id
                                      2,----- Position of segment
                                      '404007'--gcc.segment2 ---- Segment value
                                     )
from gl_code_combinations gcc
where gcc.code_combination_id = 1013)
from gl_code_combinations gcc1
where gcc1.code_combination_id = 1013

Kindly Bookmark this Post using your favorite Bookmarking service:
Technorati Digg This Stumble Stumble Facebook Twitter
YOUR ADSENSE CODE GOES HERE

0 comments:

Post a Comment

 

About Me

My photo
Delhi, India
Get the right solution of your query.

Recent Posts

Followers

| Query and Solution © 2009. All Rights Reserved | Template Style by My Blogger Tricks .com | Design by Brian Gardner | Back To Top |