Tuesday, 26 April 2011

Query : Get the Account Description


Query : Get the Account Description

select segment1,segment2,segment3,
apps.gl_flexfields_pkg.get_description_sql(&char_of_account_id,1,gcc.segment1) seg1,
apps.gl_flexfields_pkg.get_description_sql(&char_of_account_id,1,gcc.segment2) seg2,
apps.gl_flexfields_pkg.get_description_sql(&char_of_account_id,3,gcc.segment3) seg3
FROM gl_code_combinations gcc
WHERE gcc.code_combination_id = &code_combination_id;

GIVE THE chart of account_id as same value for seg1,seg2 and seg3
and give the  code_combination_id

2 comments:

Anonymous said...

That doesn't work. Why not an example?

Anonymous said...

I know this if off topic but I'm looking into starting my own blog and was wondering what all is needed to get setup? I'm assuming
having a blog like yours would cost a pretty penny?

I'm not very web savvy so I'm not 100% certain.
Any recommendations or advice would be greatly appreciated.
Thank you

Also visit my blog :: Louis Vuitton Outlet