<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: GHR CPDF Dynamics -->
 <REPORTS_ROW>
  <GUID>82288223EFB53869E053B46B63588994</GUID>
  <SQL_TEXT>			SELECT agency_code,
                       organizational_component,
                personnel_office_id,
                to_national_identifier,
                to_char(employee_date_of_birth,&apos;YYYYMM&apos;) dob,
                veterans_preference,
                tenure,
                to_char(service_comp_date,&apos;YYYYMM&apos;) scd,
                retirement_plan,
                creditable_military_service,
                frozen_service,
                from_retirement_coverage,
                veterans_status,
                sex,
                race_national_origin,
                handicap_code,
                first_noa_code,
                second_noa_code,
                first_action_la_code1,
                first_action_la_code2,
                TO_CHAR(effective_date,&apos;YYYYMMDD&apos;) eff_date,
                to_pay_plan,
                to_occ_code,
                to_grade_or_level,
                to_step_or_rate,
                ghr_cpdf_dynrpt.format_basic_pay (to_basic_pay,to_pay_basis,6) to_basic_pay,
                to_pay_basis,
                to_work_schedule,
                to_pay_rate_determinant,
                position_occupied,
                supervisory_status,
                to_duty_station_code,
                current_appointment_auth1,
                current_appointment_auth2,
                rating_of_record_level,
                rating_of_record_pattern,
                TO_CHAR(rating_of_record_period_ends,&apos;YYYYMM&apos;) rating_of_record_period_ends,
                LTRIM(TO_CHAR(individual_group_award, &apos;0000&apos;))   individual_group_award,
                ghr_cpdf_dynrpt.format_amount(award_amount,6)    award_amount,
                nvl(substr(race_ethnic_info,1,6),&apos;      &apos;) || &apos;  &apos; benefit_amount,
                /*     decode(employee_last_name,NULL,&apos;&apos;,SUBSTR(employee_last_name||&apos;,&apos;||employee_first_name||&apos; &apos;||employee_middle_names,1,23) )     name,
                from_pay_plan,
                from_occ_code,
                from_grade_or_level,
                from_step_or_rate,
                ghr_cpdf_dynrpt.format_basic_pay (from_basic_pay,from_pay_basis,6) from_basic_pay,
                from_pay_basis,
                from_work_schedule,
                from_pay_rate_determinant,
                NULL noa_corrected,
                NULL date_corrected,
                from_national_identifier ssn_corrected,
                ghr_cpdf_dynrpt.format_amount(from_locality_adj,5)  from_locality_adj,
                from_duty_station_code,
                ghr_cpdf_dynrpt.format_amount(to_locality_adj,5)      to_locality_adj
                ,DECODE(to_staffing_differential,0,NULL,LPAD(to_staffing_differential,5,&apos;0&apos;))
                                                to_staffing_differential
                            ,DECODE(to_supervisory_differential,0,NULL,LPAD(to_supervisory_differential,5,&apos;0&apos;))
                                                to_supervisory_differential
                            ,DECODE(to_retention_allowance,0,NULL,LPAD(to_retention_allowance,5,&apos;0&apos;))
                                               to_retention_allowance,
                education_level,
                academic_discipline,
                TO_CHAR(year_degree_attained) year_degree_attained,
                           &apos;     &apos; A1,
                            employee_last_name,
                            Employee_first_name,
                            employee_middle_names,
                            name_title,
                            position_title,
                           TO_CHAR(SCD_retirement,&apos;YYYYMMDD&apos;)    service_comp_Date_ret,
                           TO_CHAR(SCD_rif,&apos;YYYYMMDD&apos;)     service_comp_date_rif,
                           ghr_cpdf_dynrpt.format_amount(award_dollars,9)    award_dollars,
                           ghr_cpdf_dynrpt.format_amount(award_hours,9)      award_hours,
                           ghr_cpdf_dynrpt.format_amount(award_percentage,9)         award_percentage,
                           &apos;                                               &apos; A2,
                GHR_GHRCPDFD_XMLP_PKG.cf_super_diffformula(first_noa_code, first_action_la_code1, first_action_la_code2, DECODE ( to_supervisory_differential , 0 , NULL , LPAD ( to_supervisory_differential , 5 , &apos;0&apos; ) )) CF_Super_diff,
                GHR_GHRCPDFD_XMLP_PKG.cf_retn_allowformula(first_noa_code, first_action_la_code1, first_action_la_code2, DECODE ( to_retention_allowance , 0 , NULL , LPAD ( to_retention_allowance , 5 , &apos;0&apos; ) )) CF_retn_allow
            from_retirement_coverage,
                veterans_status,
                sex,
                race_national_origin,
                handicap_code,
                first_noa_code,
                second_noa_code,
                first_action_la_code1,
                first_action_la_code2,
                TO_CHAR(effective_date,&apos;YYYYMMDD&apos;) eff_date,
                to_pay_plan,
                to_occ_code,
                to_grade_or_level,
                to_step_or_rate,
                ghr_cpdf_dynrpt.format_basic_pay (to_basic_pay,to_pay_basis,6) to_basic_pay,
                to_pay_basis,
                to_work_schedule,
                to_pay_rate_determinant,
                position_occupied,
                supervisory_status,
                to_duty_station_code,
                current_appointment_auth1,
                current_appointment_auth2,
                rating_of_record_level,
                rating_of_record_pattern,
                TO_CHAR(rating_of_record_period_ends,&apos;YYYYMM&apos;) rating_of_record_period_ends,
                LTRIM(TO_CHAR(individual_group_award, &apos;0000&apos;))   individual_group_award,
                ghr_cpdf_dynrpt.format_amount(award_amount,6)    award_amount,
                nvl(substr(race_ethnic_info,1,6),&apos;      &apos;) || &apos;  &apos; benefit_amount,*/
                     decode(employee_last_name,NULL,&apos;&apos;,SUBSTR(employee_last_name||&apos;,&apos;||employee_first_name||&apos; &apos;||employee_middle_names,1,23) )     name,
                from_pay_plan,
                from_occ_code,
                from_grade_or_level,
                from_step_or_rate,
                ghr_cpdf_dynrpt.format_basic_pay (from_basic_pay,from_pay_basis,6) from_basic_pay,
                from_pay_basis,
                from_work_schedule,
                from_pay_rate_determinant,
                NULL noa_corrected,
                NULL date_corrected,
                from_national_identifier ssn_corrected,
                ghr_cpdf_dynrpt.format_amount(from_locality_adj,5)  from_locality_adj,
                from_duty_station_code,
                ghr_cpdf_dynrpt.format_amount(to_locality_adj,5)      to_locality_adj
                ,DECODE(to_staffing_differential,0,NULL,LPAD(to_staffing_differential,5,&apos;0&apos;))
                                                to_staffing_differential
                            ,DECODE(to_supervisory_differential,0,NULL,LPAD(to_supervisory_differential,5,&apos;0&apos;))
                                                to_supervisory_differential
                            ,DECODE(to_retention_allowance,0,NULL,LPAD(to_retention_allowance,5,&apos;0&apos;))
                                               to_retention_allowance,
                education_level,
                academic_discipline,
                TO_CHAR(year_degree_attained) year_degree_attained,
                           &apos;     &apos; A1,
                            employee_last_name,
                            Employee_first_name,
                            employee_middle_names,
                            name_title,
                            position_title,
                           TO_CHAR(SCD_retirement,&apos;YYYYMMDD&apos;)    service_comp_Date_ret,
                           TO_CHAR(SCD_rif,&apos;YYYYMMDD&apos;)     service_comp_date_rif,
                           ghr_cpdf_dynrpt.format_amount(award_dollars,9)    award_dollars,
                           ghr_cpdf_dynrpt.format_amount(award_hours,9)      award_hours,
                           ghr_cpdf_dynrpt.format_amount(award_percentage,9)         award_percentage,
                           &apos;                                               &apos; A2,
                GHR_GHRCPDFD_XMLP_PKG.cf_super_diffformula(first_noa_code, first_action_la_code1, first_action_la_code2, DECODE ( to_supervisory_differential , 0 , NULL , LPAD ( to_supervisory_differential , 5 , &apos;0&apos; ) )) CF_Super_diff,
                GHR_GHRCPDFD_XMLP_PKG.cf_retn_allowformula(first_noa_code, first_action_la_code1, first_action_la_code2, DECODE ( to_retention_allowance , 0 , NULL , LPAD ( to_retention_allowance , 5 , &apos;0&apos; ) )) CF_retn_allow
            FROM ghr_cpdf_temp
            WHERE report_type =&apos;DYNAMICS&apos;
            AND session_id = USERENV(&apos;sessionid&apos;)
            ORDER BY effective_date, agency_code,to_national_identifier
