<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: PER Employment Equity EEA4 Report (PDF) -->
 <REPORTS_ROW>
  <GUID>C6E085D471A651A9E05362FB09050512</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select :p_report_date                                         report_date,
       :p_business_group_id                                   business_group_id,
	   haou.name                                              legal_entity,
       nvl(:p_legal_entity_id,haou.organization_id)           legal_entity_id,
       hoi.org_information5                           co_registration_no,
       hoi.org_information3                           sars_registration_no,
       hoi.org_information6                           uif_no,
       hoi1.ORG_INFORMATION3                           industry_sector,
	   hoi1.ORG_INFORMATION15                           bargaining_council,
	   decode(hoi1.ORG_INFORMATION16, &apos;Y&apos;, &apos;Yes&apos;, &apos;No&apos;) public_private,
       decode(hoi1.ORG_INFORMATION5, &apos;Y&apos;, &apos;Yes&apos;, &apos;No&apos;) organ_of_state,
       decode(hoi1.ORG_INFORMATION4, &apos;Y&apos;, &apos;YES&apos;, &apos;NO&apos;) voluntary_compliance,
       hoi.ORG_INFORMATION1                           Trade_name,
       hoi.ORG_INFORMATION11                          DTI_Registration_Name,
       hoi.ORG_INFORMATION2                           Comp_reg_No,
       hoi.ORG_INFORMATION3                           Tax_Ref_No,
       hoi.ORG_INFORMATION6                           UIF_No,
       hoi1.ORG_INFORMATION1                          EE_Ref_No,
       decode (hoi1.ORG_INFORMATION2,null,null,&apos;7&apos;,&apos;Educational Institution&apos;,
           (Select hlb.meaning from hr_lookups hlb
           Where hlb.lookup_type = &apos;ZA_EE_BUSINESS_TYPE&apos;
           and hlb.lookup_code = hoi1.org_information2
           and hlb.application_id = &apos;800&apos;))                          business_type,
       decode(hoi1.ORG_INFORMATION14,null,&apos;No&apos;,&apos;Yes&apos;)  grp_holding_cmpny_yes_no,
	   hoi1.ORG_INFORMATION14                          grp_holding_cmpny,
       hoi2.ORG_INFORMATION1                          Contact_Tele_No,
       hoi2.ORG_INFORMATION2                          Contact_Fax_No,
       hoi2.ORG_INFORMATION3                          Contact_Email_Address,
       hoi2.ORG_INFORMATION4                              post_address_1,
       hoi2.ORG_INFORMATION5                              post_address_2,
       hoi2.ORG_INFORMATION6                              post_address_3,
       hoi2.ORG_INFORMATION8                              post_town_or_city,
       hoi2.ORG_INFORMATION7                              post_postal_code,
        decode( hoi2.ORG_INFORMATION9, null, null, (
              select meaning from hr_lookups
              Where lookup_type = &apos;ZA_PROVINCE&apos; and
              lookup_code = hoi2.ORG_INFORMATION9 and
              application_id = &apos;800&apos;))                                      post_postal_province,
       hoi2.ORG_INFORMATION10                             Physical_address_1,
       hoi2.ORG_INFORMATION11                             Physical_address_2,
       hoi2.ORG_INFORMATION12                             Physical_address_3,
       hoi2.ORG_INFORMATION14                             Physical_town_or_city,
       hoi2.ORG_INFORMATION13                             Physical_postal_code,
               decode(hoi2.ORG_INFORMATION15,null,null,(
                          Select meaning from hr_lookups 
                           Where lookup_type = &apos;ZA_PROVINCE&apos; and
                           lookup_code = hoi2.ORG_INFORMATION15
                          and application_id = &apos;800&apos;)  )                 Physical_province,
       hoi1.ORG_INFORMATION6                              CEO_Name_Surname,
       hoi1.ORG_INFORMATION7                              CEO_Tele_no,
       hoi1.ORG_INFORMATION8                              CEO_Fax_No,
       hoi1.ORG_INFORMATION9                              CEO_email_add,
       hoi1.ORG_INFORMATION10                             EMgr_Name_Surname,
       hoi1.ORG_INFORMATION11                             EMgr_Tele_no,
       hoi1.ORG_INFORMATION12                             EMgr_Fax_No,
       hoi1.ORG_INFORMATION13                             EMgr_email_add,
	   per_za_ee_differential_pkg.get_seta_classification(:P_BUSINESS_GROUP_ID,:P_LEGAL_ENTITY_ID) seta_class,
	   :P_SUBMISSION_DATE   submission_date,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;FA&apos;,&apos;ED&apos;,haou.organization_id) FA_TOT_P,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;FC&apos;,&apos;ED&apos;,haou.organization_id) FC_TOT_P,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;FW&apos;,&apos;ED&apos;,haou.organization_id) FW_TOT_P,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;FI&apos;,&apos;ED&apos;,haou.organization_id) FI_TOT_P,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;MA&apos;,&apos;ED&apos;,haou.organization_id) MA_TOT_P,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;MC&apos;,&apos;ED&apos;,haou.organization_id) MC_TOT_P,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;MW&apos;,&apos;ED&apos;,haou.organization_id) MW_TOT_P,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;MI&apos;,&apos;ED&apos;,haou.organization_id) MI_TOT_P,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;FA&apos;,&apos;EDI&apos;,haou.organization_id) FA_TOT_P_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;FC&apos;,&apos;EDI&apos;,haou.organization_id) FC_TOT_P_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;FW&apos;,&apos;EDI&apos;,haou.organization_id) FW_TOT_P_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;FI&apos;,&apos;EDI&apos;,haou.organization_id) FI_TOT_P_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;MA&apos;,&apos;EDI&apos;,haou.organization_id) MA_TOT_P_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;MC&apos;,&apos;EDI&apos;,haou.organization_id) MC_TOT_P_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;MW&apos;,&apos;EDI&apos;,haou.organization_id) MW_TOT_P_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;MI&apos;,&apos;EDI&apos;,haou.organization_id) MI_TOT_P_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;MF&apos;,&apos;EDF&apos;,haou.organization_id) MF_TOT_P,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;FF&apos;,&apos;EDF&apos;,haou.organization_id) FF_TOT_P,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;MF&apos;,&apos;EDFI&apos;,haou.organization_id) MF_TOT_P_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Permanent&apos;,&apos;FF&apos;,&apos;EDFI&apos;,haou.organization_id) FF_TOT_P_INC,
	   per_za_ee_differential_pkg.get_row_total(&apos;Permanent&apos;,&apos;NUM&apos;,haou.organization_id) TOT_P,
	   per_za_ee_differential_pkg.get_row_total(&apos;Permanent&apos;,&apos;INC&apos;,haou.organization_id) TOT_P_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;FA&apos;,&apos;ED&apos;,haou.organization_id) FA_TOT_NP,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;FC&apos;,&apos;ED&apos;,haou.organization_id) FC_TOT_NP,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;FW&apos;,&apos;ED&apos;,haou.organization_id) FW_TOT_NP,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;FI&apos;,&apos;ED&apos;,haou.organization_id) FI_TOT_NP,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;MA&apos;,&apos;ED&apos;,haou.organization_id) MA_TOT_NP,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;MC&apos;,&apos;ED&apos;,haou.organization_id) MC_TOT_NP,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;MW&apos;,&apos;ED&apos;,haou.organization_id) MW_TOT_NP,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;MI&apos;,&apos;ED&apos;,haou.organization_id) MI_TOT_NP,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;FA&apos;,&apos;EDI&apos;,haou.organization_id) FA_TOT_NP_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;FC&apos;,&apos;EDI&apos;,haou.organization_id) FC_TOT_NP_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;FW&apos;,&apos;EDI&apos;,haou.organization_id) FW_TOT_NP_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;FI&apos;,&apos;EDI&apos;,haou.organization_id) FI_TOT_NP_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;MA&apos;,&apos;EDI&apos;,haou.organization_id) MA_TOT_NP_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;MC&apos;,&apos;EDI&apos;,haou.organization_id) MC_TOT_NP_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;MW&apos;,&apos;EDI&apos;,haou.organization_id) MW_TOT_NP_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;MI&apos;,&apos;EDI&apos;,haou.organization_id) MI_TOT_NP_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;MF&apos;,&apos;EDF&apos;,haou.organization_id) MF_TOT_NP,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;FF&apos;,&apos;EDF&apos;,haou.organization_id) FF_TOT_NP,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;MF&apos;,&apos;EDFI&apos;,haou.organization_id) MF_TOT_NP_INC,
	   per_za_ee_differential_pkg.get_total(&apos;Non-Permanent&apos;,&apos;FF&apos;,&apos;EDFI&apos;,haou.organization_id) FF_TOT_NP_INC,
	   per_za_ee_differential_pkg.get_row_total(&apos;Non-Permanent&apos;,&apos;NUM&apos;,haou.organization_id) TOT_NP,
	   per_za_ee_differential_pkg.get_row_total(&apos;Non-Permanent&apos;,&apos;INC&apos;,haou.organization_id) TOT_NP_INC
