<ROOT>
 <APPS_INITIALIZE_DATA>
  <USER_NAME>ENGINATICS</USER_NAME>
  <RESPONSIBILITY_KEY>SYSTEM_ADMINISTRATOR</RESPONSIBILITY_KEY>
  <APPLICATION_SHORT_NAME>SYSADMIN</APPLICATION_SHORT_NAME>
 </APPS_INITIALIZE_DATA>
<LOVS>
<!-- loader xml for Enginatics Blitz Report lov: Blitz Upload Mode -->
 <LOVS_ROW>
  <GUID>E811F942597A2075E0530100007FF4F2</GUID>
  <LOV_NAME>Blitz Upload Mode</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select xxen_upload.action_create id, xxen_upload.action_meaning(xxen_upload.action_create) value, null description from dual union all
select xxen_upload.action_create || &apos;,&apos; || xxen_upload.action_update id, xxen_upload.action_meaning(xxen_upload.action_create)||&apos;, &apos;||xxen_upload.action_meaning(xxen_upload.action_update) value, null description from dual
</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Ledger -->
 <LOVS_ROW>
  <GUID>8E2FF36EDEB879D2E0530100007F1FF2</GUID>
  <LOV_NAME>GL Ledger</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
gl.name value,
fifsv.id_flex_structure_name||&apos;: &apos;||decode(gl.ledger_category_code,&apos;NONE&apos;,xxen_util.meaning(gl.object_type_code,&apos;LEDGERS&apos;,101),xxen_util.meaning(gl.ledger_category_code,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101))||&apos;: &apos;||gl.description description
from
gl_ledgers gl,
fnd_id_flex_structures_vl fifsv
where
(:$flex$.ledger_category is null or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;)) and
(:$flex$.chart_of_accounts is null or xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos;) and
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+)) and
gl.chart_of_accounts_id=fifsv.id_flex_num and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.application_id=101
order by
fifsv.id_flex_structure_name,
decode(gl.ledger_category_code,&apos;PRIMARY&apos;,1,&apos;SECONDARY&apos;,2,&apos;ALC&apos;,3,&apos;NONE&apos;,4),
gl.name</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>AR</LANGUAGE>
    <DESCRIPTION>دفاتر الأستاذ المقيدة بمجموعة الوصول ، المحددة بواسطة قيمة الملف الشخصي &quot;مجموعة الوصول إلى بيانات GL&quot; لمسؤولية تسجيل الدخول الحالية</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>D</LANGUAGE>
    <DESCRIPTION>Ledger, die durch das Zugriffsset eingeschränkt sind, definiert durch den Profilwert &apos;GL Data Access Set&apos; der aktuellen Anmeldeverantwortung</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>E</LANGUAGE>
    <DESCRIPTION>Libros restringidos por el conjunto de acceso, definido por el valor del perfil &quot;Conjunto de acceso a datos GL&quot; de la responsabilidad de inicio de sesión actual</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>F</LANGUAGE>
    <DESCRIPTION>Grands livres limités par un ensemble d&apos;accès, défini par la valeur du profil &quot;GL Data Access Set&quot; de la responsabilité de connexion actuelle</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>I</LANGUAGE>
    <DESCRIPTION>Libri mastri limitati dal set di accesso, definito dal valore del profilo &apos;GL Data Access Set&apos; della responsabilità di login corrente</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>JA</LANGUAGE>
    <DESCRIPTION>現在のログイン責任者のプロファイル値&apos;GL Data Access Set&apos;によって定義されたアクセスセットによって制限された元帳</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>KO</LANGUAGE>
    <DESCRIPTION>현재 로그인 권한의 프로파일 값 &apos;GL 데이터 액세스 세트&apos;로 정의 된 액세스 세트로 제한되는 원장</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>PTB</LANGUAGE>
    <DESCRIPTION>Ledgers restritos pelo conjunto de acesso, definido pelo valor do perfil &apos;GL Data Access Set&apos; da atual responsabilidade de login</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>RU</LANGUAGE>
    <DESCRIPTION>Леджеры, ограниченные набором доступа, определяемые значением профиля &quot;GL Data Access Set&quot; текущей ответственности за вход в систему</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>S</LANGUAGE>
    <DESCRIPTION>Ledgers begränsade av åtkomstuppsättning, definierade av profilvärde &apos;GL Data Access Set&apos; för det aktuella inloggningsansvaret</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>TR</LANGUAGE>
    <DESCRIPTION>Mevcut oturum açma sorumluluğunun profil değeri &apos;GL Veri Erişim Kümesi&apos; ile tanımlanan erişim kümesiyle kısıtlanmış defterler</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <DESCRIPTION>Ledgers restricted by access set, defined by profile value &apos;GL Data Access Set&apos; of the current login responsibility</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>ZHS</LANGUAGE>
    <DESCRIPTION>由访问集限制的分类账，由当前登录责任的配置文件值 &quot;GL数据访问集 &quot;定义。</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment1 -->
 <LOVS_ROW>
  <GUID>8E2FF36EDECC79D2E0530100007F1FF2</GUID>
  <LOV_NAME>GL Segment1</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT1&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <VERSION_COMMENTS>Concatenate (inactive) to the description of inactive segment values</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment10 -->
 <LOVS_ROW>
  <GUID>B3D07BBAC1A645D7E0530100007FB1B8</GUID>
  <LOV_NAME>GL Segment10</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT10&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <VERSION_COMMENTS>Concatenate (inactive) to the description of inactive segment values</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment11 -->
 <LOVS_ROW>
  <GUID>3CF0AFFEDB407EB4E0630100007F9A70</GUID>
  <LOV_NAME>GL Segment11</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT11&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment12 -->
 <LOVS_ROW>
  <GUID>3CF0AFFEDB417EB4E0630100007F9A70</GUID>
  <LOV_NAME>GL Segment12</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT12&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment2 -->
 <LOVS_ROW>
  <GUID>8E2FF36EDECD79D2E0530100007F1FF2</GUID>
  <LOV_NAME>GL Segment2</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT2&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <VERSION_COMMENTS>Concatenate (inactive) to the description of inactive segment values</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment3 -->
 <LOVS_ROW>
  <GUID>8E2FF36EDECE79D2E0530100007F1FF2</GUID>
  <LOV_NAME>GL Segment3</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT3&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <VERSION_COMMENTS>Concatenate (inactive) to the description of inactive segment values</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment4 -->
 <LOVS_ROW>
  <GUID>8E2FF36EDECF79D2E0530100007F1FF2</GUID>
  <LOV_NAME>GL Segment4</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT4&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <VERSION_COMMENTS>Concatenate (inactive) to the description of inactive segment values</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment5 -->
 <LOVS_ROW>
  <GUID>8E2FF36EDED079D2E0530100007F1FF2</GUID>
  <LOV_NAME>GL Segment5</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT5&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <VERSION_COMMENTS>Concatenate (inactive) to the description of inactive segment values</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment6 -->
 <LOVS_ROW>
  <GUID>8E2FF36EDED179D2E0530100007F1FF2</GUID>
  <LOV_NAME>GL Segment6</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT6&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <VERSION_COMMENTS>Concatenate (inactive) to the description of inactive segment values</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment7 -->
 <LOVS_ROW>
  <GUID>8E2FF36EDED279D2E0530100007F1FF2</GUID>
  <LOV_NAME>GL Segment7</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT7&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <VERSION_COMMENTS>Concatenate (inactive) to the description of inactive segment values</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment8 -->
 <LOVS_ROW>
  <GUID>B3D07BBAC1A245D7E0530100007FB1B8</GUID>
  <LOV_NAME>GL Segment8</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT8&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <VERSION_COMMENTS>Concatenate (inactive) to the description of inactive segment values</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment9 -->
 <LOVS_ROW>
  <GUID>B3D07BBAC1A545D7E0530100007FB1B8</GUID>
  <LOV_NAME>GL Segment9</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT9&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY>
  <VERSION_COMMENTS>Concatenate (inactive) to the description of inactive segment values</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: Yes -->
 <LOVS_ROW>
  <GUID>8E2FF36EDEA679D2E0530100007F1FF2</GUID>
  <LOV_NAME>Yes</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
