<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: PAY Dutch Labour Cost Agreement Audit -->
 <REPORTS_ROW>
  <GUID>C6E085D4715051A9E05362FB09050512</GUID>
  <SQL_TEXT>         SELECT  generator.request_id request_id
               ,info.action_information29 sequence_number
               ,info.action_information1 method
               ,fnd_number.canonical_to_number(info.action_information26) threshold_rate
               ,fnd_number.canonical_to_number(info.action_information27) tax_rate
               ,info.action_information2 payroll_type
               ,info.action_information28 recalculation
               ,fnd_date.date_to_chardate (fnd_date.canonical_to_date (info.action_information30)) start_date
               ,fnd_date.date_to_chardate (info.effective_date) end_date
               ,fnd_number.canonical_to_number (nvl (info.action_information9
                                                    ,0)) taxable_income_ptd
               ,fnd_number.canonical_to_number (nvl (info.action_information9 + info.action_information10
                                                    ,0)) taxable_income_ytd
               ,fnd_number.canonical_to_number (nvl (info.action_information8
                                                    ,0)) lca_threshold
               ,fnd_number.canonical_to_number (nvl (info.action_information5
                                                    ,0)) lca_payments_ptd
               ,fnd_number.canonical_to_number (nvl (info.action_information6
                                                    ,0)) lca_payments_ytd
               ,fnd_number.canonical_to_number (nvl (info.action_information7
                                                    ,0)) taxable_lca_payments
               ,fnd_number.canonical_to_number (nvl (info.action_information3 + info.action_information4
                                                    ,0)) lca_tax_ytd
               ,fnd_number.canonical_to_number (nvl (info.action_information3
                                                    ,0)) lca_tax_ptd
        FROM    pay_action_information info
               ,pay_payroll_actions generator
               ,pay_payroll_actions datalock
        WHERE   info.action_context_id = generator.payroll_action_id
        AND     info.action_information_category = &apos;NL_LCA_TAX&apos;
        AND     info.action_information28 = &apos;N&apos;
        AND     datalock.report_type = &apos;NL_WAGES_REP_LOCK&apos;
        AND     datalock.business_group_id = :P_BUSINESS_GROUP_ID
        AND     datalock.action_status = &apos;C&apos;
        AND     to_char (generator.effective_date
                        ,&apos;YYYY&apos;) = :P_YEAR
        AND     pay_nl_wage_report_pkg.get_parameters (generator.payroll_action_id
                                                      ,&apos;Legal_Employer&apos;) = :P_EMPLOYER_ID
        AND     pay_nl_wage_report_pkg.get_parameters (generator.payroll_action_id
                                                      ,&apos;Payroll_Type&apos;) = :P_PAYROLL_TYPE
        AND     pay_nl_wage_report_pkg.get_parameters (datalock.payroll_action_id
                                                      ,&apos;REQUEST_ID&apos;) = generator.payroll_action_id
        ORDER BY info.action_information30
</SQL_TEXT>
  <ENABLED>Y</ENABLED>
  <XDO_APPLICATION_SHORT_NAME>PAY</XDO_APPLICATION_SHORT_NAME>
  <XDO_DATA_SOURCE_CODE>PAY_NL_LCA_AUDIT</XDO_DATA_SOURCE_CODE>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>PAY Dutch Labour Cost Agreement Audit</REPORT_NAME>
    <DESCRIPTION>Imported from BI Publisher
Description: Dutch Labour Cost Agreement - Audit Report
Application: Payroll
Source: Dutch Labour Cost Agreement Audit Report
Short Name: PAY_NL_LCA_AUDIT
DB package: </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_employer_id</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_payroll_type</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_year</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>-40</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</PARAMETER_NAME>
      <DESCRIPTION>Business Group</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>-30</DISPLAY_SEQUENCE>
    <ANCHOR>:p_employer_name</ANCHOR>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select substr(NAME,1,150) from hr_organization_units where ORGANIZATION_ID=:$flex$.employer</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Employer Name</PARAMETER_NAME>
      <DESCRIPTION>Employer Name</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>-20</DISPLAY_SEQUENCE>
    <ANCHOR>:p_payroll_type_name</ANCHOR>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select MEANING from hr_lookups where lookup_type = &apos;NL_WR_PERIOD_TYPE&apos; and lookup_code=:$flex$.payroll_type</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Payroll Type Name</PARAMETER_NAME>
      <DESCRIPTION>Payroll Type Name</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>:p_employer_id</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>HR_NL_LEGAL_EMPLOYER</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
hou.organization_id id,
hou.name value,
null description
from
hr_organization_units hou
where hou.business_group_id=fnd_global.per_business_group_id
and exists (select 1
from pay_all_payrolls_f ppf
where ppf.business_group_id=fnd_global.per_business_group_id
and fnd_number.canonical_to_number(ppf.prl_information1)=hou.organization_id
union
select 1
from hr_all_organization_units hou1
,hr_organization_information hoi1
where hou1.business_group_id=fnd_global.per_business_group_id
and hoi1.org_information_context=&apos;CLASS&apos;
and hoi1.org_information1=&apos;HR_LEGAL_EMPLOYER&apos;
and hou1.organization_id=hoi1.organization_id
and hou1.organization_id=hou.organization_id)
order by value,description</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Employer</PARAMETER_NAME>
      <DESCRIPTION>Employer</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>:p_year</ANCHOR>
    <PARAMETER_TYPE_DSP>Number</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select to_char(fs.effective_date,&apos;YYYY&apos;) from fnd_sessions fs where fs.session_id = userenv(&apos;sessionid&apos;)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Year</PARAMETER_NAME>
      <DESCRIPTION>Year</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>6</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>:p_payroll_type</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>NL_LCA_PERIOD_TYPE</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
hr_lookups
where
lookup_type=&apos;NL_WR_PERIOD_TYPE&apos;
and lookup_code in (&apos;LMONTH&apos;,&apos;MONTH&apos;,&apos;WEEK&apos;)
and enabled_flag=&apos;Y&apos;
order by value,description</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Payroll Type</PARAMETER_NAME>
      <DESCRIPTION>Payroll Type</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <PARAMETER_DEPENDENCIES>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.employer</FLEX_BIND>
    <PARAMETER_NAME>Employer</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Employer Name</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.payroll_type</FLEX_BIND>
    <PARAMETER_NAME>Payroll Type</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Payroll Type Name</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>