from   hr_organization_information hoi,
       hr_all_organization_units   haou,
       hr_organization_information hoi1, 
       hr_organization_information hoi2 
where  haou.business_group_id = :P_BUSINESS_GROUP_ID
and    haou.organization_id = nvl(:P_LEGAL_ENTITY_ID,haou.organization_id)
and    haou.organization_id = hoi.organization_id
AND    hoi1.org_information_context(+) = &apos;ZA_EMPLOYMENT_EQUITY_INFO&apos;
AND    hoi2.org_information_context(+) = &apos;ZA_LEGAL_ENTITY_CONTACT_INFO&apos;
AND    hoi1.organization_id(+) = haou.organization_id
AND    hoi2.organization_id(+) = haou.organization_id
and    hoi.org_information_context = &apos;ZA_LEGAL_ENTITY&apos;
order  by 3
</SQL_TEXT>
  <XDO_APPLICATION_SHORT_NAME>PER</XDO_APPLICATION_SHORT_NAME>
  <XDO_DATA_SOURCE_CODE>PERZAEID_XML</XDO_DATA_SOURCE_CODE>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>PER Employment Equity EEA4 Report (PDF)</REPORT_NAME>
    <DESCRIPTION>Imported from BI Publisher
Description: Employment Equity - Income Differentials Report
Application: Human Resources
Source: Employment Equity EEA4 Report (PDF)
Short Name: PERZAEID_XML
DB package: per_za_ee_differential_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>:p_business_group_id</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_legal_entity_id</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_report_date</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_salary_method</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_submission_date</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>-20</DISPLAY_SEQUENCE>
    <ANCHOR>:p_business_group_id</ANCHOR>
    <PARAMETER_TYPE_DSP>Number</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>fnd_profile.value(&apos;PER_BUSINESS_GROUP_ID&apos;)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Business Group ID</PARAMETER_NAME>
      <DESCRIPTION>Business Group ID</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>:p_report_date</ANCHOR>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>SELECT effective_date FROM fnd_sessions WHERE session_id = USERENV(&apos;sessionid&apos;)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Report Date</PARAMETER_NAME>
      <DESCRIPTION>Effective Date</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>:p_legal_entity_id</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>PER_ZA_LEGAL_ENTITY</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