</LOVS>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: GL Account Upload -->
 <REPORTS_ROW>
  <GUID>F8F4DCB21E2E3403E0530100007FE628</GUID>
  <SQL_TEXT>select
to_char(null) action_,
to_char(null) status_,
to_char(null) message_,
null modified_columns_,
gl.name ledger,
gcck.concatenated_segments,
gl_flexfields_pkg.get_concat_description(gl.chart_of_accounts_id,gcck.code_combination_id) description,
ffvv.description account_type,
gcck.segment1 gl_segment1,
gcck.segment2 gl_segment2,
gcck.segment3 gl_segment3,
gcck.segment4 gl_segment4,
gcck.segment5 gl_segment5,
gcck.segment6 gl_segment6,
gcck.segment7 gl_segment7,
gcck.segment8 gl_segment8,
gcck.segment9 gl_segment9,
gcck.segment10 gl_segment10,
gcck.segment11 gl_segment11,
gcck.segment12 gl_segment12,
gcck.segment13 gl_segment13,
gcck.segment14 gl_segment14,
gcck.segment15 gl_segment15,
xxen_util.meaning(gcck.summary_flag,&apos;YES_NO&apos;,0) summary,
xxen_util.meaning(gcck.enabled_flag,&apos;YES_NO&apos;,0) enabled,
gcck.start_date_active,
gcck.end_date_active,
xxen_util.meaning(gcck.detail_budgeting_allowed,&apos;YES_NO&apos;,0) detail_budgeting_allowed,
xxen_util.meaning(gcck.detail_posting_allowed,&apos;YES_NO&apos;,0) detail_posting_allowed,
gcck.code_combination_id
from
gl_code_combinations_kfv gcck,
gl_code_combinations_kfv gccka,
fnd_flex_values_vl ffvv,
fnd_flex_value_sets ffvs,
fnd_id_flex_structures_tl fifs,
gl_ledgers gl
where
1=1 and
gl.chart_of_accounts_id=gcck.chart_of_accounts_id and
gcck.gl_account_type=ffvv.flex_value and
ffvv.flex_value_set_id=ffvs.flex_value_set_id and
ffvs.flex_value_set_name=&apos;GL_SRS_ACCOUNT_TYPE&apos; and
gcck.alternate_code_combination_id=gccka.code_combination_id(+) and
fifs.id_flex_num=gcck.chart_of_accounts_id and
fifs.application_id=101 and
fifs.id_flex_code=&apos;GL#&apos; and
fifs.language=userenv (&apos;lang&apos;) and
nvl(gcck.summary_flag,&apos;N&apos;)&lt;&gt;&apos;Y&apos;</SQL_TEXT>
  <ENABLED>Y</ENABLED>
  <TYPE>U</TYPE>
  <UPLOAD_TYPE>A</UPLOAD_TYPE>
  <UPLOAD_OBJECT>xxen_gl_upload.create_update_gl_account</UPLOAD_OBJECT>
  <UPLOAD_EXCEL_VALIDATION>xxen_gl_upload.validate_account_segments(
p_action=&gt;:$column$.action_,
p_ledger=&gt;:$column$.ledger,
gl_segment1=&gt;:$column$.gl_segment1,
gl_segment2=&gt;:$column$.gl_segment2,
gl_segment3=&gt;:$column$.gl_segment3,
gl_segment4=&gt;:$column$.gl_segment4,
gl_segment5=&gt;:$column$.gl_segment5,
gl_segment6=&gt;:$column$.gl_segment6,
gl_segment7=&gt;:$column$.gl_segment7,
gl_segment8=&gt;:$column$.gl_segment8,
gl_segment9=&gt;:$column$.gl_segment9,
gl_segment10=&gt;:$column$.gl_segment10,
gl_segment11=&gt;:$column$.gl_segment11,
gl_segment12=&gt;:$column$.gl_segment12,
gl_segment13=&gt;:$column$.gl_segment13,
gl_segment14=&gt;:$column$.gl_segment14,
gl_segment15=&gt;:$column$.gl_segment15
)</UPLOAD_EXCEL_VALIDATION>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>GL Account Upload</REPORT_NAME>
    <DESCRIPTION>This upload allows creation of new GL code combinations and update of existing ones. For creation of new code combinations, the upload requires the setup to allow dynamic inserts for code combinations.</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enginatics</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>R12 only</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Upload</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>-30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>:segment_delimiter=:segment_delimiter</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select    
