Charts Of Accounts ( COA ) structure – Segments and Value Set
Charts Of Accounts Structure, query is given below. The query here will fetch you following list of columns: 1. Business Unit Name 2. Ledger Name 3. Charts Of Accounts Name 4. Segment Name 5. Value Set Code 6. Value Set Description Charts Of Accounts Structure Query select hou.name BU_NAME, led.NAME Ledger_Name, Str.STRUCTURE_CODE CHART_OF_ACCOUNTS_Name, SegInSt.SEGMENT_CODE COA_SEGMENT_NAME, vs.value_set_code, vs.description value_set_desc from hr_operating_units hou, xla_gl_ledgers led , fnd_kf_structures_b Str, fnd_kf_str_instances_b StrInSt, fnd_kf_segment_instances SegInSt, fnd_vs_value_sets vs where 1=1 and led.ledger_id = hou.set_of_books_id AND led.CHART_OF_ACCOUNTS_ID = Str.Structure_id AND Str.KEY_FLEXFIELD_CODE = ‘GL#’ AND Str.Structure_id = StrInSt.Structure_id and SegInSt.Structure_inStance_id = StrInSt.Structure_inStance_id and vs.VALUE_SET_ID = SegInSt.VALUE_SET_ID If you look at the query above, you will see that every Business Unit has something called “Set of Book...