<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>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: GCS Intercompany Matching Base Data Source -->
 <REPORTS_ROW>
  <GUID>82288223EFB13869E053B46B63588994</GUID>
  <SQL_TEXT>SELECT ghv.hierarchy_name hierarchy_name,
       geh.suspense_exceeded_flag suspense_exceeded_flag,
       fcpv.cal_period_name calname,
       fcrtl.name currency,
       fcov.company_cost_center_org_name organization,
       fliv.line_item_name lineitem,
       /*startSelectList*/
       /*selectLiteral*/
       /*endSelectList*/ 
       fciv.company_cost_center_org_name intercompany,
       fev.entity_name entity_name,
       fev1.entity_name oper_entity_name,
       gicrv.rule_name rule_name,
       gicrv.description description,
       gel.description suspenseline,
       gel.ytd_debit_balance_e debit,
       gel.ytd_credit_balance_e credit,
       gel.ytd_balance_e balance,
       gcs_drilldown_util_pkg.url_encode(gel.rowid) rowids
  FROM gcs_cons_eng_runs gcer,
       gcs_cons_eng_run_dtls gcerd,
       gcs_entry_headers geh,
       gcs_entry_lines gel,
       gcs_interco_rules_vl gicrv,
       gcs_hierarchies_vl ghv,
       fem_cal_periods_vl fcpv,
       fem_entities_vl fev,
       fem_entities_vl fev1,
       fnd_currencies_tl fcrtl,
       fem_cctr_orgs_tl fcov,
       fem_ln_items_tl fliv,
       /*startFromList*/
       /*fromLiteral*/ 
       /*endFromList*/ fem_cctr_orgs_tl fciv
WHERE gcer.most_recent_flag = &apos;Y&apos;
  AND geh.currency_code     = fcrtl.currency_code
  AND fcrtl.LANGUAGE        = userenv(&apos;lang&apos;)
  AND gcer.hierarchy_id     = :phierarchy
  AND gcer.run_entity_id    = gcerd.consolidation_entity_id
  AND gcer.run_name         = gcerd.run_name
  AND gcerd.category_code IN(&apos;INTERCOMPANY&apos;, &apos;INTRACOMPANY&apos;)
  AND(gcerd.child_entity_id        = :pentity 
      OR 
      gcerd.contra_child_entity_id = :pentity)
  AND gcer.balance_type_code       = :pbalanceTypeCode
  &amp;counterEntityIdLiteral
  AND gcerd.entry_id = geh.entry_id
  AND geh.entry_id   = gel.entry_id
  &amp;suspenseExFlagLiteral
  AND ghv.hierarchy_id = :phierarchy
  AND gcerd.rule_id    = gicrv.rule_id
  &amp;ruleIdLiteral
  AND gcer.cal_period_id = :pperiod
  AND gcer.cal_period_id = fcpv.cal_period_id
  AND fev.entity_id = decode(gcerd.child_entity_id, :pentity, gcerd.contra_child_entity_id, gcerd.child_entity_id)
  AND fev1.entity_id = :pentity
  AND gel.company_cost_center_org_id = fcov.company_cost_center_org_id
  AND fcov.LANGUAGE                  = userenv(&apos;lang&apos;)
  AND fliv.line_item_id = gel.line_item_id
  AND fliv.LANGUAGE     = userenv(&apos;lang&apos;)
  AND gel.intercompany_id = fciv.company_cost_center_org_id
  AND fciv.LANGUAGE       = userenv(&apos;lang&apos;)
  /*startWhereClause*/
  /*whereLiteral*/
  /*endWhereClause*/
ORDER BY hierarchy_name,
          entity_name,
          rule_name
</SQL_TEXT>
  <ENABLED>Y</ENABLED>
  <XDO_APPLICATION_SHORT_NAME>GCS</XDO_APPLICATION_SHORT_NAME>
  <XDO_DATA_SOURCE_CODE>GCS_INTER_COMP_SOURCE_BASE</XDO_DATA_SOURCE_CODE>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>GCS Intercompany Matching Base Data Source</REPORT_NAME>
    <DESCRIPTION>Application: Financial Consolidation Hub (Obsolete)
Source: 
Short Name: GCS_INTER_COMP_SOURCE_BASE
DB package: GCS_XML_DT_UTILITY_PKG</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>BI Publisher</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>&amp;counterentityidliteral</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;ruleidliteral</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;suspenseexflagliteral</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:pbalancetypecode</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:pentity</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:phierarchy</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:pperiod</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
  </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>
