<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: PQP Teachers Pension MCR Reconciliation Report (Excel) -->
 <REPORTS_ROW>
  <GUID>C6E085D471F351A9E05362FB09050512</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>			SELECT  distinct gm_asg_d.Action_information1 REC_ACT
			        ,gm_asg_d.Action_information2 ERR_NUM
					,&apos;=&quot;&apos; || gm_emp_d.Action_information2 || &apos;&quot;&apos; TRN  --Teachers Reference Number
					,gm_emp_d.Action_information3 NI_NUMBER  --National Insurance Number
					,gm_emp_d.Action_information4 FORE_NAME  --Forename
					,gm_emp_d.Action_information5 SURE_NAME   --Surname
					,gm_emp_d.Action_information6 GENDER     --Gender
					,&apos;=&quot;&apos; ||gm_emp_d.Action_information7 || &apos;&quot;&apos; DATE_OF_BIRTH       --Date of Birth
					,gm_adr.Action_information2  ADD1        --addr1
					,gm_adr.Action_information3  ADD2        --addr2
					,gm_adr.Action_information4  ADD3        --addr3
					,gm_adr.Action_information5  ADD4        --addr4
					,gm_adr.Action_information6  ADD5        --addr5
					,gm_adr.Action_information7 POST_CODE   --postcode
					,gm_emp_d.Action_information8 EMAIL      --Email Address
					,&apos;=&quot;&apos; ||gm_asg_d.Action_information3 || &apos;&quot;&apos; LOCAL_AUT_NO
					,&apos;=&quot;&apos; ||gm_asg_d.Action_information4 || &apos;&quot;&apos; EST_NUM
					,&apos;=&quot;&apos; || gm_asg_d.Action_information5 || &apos;&quot;&apos; UNI_ROLE_ID
					,gm_asg_d.Action_information6 ENROL_TYPE
					,&apos;=&quot;&apos; || gm_asg_d.Action_information7 || &apos;&quot;&apos; S_DATE
					,&apos;=&quot;&apos; || gm_asg_d.Action_information8 || &apos;&quot;&apos; E_DATE
					,gm_asg_d.Action_information9 WITH_CONF
					,gm_asg_d.Action_information10 DAYS_EXCLU 
					,gm_asg_d.Action_information11 PT_FT_IND
					,gm_contr.Action_information2 ANN_FULL_TIME_SAL_PTD
					,gm_contr.Action_information3 PART_TIME_EAR_PTD
					,gm_contr.Action_information4 OVERTIME_PTD
					,gm_contr.Action_information5 ADD_PEN_PAY_PTD					
					,gm_asg_d.Action_information12 ST_IND 
					,gm_contr.Action_information17 CALC_METHOD					
					,gm_contr.Action_information18 CONT_CALC_DATE					
					,gm_contr.Action_information6 ACT_PEN_PAY_PTD
					,gm_contr.Action_information7 PEN_OVER_PAID_PTD
					,gm_contr.Action_information8 NOT_PENS_PAY_PTD
					,gm_contr.Action_information9 EMP_CONTRIB_PTD
					,gm_contr.Action_information10 MEMB_CONTR_PTD
					,gm_contr.Action_information16 MEMB_CONT_PER_TIER 
					,gm_contr.Action_information11 ADD_PEN_CONT_PTD
					,gm_contr.Action_information12 FASTER_ACC_PTD
					,gm_contr.Action_information13 AAB_PTD
					,gm_contr.Action_information14 ADD_CONTR_PTD
					,gm_contr.Action_information15 PRESTON_PTD
					,gm_prev_con.Action_information2 EMP_CONTR_PREV_PTD
					,gm_prev_con.Action_information3 MEM_CONTR_PREV_PTD
					,gm_prev_con.Action_information6 ADD_PEN_CONT_PREV_PTD
					,gm_prev_con.Action_information4 FASTER_ACC_PREV_PTD
					,gm_prev_con.Action_information5 AAB_PREV_PTD
					,gm_prev_con.Action_information7 ADD_CONT_PREV_PTD
					,gm_adj_con.Action_information2  EMP_CONTR_ADJ
					,gm_adj_con.Action_information3  MEMB_CONTR_ADJ
					,gm_adj_con.Action_information4  ADD_PENS_CONTR_ADJ
					,gm_adj_con.Action_information5  FASTER_ACCR_ADJ
					,gm_adj_con.Action_information6  AAB_ADJ
					,gm_adj_con.Action_information7  ADD_CONTR_ADJ
			from pay_payroll_actions ppa
				,pay_assignment_actions paa 
				,pay_action_information gm_adr
				,pay_action_information gm_emp_d
				,pay_action_information gm_asg_d
				,pay_action_information gm_contr
				,pay_action_information gm_prev_con
				,pay_action_information gm_adj_con
			where
				paa.payroll_action_id = :P_PAYROLL_ACTION_ID
				AND gm_asg_d.ACTION_INFORMATION_CATEGORY=&apos;GB MCR ASG DETAILS&apos;
				AND gm_asg_d.action_context_id = paa.assignment_action_id				
                AND gm_asg_d.ACTION_CONTEXT_TYPE = &apos;AAP&apos;
                AND gm_adr.ACTION_INFORMATION_CATEGORY(+)=&apos;GB MCR ADDRESS DETAILS&apos;
				AND gm_adr.action_context_id (+)= paa.assignment_action_id
                AND gm_adr.ACTION_CONTEXT_TYPE (+)= &apos;AAP&apos;
				AND gm_emp_d.ACTION_INFORMATION_CATEGORY(+)=&apos;GB MCR EMPLOYEE DETAILS&apos;
				AND gm_emp_d.action_context_id(+) = gm_asg_d.action_context_id
                AND gm_emp_d.ACTION_CONTEXT_TYPE(+)= &apos;AAP&apos;
				AND gm_emp_d.ASSIGNMENT_ID(+) =gm_asg_d.ASSIGNMENT_ID
				AND gm_contr.ACTION_INFORMATION_CATEGORY=&apos;GB MCR CONTR DETAILS&apos;
				AND gm_contr.action_context_id = gm_asg_d.action_context_id
                AND gm_contr.ACTION_INFORMATION19 = gm_asg_d.ACTION_INFORMATION7
                AND gm_contr.ACTION_CONTEXT_TYPE = &apos;AAP&apos;
				AND gm_prev_con.ACTION_INFORMATION_CATEGORY(+)=&apos;GB MCR PREV CONTRIBUTIONS&apos;
				AND gm_prev_con.action_context_id (+)= gm_asg_d.action_context_id
                AND gm_prev_con.ACTION_INFORMATION8 (+)= gm_asg_d.ACTION_INFORMATION7
                AND gm_prev_con.ACTION_CONTEXT_TYPE (+)= &apos;AAP&apos;
				AND gm_adj_con.ACTION_INFORMATION_CATEGORY(+)=&apos;GB MCR ADJ CONTRIBUTIONS&apos;
				AND gm_adj_con.action_context_id (+)= gm_asg_d.action_context_id
                AND gm_adj_con.ACTION_INFORMATION8 (+)= gm_asg_d.ACTION_INFORMATION7
                AND gm_adj_con.ACTION_CONTEXT_TYPE(+) = &apos;AAP&apos;
