41:
42: SELECT application_column_name
43: INTO l_segment
44: FROM fnd_segment_attribute_values ,
45: gl_ledgers gl
46: WHERE id_flex_code = 'GL#'
47: AND attribute_value = 'Y'
48: AND segment_attribute_type = 'GL_BALANCING'
49: AND application_id = 101