fifsv.concatenated_segment_delimiter    
from
gl_ledgers gl,
fnd_id_flex_structures_vl fifsv    
where
gl.name=:$flex$.ledger and
fifsv.id_flex_num=gl.chart_of_accounts_id and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos;</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Segment Delimiter</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>:ledger=gl.name</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Ledger</LOV_NAME>
    <LOV_GUID>8E2FF36EDEB879D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
gl.name value,
fifsv.id_flex_structure_name||&apos;: &apos;||decode(gl.ledger_category_code,&apos;NONE&apos;,xxen_util.meaning(gl.object_type_code,&apos;LEDGERS&apos;,101),xxen_util.meaning(gl.ledger_category_code,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101))||&apos;: &apos;||gl.description description
from
gl_ledgers gl,
fnd_id_flex_structures_vl fifsv
where
(:$flex$.ledger_category is null or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;)) and
(:$flex$.chart_of_accounts is null or xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos;) and
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+)) and
gl.chart_of_accounts_id=fifsv.id_flex_num and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.application_id=101
order by
fifsv.id_flex_structure_name,
decode(gl.ledger_category_code,&apos;PRIMARY&apos;,1,&apos;SECONDARY&apos;,2,&apos;ALC&apos;,3,&apos;NONE&apos;,4),
gl.name</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Ledger</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>:upload_mode  like &apos;%&apos; || xxen_upload.action_update</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Blitz Upload Mode</LOV_NAME>
    <LOV_GUID>E811F942597A2075E0530100007FF4F2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select xxen_upload.action_create id, xxen_upload.action_meaning(xxen_upload.action_create) value, null description from dual union all