</SQL_TEXT>
  <XDO_APPLICATION_SHORT_NAME>PQP</XDO_APPLICATION_SHORT_NAME>
  <XDO_DATA_SOURCE_CODE>PQPGBMCRREP_XLS</XDO_DATA_SOURCE_CODE>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>PQP Teachers Pension MCR Reconciliation Report (Excel)</REPORT_NAME>
    <DESCRIPTION>Imported from BI Publisher
Description: Teachers Pension MCR Reconciliation Report (PDF)
Application: Public Sector Payroll
Source: Teachers Pension MCR Reconciliation Report (Excel)
Short Name: PQPGBMCRREP_XLS
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_payroll_action_id</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>:p_payroll_action_id</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>PQP_GB_SRS_MCR_ARCH_ACTIONS</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
payroll_action_id id,
request_id value,
null description
from
pay_payroll_actions a
where a.report_type=&apos;PQP_GB_MCR&apos;
and a.report_qualifier=&apos;GB&apos;
and a.report_category in(&apos;XML&apos;)
and a.action_status=&apos;C&apos;
and a.action_type=&apos;X&apos;
and a.business_group_id+0=fnd_global.per_business_group_id
and (select count(1) from pay_assignment_actions ppa where ppa.payroll_action_id=a.payroll_action_id and ppa.action_status=&apos;C&apos;)&gt;0
order by a.effective_date desc,a.request_id desc</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Archiver Request ID</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>