</SQL_TEXT>
  <XDO_APPLICATION_SHORT_NAME>GHR</XDO_APPLICATION_SHORT_NAME>
  <XDO_DATA_SOURCE_CODE>GHRCPDFD_XML</XDO_DATA_SOURCE_CODE>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>GHR CPDF Dynamics</REPORT_NAME>
    <DESCRIPTION>Application: US Federal Human Resources
Source: CPDF Dynamics Report (XML)
Short Name: GHRCPDFD_XML
DB package: GHR_GHRCPDFD_XMLP_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>:filename</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_agency_code</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_agency_subelement</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_conc_request_id</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_report_date_from</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_report_date_to</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>:filename</ANCHOR>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Report Filename</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>:p_report_date_from</ANCHOR>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Report From Date</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>:p_report_date_to</ANCHOR>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Report To Date</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <ANCHOR>:p_agency_code</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>GHR_US_AGENCY_CODE_2</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
lookup_code value,
meaning description
from
hr_lookups hrl,fnd_sessions s
where s.session_id=userenv(&apos;sessionid&apos;) and hrl.lookup_type=&apos;GHR_US_AGENCY_CODE_2&apos; and hrl.enabled_flag=&apos;Y&apos; and s.effective_date between nvl(start_date_active,s.effective_date) and nvl(end_date_active,s.effective_date) order by hrl.lookup_code</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Agency Code</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <ANCHOR>:p_agency_subelement</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>GHR_US_AGENCY_SUBELEMENT</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
substr(lookup_code,3) id,
substr(lookup_code,3) value,
meaning description
from
hr_lookups hrl,fnd_sessions s
where s.session_id=userenv(&apos;sessionid&apos;) and hrl.lookup_type=&apos;GHR_US_AGENCY_CODE&apos; and hrl.enabled_flag=&apos;Y&apos; and lookup_code like :$flex$.ghr_us_agency_code_2 || &apos;%&apos; and s.effective_date between nvl(start_date_active,s.effective_date) and nvl(end_date_active,s.effective_date) order by substr(hrl.lookup_code,3)</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Subelement</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <PARAMETER_DEPENDENCIES>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.ghr_us_agency_code_2</FLEX_BIND>
    <PARAMETER_NAME>Agency Code</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Subelement</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
  </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>