select xxen_upload.action_create || &apos;,&apos; || xxen_upload.action_update id, xxen_upload.action_meaning(xxen_upload.action_create)||&apos;, &apos;||xxen_upload.action_meaning(xxen_upload.action_update) value, null description from dual
</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.enabled_flag=&apos;Y&apos; and
trunc(sysdate) between nvl(gcck.start_date_active,trunc(sysdate)) and nvl(gcck.end_date_active,trunc(sysdate))</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Active Accounts Only</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment1=:segment1</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment1</LOV_NAME>
    <LOV_GUID>8E2FF36EDECC79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT1&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT1</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>6</SORT_ORDER>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment1&gt;=:segment1_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment1</LOV_NAME>
    <LOV_GUID>8E2FF36EDECC79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT1&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT1 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>7</SORT_ORDER>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment1&lt;=:segment1_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment1</LOV_NAME>
    <LOV_GUID>8E2FF36EDECC79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT1&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment1_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT1 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>8</SORT_ORDER>
    <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment2=:segment2</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment2</LOV_NAME>
    <LOV_GUID>8E2FF36EDECD79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT2&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT2</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>9</SORT_ORDER>
    <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment2&gt;=:segment2_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment2</LOV_NAME>
    <LOV_GUID>8E2FF36EDECD79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT2&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT2 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>10</SORT_ORDER>
    <DISPLAY_SEQUENCE>80</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment2&lt;=:segment2_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment2</LOV_NAME>
    <LOV_GUID>8E2FF36EDECD79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT2&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment2_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT2 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>11</SORT_ORDER>
    <DISPLAY_SEQUENCE>90</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment3=:segment3</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment3</LOV_NAME>
    <LOV_GUID>8E2FF36EDECE79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT3&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT3</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>12</SORT_ORDER>
    <DISPLAY_SEQUENCE>100</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment3&gt;=:segment3_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment3</LOV_NAME>
    <LOV_GUID>8E2FF36EDECE79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT3&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT3 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>13</SORT_ORDER>
    <DISPLAY_SEQUENCE>110</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment3&lt;=:segment3_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment3</LOV_NAME>
    <LOV_GUID>8E2FF36EDECE79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT3&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment3_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT3 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>14</SORT_ORDER>
    <DISPLAY_SEQUENCE>120</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment4=:segment4</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment4</LOV_NAME>
    <LOV_GUID>8E2FF36EDECF79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT4&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT4</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>15</SORT_ORDER>
    <DISPLAY_SEQUENCE>130</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment4&gt;=:segment4_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment4</LOV_NAME>
    <LOV_GUID>8E2FF36EDECF79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT4&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT4 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>16</SORT_ORDER>
    <DISPLAY_SEQUENCE>140</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment4&lt;=:segment4_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment4</LOV_NAME>
    <LOV_GUID>8E2FF36EDECF79D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT4&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment4_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT4 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>17</SORT_ORDER>
    <DISPLAY_SEQUENCE>150</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment5=:segment5</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment5</LOV_NAME>
    <LOV_GUID>8E2FF36EDED079D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT5&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT5</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>18</SORT_ORDER>
    <DISPLAY_SEQUENCE>160</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment5&gt;=:segment5_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment5</LOV_NAME>
    <LOV_GUID>8E2FF36EDED079D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT5&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT5 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>19</SORT_ORDER>
    <DISPLAY_SEQUENCE>170</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment5&lt;=:segment5_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment5</LOV_NAME>
    <LOV_GUID>8E2FF36EDED079D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT5&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment5_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT5 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>20</SORT_ORDER>
    <DISPLAY_SEQUENCE>180</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment6=:segment6</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment6</LOV_NAME>
    <LOV_GUID>8E2FF36EDED179D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT6&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT6</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>21</SORT_ORDER>
    <DISPLAY_SEQUENCE>190</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment6&gt;=:segment6_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment6</LOV_NAME>
    <LOV_GUID>8E2FF36EDED179D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT6&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT6 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>22</SORT_ORDER>
    <DISPLAY_SEQUENCE>200</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment6&lt;=:segment6_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment6</LOV_NAME>
    <LOV_GUID>8E2FF36EDED179D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT6&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment6_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT6 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>23</SORT_ORDER>
    <DISPLAY_SEQUENCE>210</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment7&gt;=:segment7</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment7</LOV_NAME>
    <LOV_GUID>8E2FF36EDED279D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT7&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT7</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>24</SORT_ORDER>
    <DISPLAY_SEQUENCE>220</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment7&gt;=:segment7_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment7</LOV_NAME>
    <LOV_GUID>8E2FF36EDED279D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT7&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT7 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>25</SORT_ORDER>
    <DISPLAY_SEQUENCE>230</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment7&lt;=:segment7_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment7</LOV_NAME>
    <LOV_GUID>8E2FF36EDED279D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT7&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment7_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT7 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>26</SORT_ORDER>
    <DISPLAY_SEQUENCE>240</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment8=:segment8</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment8</LOV_NAME>
    <LOV_GUID>B3D07BBAC1A245D7E0530100007FB1B8</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT8&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT8</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>27</SORT_ORDER>
    <DISPLAY_SEQUENCE>250</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment8&gt;=:segment8_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment8</LOV_NAME>
    <LOV_GUID>B3D07BBAC1A245D7E0530100007FB1B8</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT8&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT8 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>28</SORT_ORDER>
    <DISPLAY_SEQUENCE>260</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment8&lt;=:segment8_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment8</LOV_NAME>
    <LOV_GUID>B3D07BBAC1A245D7E0530100007FB1B8</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT8&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment8_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT8 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>29</SORT_ORDER>
    <DISPLAY_SEQUENCE>270</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment9=:segment9</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment9</LOV_NAME>
    <LOV_GUID>B3D07BBAC1A545D7E0530100007FB1B8</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT9&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT9</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>30</SORT_ORDER>
    <DISPLAY_SEQUENCE>280</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment9&gt;=:segment9_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment9</LOV_NAME>
    <LOV_GUID>B3D07BBAC1A545D7E0530100007FB1B8</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT9&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT9 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>31</SORT_ORDER>
    <DISPLAY_SEQUENCE>290</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment9&lt;=:segment9_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment9</LOV_NAME>
    <LOV_GUID>B3D07BBAC1A545D7E0530100007FB1B8</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT9&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment9_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT9 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>32</SORT_ORDER>
    <DISPLAY_SEQUENCE>300</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment10=:segment10</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment10</LOV_NAME>
    <LOV_GUID>B3D07BBAC1A645D7E0530100007FB1B8</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT10&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT10</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>33</SORT_ORDER>
    <DISPLAY_SEQUENCE>310</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment10&gt;=:segment10_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment10</LOV_NAME>
    <LOV_GUID>B3D07BBAC1A645D7E0530100007FB1B8</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT10&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT10 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>34</SORT_ORDER>
    <DISPLAY_SEQUENCE>320</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment10&lt;=:segment10_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment10</LOV_NAME>
    <LOV_GUID>B3D07BBAC1A645D7E0530100007FB1B8</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT10&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment10_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT10 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>35</SORT_ORDER>
    <DISPLAY_SEQUENCE>330</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment11&gt;=:segment11_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment11</LOV_NAME>
    <LOV_GUID>3CF0AFFEDB407EB4E0630100007F9A70</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT11&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT11 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>36</SORT_ORDER>
    <DISPLAY_SEQUENCE>340</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment11&lt;=:segment11_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment11</LOV_NAME>
    <LOV_GUID>3CF0AFFEDB407EB4E0630100007F9A70</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT11&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment11_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT11 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>37</SORT_ORDER>
    <DISPLAY_SEQUENCE>350</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment12&gt;=:segment12_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment12</LOV_NAME>
    <LOV_GUID>3CF0AFFEDB417EB4E0630100007F9A70</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT12&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT12 From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>38</SORT_ORDER>
    <DISPLAY_SEQUENCE>360</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>gcck.segment12&lt;=:segment12_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment12</LOV_NAME>
    <LOV_GUID>3CF0AFFEDB417EB4E0630100007F9A70</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT12&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.gl_segment12_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL_SEGMENT12 To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <PARAMETER_DEPENDENCIES>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment10_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT10 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT10 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment11_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT11 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT11 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment12_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT12 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT12 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment1_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT1 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT1 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment2_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT2 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT2 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment3_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT3 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT3 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment4_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT4 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT4 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment5_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT5 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT5 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment6_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT6 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT6 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment7_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT7 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT7 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment8_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT8 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT8 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.gl_segment9_from</FLEX_BIND>
    <PARAMETER_NAME>GL_SEGMENT9 From</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT9 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT1</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT1 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT1 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT10</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT10 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT10 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT11 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT11 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT12 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT12 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT2</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT2 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT2 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT3</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT3 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT3 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT4</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT4 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT4 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT5</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT5 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT5 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT6</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT6 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT6 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT7</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT7 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT7 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT8</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT8 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT8 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT9</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT9 From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>GL_SEGMENT9 To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <PARAMETER_NAME>Ledger</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Segment Delimiter</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
  </PARAMETER_DEPENDENCIES>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>1</COLUMN_NUMBER>
    <COLUMN_NAME>ACTION_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>2</COLUMN_NUMBER>
    <COLUMN_NAME>STATUS_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>3</COLUMN_NUMBER>
    <COLUMN_NAME>MESSAGE_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>4</COLUMN_NUMBER>
    <COLUMN_NAME>MODIFIED_COLUMNS_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>5</COLUMN_NUMBER>
    <COLUMN_NAME>LEDGER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>:$flex$.ledger</DEFAULT_VALUE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>6</COLUMN_NUMBER>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <COMMENTS>Enter the concatenated segments delimited by segments delimiter which will be auto populated into the individual segments</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>7</COLUMN_NUMBER>
    <COLUMN_NAME>DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>with flex_values as
