<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: ORB Report Name -->
 <LOVS_ROW>
  <GUID>1F0480A825896E8BE0636ADA860A3BB8</GUID>
  <LOV_NAME>ORB Report Name</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
olf_name.property_value value,
olf_desc.property_value description
from
xxorb.orb_report orr,
xxorb.orb_meta_object omo,
xxorb.orb_localizedstring_flat olf_name,
xxorb.orb_localizedstring_flat olf_desc
where
olf_name.meta_object_id = orr.id and
olf_name.property_key = &apos;name&apos; and
olf_desc.meta_object_id(+) = orr.id and
omo.id=orr.id and
olf_desc.property_key(+) = &apos;description&apos; and 
(:$flex$.report_folder_name is null or
omo.parent_id=(
select 
omo.id
from 
xxorb.orb_meta_object omo,
xxorb.orb_localizedstring_flat olf
where 
omo.id=olf.meta_object_id and
olf.property_key = &apos;name&apos; and
omo.obj_type=12 and
olf.property_value=:$flex$.report_folder_name
)
)</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: ORB Report Columns -->
 <REPORTS_ROW>
  <GUID>1F150D78A8B3A7D9E0636ADA860A5F62</GUID>
  <SQL_TEXT>select 
repcolmo.parent_id report_id,
olf_name.property_value report_name,
repcolmo.id column_id,
repcolmo.obj_key column_obj_key,
repcolname.property_value column_name,
repcoldesc.property_value column_desc,
to_clob((select property_value from xxorb.orb_properties_flat opf where opf.meta_object_id=repcolmo.id and opf.property_key=&apos;tc&apos;))column_name_sql,
repcol.column_order column_order,
repcol.dimension_type dimension_type,
repcol.category_id category_id,
repcolcategorykey.obj_key category_obj_key,
repcol.logical_column_id logical_column_id,
repcollogicalkey.obj_key column_logicalkey,
repcollogicalkeyparent.id logical_model_obj_id,
repcollogicalkeyparent.obj_key logical_model_obj_key,
(select property_value from xxorb.orb_properties_flat opf where opf.meta_object_id=repcolmo.id and opf.property_key=&apos;tct&apos;)column_type,
(select property_value from xxorb.orb_properties_flat opf where opf.meta_object_id=repcolmo.id and opf.property_key=&apos;sqlt&apos;)column_datatype,
(select property_value from xxorb.orb_properties_flat opf where opf.meta_object_id=repcolmo.id and opf.property_key=&apos;srtpe&apos;)column_sortorder,
(select property_value from xxorb.orb_properties_flat opf where opf.meta_object_id=repcolmo.id and opf.property_key=&apos;aggregation&apos;)column_aggregation
from xxorb.orb_meta_object repcolmo,
xxorb.orb_report_column repcol ,
xxorb.orb_meta_object repcolcategorykey ,
xxorb.orb_meta_object repcollogicalkey,
xxorb.orb_meta_object repcollogicalkeyparent,
xxorb.orb_localizedstring_flat repcolname,
xxorb.orb_localizedstring_flat repcoldesc,
xxorb.orb_report orr,
xxorb.orb_localizedstring_flat olf_name
where 1=1 and
repcolmo.obj_type = 15 and
repcol.id = repcolmo.id and
repcollogicalkey.id=repcol.logical_column_id and 
repcolcategorykey.id=repcol.category_id and
repcollogicalkeyparent.id=repcollogicalkey.parent_id and
olf_name.meta_object_id = orr.id and
olf_name.property_key = &apos;name&apos; and
orr.id=repcolmo.parent_id and
repcolname.meta_object_id(+) = repcol.id and
repcoldesc.meta_object_id(+) = repcol.id and
repcolname.locale = repcoldesc.locale(+) and
repcolname.property_key(+) = &apos;name&apos; and
repcoldesc.property_key(+) = &apos;description&apos;
union all 
select 
repcolmo.parent_id report_id,
olf_name.property_value report_name,
repcolmo.id column_id,
repcolmo.obj_key column_obj_key,
repcolname.property_value column_name,
repcoldesc.property_value column_desc,
to_clob(xxen_orb_util.derive_formula_column(repcolmo.id ,repcollogicalkeyparent.id)||&apos; &apos;||xxen_xdo.column_name(repcolname.property_value)) column_name_sql,
repcol.column_order column_order,
repcol.dimension_type dimension_type,
repcol.category_id category_id,
null category_obj_key,
repcol.logical_column_id logical_column_id,
null column_logicalkey,
repcollogicalkeyparent.id logical_model_obj_id,
repcollogicalkeyparent.obj_key logical_model_obj_key,
(select property_value from xxorb.orb_properties_flat opf where opf.meta_object_id=repcolmo.id and opf.property_key=&apos;tct&apos;)column_type,
(select property_value from xxorb.orb_properties_flat opf where opf.meta_object_id=repcolmo.id and opf.property_key=&apos;sqlt&apos;)column_datatype,
(select property_value from xxorb.orb_properties_flat opf where opf.meta_object_id=repcolmo.id and opf.property_key=&apos;srtpe&apos;)column_sortorder,
nvl((select case when opf.property_value like &apos;EVALUATE_AGGR%&apos; then &apos;SUM&apos; else null end property_value from xxorb.orb_properties_flat opf where opf.meta_object_id=repcolmo.id and opf.property_key=&apos;formula&apos;),(select property_value from xxorb.orb_properties_flat opf where opf.meta_object_id=repcolmo.id and opf.property_key=&apos;aggregation&apos;))column_aggregation
from xxorb.orb_meta_object repcolmo,
xxorb.orb_report_column repcol ,
xxorb.orb_meta_object repcollogicalkeyparent,
xxorb.orb_localizedstring_flat repcolname,
xxorb.orb_localizedstring_flat repcoldesc,
xxorb.orb_report orr,
xxorb.orb_localizedstring_flat olf_name
where 1=1 and
repcolmo.obj_type = 15 and
repcol.id = repcolmo.id and
repcol.logical_column_id is null and 
olf_name.meta_object_id = orr.id and
olf_name.property_key = &apos;name&apos; and
orr.id=repcolmo.parent_id and
repcollogicalkeyparent.id=xxen_orb_util.get_rep_col_logical_model_id(repcolmo.id) and
repcolname.meta_object_id(+) = repcol.id and
repcoldesc.meta_object_id(+) = repcol.id and
repcolname.locale = repcoldesc.locale(+) and
repcolname.property_key(+) = &apos;name&apos; and
repcoldesc.property_key(+) = &apos;description&apos; 
order by 1,8</SQL_TEXT>
  <ENABLED>Y</ENABLED>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>ORB Report Columns</REPORT_NAME>
    <DESCRIPTION>Report to List the Orbit Report Columns for the Report inclusing the physical column name and logical model object it uses</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>ORBIT</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>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>orr.id in (
select
orr.id
from
xxorb.orb_report orr,
xxorb.orb_localizedstring_flat olf_name
where
olf_name.meta_object_id = orr.id and
olf_name.property_key = &apos;name&apos; and
olf_name.property_value=:report_name
)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>ORB Report Name</LOV_NAME>
    <LOV_GUID>1F0480A825896E8BE0636ADA860A3BB8</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
olf_name.property_value value,
olf_desc.property_value description
from
xxorb.orb_report orr,
xxorb.orb_meta_object omo,
xxorb.orb_localizedstring_flat olf_name,
xxorb.orb_localizedstring_flat olf_desc
where
olf_name.meta_object_id = orr.id and
olf_name.property_key = &apos;name&apos; and
olf_desc.meta_object_id(+) = orr.id and
omo.id=orr.id and
olf_desc.property_key(+) = &apos;description&apos; and 
(:$flex$.report_folder_name is null or
omo.parent_id=(
select 
omo.id
from 
xxorb.orb_meta_object omo,
xxorb.orb_localizedstring_flat olf
where 
omo.id=olf.meta_object_id and
olf.property_key = &apos;name&apos; and
omo.obj_type=12 and
olf.property_value=:$flex$.report_folder_name
)
)</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Report Name</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <PARAMETER_DEPENDENCIES>
  </PARAMETER_DEPENDENCIES>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
  <UPLOAD_DEPENDENCIES>
  </UPLOAD_DEPENDENCIES>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
