[Home] [Help]
153: -- Cursor to identifiy what is the column Name for the Natural Account Segment
154: CURSOR c_get_segment_num(p_ledger_id NUMBER)
155: IS
156: SELECT s.application_column_name segment_col_name
157: FROM fnd_id_flex_segments s,
158: fnd_segment_attribute_values sav,
159: gl_ledgers_public_v glp --,
160: WHERE s.application_id = 101 -- GL Application ID
161: AND s.id_flex_code = 'GL#'