(
select distinct
ffvv.flex_value,
ffvv.description,
fifsgv.application_column_name
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv,
gl_ledgers gl
where
fifsgv.application_id=101 and
gl.name=:$flex$.ledger and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num=gl.chart_of_accounts_id
)
select
trim(trailing :$flex$.segment_delimiter from trim( leading :$flex$.segment_delimiter from
(select case when fv.flex_value is not null then fv.description||:$flex$.segment_delimiter end from flex_values fv where fv.application_column_name=&apos;SEGMENT1&apos; and fv.flex_value=xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,1))||
(select case when fv.flex_value is not null then fv.description||:$flex$.segment_delimiter end from flex_values fv where fv.application_column_name=&apos;SEGMENT2&apos; and fv.flex_value=xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,2))||
(select case when fv.flex_value is not null then fv.description||:$flex$.segment_delimiter end from flex_values fv where fv.application_column_name=&apos;SEGMENT3&apos; and fv.flex_value=xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,3))||
(select case when fv.flex_value is not null then fv.description||:$flex$.segment_delimiter end from flex_values fv where fv.application_column_name=&apos;SEGMENT4&apos; and fv.flex_value=xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,4))||
(select case when fv.flex_value is not null then fv.description||:$flex$.segment_delimiter end from flex_values fv where fv.application_column_name=&apos;SEGMENT5&apos; and fv.flex_value=xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,5))||
(select case when fv.flex_value is not null then fv.description||:$flex$.segment_delimiter end from flex_values fv where fv.application_column_name=&apos;SEGMENT6&apos; and fv.flex_value=xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,6))||
(select case when fv.flex_value is not null then fv.description||:$flex$.segment_delimiter end from flex_values fv where fv.application_column_name=&apos;SEGMENT7&apos; and fv.flex_value=xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,7))||
(select case when fv.flex_value is not null then fv.description||:$flex$.segment_delimiter end from flex_values fv where fv.application_column_name=&apos;SEGMENT8&apos; and fv.flex_value=xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,8))||
(select case when fv.flex_value is not null then fv.description||:$flex$.segment_delimiter end from flex_values fv where fv.application_column_name=&apos;SEGMENT9&apos; and fv.flex_value=xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,9))||
(select case when fv.flex_value is not null then fv.description||:$flex$.segment_delimiter end from flex_values fv where fv.application_column_name=&apos;SEGMENT10&apos; and fv.flex_value=xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,10))))
from dual</DEFAULT_VALUE>
    <COMMENTS>Auto populated on entering the Concatenated Segments</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>8</COLUMN_NUMBER>
    <COLUMN_NAME>ACCOUNT_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <COMMENTS>Derived during account creation, non-updateable</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>9</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT1&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,1)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>10</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT2&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,2)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>11</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT3&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,3)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>12</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT4&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,4)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>13</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT5&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,5)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>14</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT6&apos; and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,6)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>15</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT7&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,7)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>16</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT8&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,8)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>17</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT9&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,9)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>18</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT10&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,10)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>19</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT11</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT11&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,11)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>20</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT12</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT12&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,12)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>21</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT13</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT13&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,13)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>22</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT14</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT14&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,14)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>23</COLUMN_NUMBER>
    <COLUMN_NAME>GL_SEGMENT15</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvv.flex_value value,
ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end description
from
fnd_id_flex_segments_vl fifsgv,
fnd_flex_values_vl ffvv
where
gl_security_pkg.validate_segval(fifsgv.segment_num,null,ffvv.flex_value)=&apos;TRUE&apos; and
fifsgv.application_id=101 and
fifsgv.id_flex_code=&apos;GL#&apos; and
fifsgv.enabled_flag=&apos;Y&apos; and
fifsgv.application_column_name=&apos;SEGMENT15&apos; and
fifsgv.flex_value_set_id=ffvv.flex_value_set_id and
ffvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) and
fifsgv.id_flex_num in (
select /*+ no_unnest*/ fifsv.id_flex_num from fnd_id_flex_structures_vl fifsv where fifsv.application_id=101 and fifsv.id_flex_code=&apos;GL#&apos; and
(
xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos; or 
fifsgv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
)
)
)
order by
ffvv.flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.instring(:$column$.concatenated_segments,:$flex$.segment_delimiter,15)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>24</COLUMN_NUMBER>
    <COLUMN_NAME>SUMMARY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV Oracle</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
    <COMMENTS>Derived during account creation, non-updateable</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>25</COLUMN_NUMBER>
    <COLUMN_NAME>ENABLED</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV Oracle</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
    <COMMENTS>Derived during account creation, can only be updated</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>26</COLUMN_NUMBER>
    <COLUMN_NAME>START_DATE_ACTIVE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <COMMENTS>Derived during account creation, can only be updated</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>27</COLUMN_NUMBER>
    <COLUMN_NAME>END_DATE_ACTIVE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <COMMENTS>Derived during account creation, can only be updated</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>28</COLUMN_NUMBER>
    <COLUMN_NAME>DETAIL_BUDGETING_ALLOWED</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV Oracle</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
    <COMMENTS>Derived during account creation, can only be updated</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>29</COLUMN_NUMBER>
    <COLUMN_NAME>DETAIL_POSTING_ALLOWED</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV Oracle</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
    <COMMENTS>Derived during account creation, can only be updated</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>30</COLUMN_NUMBER>
    <COLUMN_NAME>CODE_COMBINATION_ID</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_ledger</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>LEDGER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_account_ccid</PARAMETER_NAME>
    <IN_OUT>in/out</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>CODE_COMBINATION_ID</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_enabled_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ENABLED</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_start_date_active</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <COLUMN_NAME>START_DATE_ACTIVE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_end_date_active</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <COLUMN_NAME>END_DATE_ACTIVE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_summary_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>SUMMARY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_detail_budgeting_allowed</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>DETAIL_BUDGETING_ALLOWED</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_detail_posting_allowed</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>DETAIL_POSTING_ALLOWED</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_alternate_account_ccid</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_balanced_budget_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT11</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT12</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT13</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT14</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>GL_SEGMENT15</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment16</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment17</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment18</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment19</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment20</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment21</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment22</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment23</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment24</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment25</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>36</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment26</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>37</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment27</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>38</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment28</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>39</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment29</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_segment30</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>42</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>status_</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>STATUS_CODE_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>43</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>message_</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>MESSAGE_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Success SQL</SQL_TYPE>
    <SQL_TEXT>select
