<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: FND Debug and Trace Settings -->
 <REPORTS_ROW>
  <GUID>DE19933C8DBB42A497403E61FB4DFEE4</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
x.setting_type,
x.name,
x.level_,
x.level_name,
x.value,
xxen_util.user_name(x.last_updated_by) last_updated_by,
xxen_util.client_time(x.last_update_date) last_update_date,
x.system_name
from
(
select
&apos;Profile Option&apos; setting_type,
fpov0.user_profile_option_name name,
decode(fpov.level_id,10001,&apos;Site&apos;,10002,&apos;Application&apos;,10003,&apos;Responsibility&apos;,10004,&apos;User&apos;,10005,&apos;Server&apos;,10006,&apos;Operating Unit&apos;,10007,&apos;Server+Responsibility&apos;) level_,
decode(fpov.level_id,10002,fav.application_name,10003,frv.responsibility_name,10004,xxen_util.user_name(fpov.level_value),10005,fn.node_name,10006,haouv.name,10007,frv.responsibility_name) level_name,
xxen_util.display_profile_option_value(fpov0.application_id,fpov0.profile_option_id,fpov.profile_option_value) value,
fpov.last_updated_by,
fpov.last_update_date,
fpov0.profile_option_name system_name
from
fnd_profile_options_vl fpov0,
fnd_profile_option_values fpov,
fnd_application_vl fav,
fnd_responsibility_vl frv,
fnd_nodes fn,
hr_all_organization_units_vl haouv
where
(
regexp_like(fpov0.profile_option_name,&apos;DEBUG|TRACE&apos;) and
not regexp_like(fpov0.profile_option_name,&apos;DIR|FILE|PATH|URL|LOCATION|MODULE&apos;) or
fpov0.profile_option_name in (&apos;AFLOG_ENABLED&apos;,&apos;FND_INIT_SQL&apos;)
) and
fpov0.application_id=fpov.application_id and
fpov0.profile_option_id=fpov.profile_option_id and
upper(fpov.profile_option_value) not in (&apos;N&apos;,&apos;NO&apos;,&apos;F&apos;,&apos;0&apos;,&apos;OFF&apos;,&apos;NONE&apos;) and
decode(fpov.level_id,10002,fpov.level_value)=fav.application_id(+) and
case when fpov.level_id in (10003,10007) then fpov.level_value end=frv.responsibility_id(+) and
case when fpov.level_id in (10003,10007) then fpov.level_value_application_id end=frv.application_id(+) and
decode(fpov.level_id,10005,fpov.level_value)=fn.node_id(+) and
decode(fpov.level_id,10006,fpov.level_value)=haouv.organization_id(+)
union all
select
&apos;Concurrent Program&apos; setting_type,
fcpv.user_concurrent_program_name name,
&apos;Program&apos; level_,
fav.application_name level_name,
&apos;SQL Trace&apos; value,
fcpv.last_updated_by,
fcpv.last_update_date,
fcpv.concurrent_program_name system_name
from
fnd_concurrent_programs_vl fcpv,
fnd_application_vl fav
where
fcpv.enable_trace=&apos;Y&apos; and
fcpv.application_id=fav.application_id
) x
where
1=1
order by
x.setting_type desc,
x.name,
x.level_,
x.level_name</SQL_TEXT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>FND Debug and Trace Settings</REPORT_NAME>
    <DESCRIPTION>Profile option values that switch on debug logging, SQL trace or a custom initialization SQL statement, at any level, and concurrent programs with SQL trace enabled.

Debug and trace settings left on in production slow down processing and fill the FND_LOG_MESSAGES table and the database trace directory.

Profile options are selected by internal names containing DEBUG or TRACE, excluding file, directory and module settings, plus FND: Debug Log Enabled and Initialization SQL Statement - Custom. Values N, No, F, 0, Off and None are not shown.</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enginatics</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>x.setting_type=:setting_type</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Profile Option&apos; value, null description from dual union all
select &apos;Concurrent Program&apos; value, null description from dual</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Setting Type</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>x.level_=:level_name</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Site&apos; value, null description from dual union all
select &apos;Application&apos; value, null description from dual union all
select &apos;Responsibility&apos; value, null description from dual union all
select &apos;User&apos; value, null description from dual union all
select &apos;Server&apos; value, null description from dual union all
select &apos;Operating Unit&apos; value, null description from dual union all
select &apos;Server+Responsibility&apos; value, null description from dual union all
select &apos;Program&apos; value, null description from dual</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Level</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