haou.organization_id id,
haou.name value,
null description
from
fnd_sessions fss,hr_all_organization_units haou,hr_organization_information hoi,hr_organization_information hoi2
where fss.session_id=userenv(&apos;sessionid&apos;)
and fss.effective_date between haou.date_from and nvl(haou.date_to,to_date(&apos;31-12-4712&apos;,&apos;DD-MM-YYYY&apos;))
and haou.business_group_id=fnd_global.per_business_group_id
and hoi.organization_id=haou.organization_id
and hoi.org_information_context=&apos;ZA_LEGAL_ENTITY&apos;
and hoi2.organization_id=haou.organization_id
and hoi2.org_information_context=&apos;CLASS&apos;
and hoi2.org_information1=&apos;HR_LEGAL&apos;
and hoi2.org_information2=&apos;Y&apos;
order by haou.name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Legal Entity</PARAMETER_NAME>
      <DESCRIPTION>Legal Entity</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>:p_submission_date</ANCHOR>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>SELECT effective_date FROM fnd_sessions WHERE session_id = USERENV(&apos;sessionid&apos;)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Report Submission Date</PARAMETER_NAME>
      <DESCRIPTION>Report Submission Date</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <ANCHOR>:p_salary_method</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>PER_ZA_SALARY_METHODS</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
lookup_code value,
meaning description
from
hr_lookups
where lookup_type=&apos;PER_ZA_SALARY_METHOD&apos; and enabled_flag=&apos;Y&apos;
order by lookup_code</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Salary Calculation Method</PARAMETER_NAME>
      <DESCRIPTION>Salary Calculation Method</DESCRIPTION>
     </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>