xu.action_,
xu.status_,
xu.message_,
xu.modified_columns_,
xu.ledger,
nvl(gcck.concatenated_segments,xu.concatenated_segments) concatenated_segments,
xu.description,
nvl(ffvv.description,xu.account_type) account_type,
nvl(gcck.segment1,xu.gl_segment1) gl_segment1,
nvl(gcck.segment2,xu.gl_segment2) gl_segment2,
nvl(gcck.segment3,xu.gl_segment3) gl_segment3,
nvl(gcck.segment4,xu.gl_segment4) gl_segment4,
nvl(gcck.segment5,xu.gl_segment5) gl_segment5,
nvl(gcck.segment6,xu.gl_segment6) gl_segment6,
nvl(gcck.segment7,xu.gl_segment7) gl_segment7,
nvl(gcck.segment8,xu.gl_segment8) gl_segment8,
nvl(gcck.segment9,xu.gl_segment9) gl_segment9,
nvl(gcck.segment10,xu.gl_segment10) gl_segment10,
nvl(gcck.segment11,xu.gl_segment11) gl_segment11,
nvl(gcck.segment12,xu.gl_segment12) gl_segment12,
nvl(gcck.segment13,xu.gl_segment13) gl_segment13,
nvl(gcck.segment14,xu.gl_segment14) gl_segment14,
nvl(gcck.segment15,xu.gl_segment15) gl_segment15,
nvl(xxen_util.meaning(gcck.summary_flag,&apos;YES_NO&apos;,0),xu.summary) summary,
nvl(xxen_util.meaning(gcck.enabled_flag,&apos;YES_NO&apos;,0),xu.enabled) enabled,
nvl(gcck.start_date_active,xu.start_date_active) start_date_active,
nvl(gcck.end_date_active,xu.end_date_active) end_date_active,
nvl(xxen_util.meaning(gcck.detail_budgeting_allowed,&apos;YES_NO&apos;,0),xu.detail_budgeting_allowed) detail_budgeting_allowed,
nvl(xxen_util.meaning(gcck.detail_posting_allowed,&apos;YES_NO&apos;,0),xu.detail_posting_allowed) detail_posting_allowed,
nvl(gcck.code_combination_id,xu.code_combination_id) code_combination_id
from
gl_code_combinations_kfv gcck,
gl_code_combinations_kfv gccka,
(select
ffvv.flex_value,
ffvv.description
from
fnd_flex_values_vl ffvv,
fnd_flex_value_sets ffvs
where
ffvv.flex_value_set_id=ffvs.flex_value_set_id and
ffvs.flex_value_set_name=&apos;GL_SRS_ACCOUNT_TYPE&apos;
) ffvv,
(
select fifs.id_flex_num
from
fnd_id_flex_structures_tl fifs
where
fifs.application_id=101 and
fifs.id_flex_code=&apos;GL#&apos; and
fifs.language=userenv (&apos;LANG&apos;)
)fifs,
xxen_gl_account_upload_7410_u xu
where
xu.code_combination_id=gcck.code_combination_id(+) and
gcck.gl_account_type=ffvv.flex_value(+) and
gcck.alternate_code_combination_id=gccka.code_combination_id(+) and
gcck.chart_of_accounts_id=fifs.id_flex_num(+)</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
  </UPLOAD_SQLS>
  <UPLOAD_DEPENDENCIES>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>DESCRIPTION</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>DESCRIPTION</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>DESCRIPTION</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT1</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT1</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT1</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT10</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT10</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT10</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT11</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT11</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT11</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT12</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT12</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT12</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT13</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT13</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT13</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT14</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT14</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT14</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT15</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT15</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT15</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT2</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT2</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT2</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT3</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT3</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT3</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT4</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT4</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT4</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT5</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT5</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT5</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT6</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT6</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT6</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT7</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT7</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT7</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT8</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT8</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT8</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.concatenated_segments</FLEX_BIND>
    <COLUMN_NAME>CONCATENATED_SEGMENTS</COLUMN_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT9</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>LOV query</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT9</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.segment_delimiter</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Segment Delimiter|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>GL_SEGMENT9</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Default value</DEPENDENCY_TYPE>
    <FLEX_BIND>:$flex$.ledger</FLEX_BIND>
    <REPORT_PARAMETER_NAME>Ledger|1=1|</REPORT_PARAMETER_NAME>
    <DEPENDENT_COLUMN_NAME>LEDGER</DEPENDENT_COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.action_</FLEX_BIND>
    <COLUMN_NAME>ACTION_</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment1</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT1</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment10</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT10</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment11</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT11</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment12</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT12</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment13</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT13</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment14</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT14</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment15</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT15</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment2</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT2</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment3</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT3</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment4</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT4</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment5</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT5</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment6</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT6</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment7</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT7</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment8</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT8</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.gl_segment9</FLEX_BIND>
    <COLUMN_NAME>GL_SEGMENT9</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
   <UPLOAD_DEPENDENCIES_ROW>
    <DEPENDENCY_TYPE>Excel validation</DEPENDENCY_TYPE>
    <FLEX_BIND>:$column$.ledger</FLEX_BIND>
    <COLUMN_NAME>LEDGER</COLUMN_NAME>
   </UPLOAD_DEPENDENCIES_ROW>
  </UPLOAD_DEPENDENCIES>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
