<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 Generate Employer Quarterly Tax Returns (India) - Excel -->
 <REPORTS_ROW>
  <GUID>82288223F2EE3869E053B46B63588994</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>SELECT  action_context_id SD_ACTION_CONTEXT_ID
	   ,:BH_BATCH_NUM SD_BH_BATCH_NUM			  
       ,source_id SD_SOURCE_ID
       ,emp_person_id SD_EMP_PERSON_ID
       ,sal_rec_index SD_SAL_REC_INDEX
       ,emp_pan SD_EMP_PAN
       ,emp_pan_ref SD_EMP_PAN_REF
       ,emp_full_name SD_EMP_FULL_NAME
       ,emp_designation SD_EMP_DESIGNATION
	   ,emp_category SD_EMP_CATEGORY
	   ,DECODE(emp_category,&apos;W&apos;,&apos;Women&apos;,&apos;S&apos;,&apos;Senior Citizen&apos;,&apos;O&apos;,&apos;Super Senior Citizen&apos;,&apos;Others&apos;) SD_REP_EMP_CATEGORY
       ,to_char (emp_start_date
                ,&apos;DDMMYYYY&apos;) SD_EMP_START_DATE
       ,fnd_date.date_to_displaydate (emp_start_date) SD_REP_EMP_START_DATE
       ,to_char (emp_end_date
                ,&apos;DDMMYYYY&apos;) SD_EMP_END_DATE
       ,fnd_date.date_to_displaydate (emp_end_date) SD_REP_EMP_END_DATE
       ,chapter_via_count sd_chapter_via_count
       ,f16_sec17_sal + f16_profit_lieu - f16_alw_exem + l_prev_earnings SD_335
       ,(CASE
        WHEN    ent_alw &lt;&gt; 0
                THEN    CASE
                        WHEN    employment_tax &lt;&gt; 0
                                THEN    2
                        ELSE    1 END
        ELSE    CASE
                WHEN    employment_tax &lt;&gt; 0
                        THEN    1
                ELSE    0 END END) SD_SECTION_16_COUNT
       ,f16_dec_sec16 SD_336_337
       ,f16_inc_head_sal + l_prev_earnings SD_338
       ,f16_other_inc SD_339
       ,f16_gross_tot_inc + l_prev_earnings SD_340
       ,chapter_via_count SD_CHAPTER_VIA_COUNT
       ,f16_tot_chap_via SD_F16_TOT_CHAP_VIA
       ,f16_tot_inc + l_prev_earnings SD_344
       ,f16_tax_on_tot_inc - f16_marginal_relief SD_345
       ,l_sur SD_SURCHARGE
       ,l_cess SD_346
       ,f16_relief_89 SD_347
       ,f16_total_tax_pay SD_348
       ,CASE
        WHEN    nvl(l_fund_tax_paid,0) &lt;&gt; 0
                THEN    l_tot_tds + l_prev_sur + l_prev_tds + l_prev_cess + l_prev_he_cess + l_fund_tax_paid
        ELSE    l_tot_tds + l_prev_sur + l_prev_tds + l_prev_cess + l_prev_he_cess  END SD_351
       ,CASE
        WHEN    nvl(l_fund_tax_paid,0) &lt;&gt; 0
                THEN    f16_total_tax_pay - l_tot_tds - l_fund_tax_paid
        ELSE    f16_total_tax_pay - l_tot_tds  END SD_352
       ,f16_sec17_sal + f16_profit_lieu - f16_alw_exem + f16_perq_value SD_333
       ,l_prev_earnings SD_334
       ,l_tot_tds SD_349
       ,l_prev_sur + l_prev_tds + l_prev_cess + l_prev_he_cess SD_353
       ,decode (emp_pan
               ,&apos;PANNOTAVBL&apos;
               ,&apos;Y&apos;
               ,&apos;N&apos;) SD_354
	   ,hr_general.decode_lookup(&apos;YES_NO&apos;,decode (emp_pan,&apos;PANNOTAVBL&apos;,&apos;Y&apos;,&apos;N&apos;)) SD_REP_354		   
       ,l_annual_rent SD_357
	   ,hr_general.decode_lookup(&apos;YES_NO&apos;,l_annual_rent) SD_REP_357
       ,l_landlord_pan_count SD_LANDLORD_PAN_COUNT
       ,l_landlord_pan1 SD_LANDLORD_PAN1
       ,l_landlord_name1 SD_LANDLORD_NAME1
       ,l_landlord_pan2 SD_LANDLORD_PAN2
       ,l_landlord_name2 SD_LANDLORD_NAME2
       ,l_landlord_pan3 SD_LANDLORD_PAN3
       ,l_landlord_name3 SD_LANDLORD_NAME3
       ,l_landlord_pan4 SD_LANDLORD_PAN4
       ,l_landlord_name4 SD_LANDLORD_NAME4
       ,l_lender_interest SD_LENDER_INTEREST
	   ,hr_general.decode_lookup(&apos;YES_NO&apos;,l_lender_interest) SD_REP_LENDER_INTEREST
       ,l_lender_pan_count SD_LENDER_PAN_COUNT
       ,l_lender_pan1 SD_LENDER_PAN1
       ,l_lender_name1 SD_LENDER_NAME1
       ,l_lender_pan2 SD_LENDER_PAN2
       ,l_lender_name2 SD_LENDER_NAME2
       ,l_lender_pan3 SD_LENDER_PAN3
       ,l_lender_name3 SD_LENDER_NAME3
       ,l_lender_pan4 SD_LENDER_PAN4
       ,l_lender_name4 SD_LENDER_NAME4
       ,l_super_annuation SD_SUPER_ANNUATION
	   ,hr_general.decode_lookup(&apos;YES_NO&apos;,l_super_annuation) SD_REP_SUPER_ANNUATION
       ,l_fund_name SD_FUND_NAME
       ,l_fund_start SD_FUND_START
       ,l_fund_end SD_FUND_END
       ,l_fund_repaid SD_FUND_REPAID
       ,l_fund_tax_rate SD_FUND_TAX_RATE
       ,l_fund_tax_paid SD_FUND_TAX_PAID
       ,CASE
        WHEN    l_super_annuation = &apos;Y&apos;
                THEN    to_number(f16_gross_tot_inc) + to_number(l_prev_earnings) + to_number(l_fund_repaid)
        ELSE    to_number(l_fund_repaid) END SD_INCOME_WITH_FUND
	   ,EMPLOYMENT_TAX SD_EMPLOYMENT_TAX
       ,ENT_ALW SD_ENT_ALW 	   
FROM    (
        SELECT  action_context_id action_context_id
               ,source_id source_id
               ,action_information1 emp_person_id
               ,action_information11 sal_rec_index
               ,action_information4 emp_pan
               ,action_information5 emp_pan_ref
               ,substr (action_information6
                       ,1
                       ,75) emp_full_name
               ,substr (action_information8
                       ,1
                       ,15) emp_designation
			   ,fnd_date.canonical_to_date (action_information9) emp_start_date
               ,fnd_date.canonical_to_date (action_information10) emp_end_date
               ,pay_in_24q_er_returns.chapter_via_rec_count (action_context_id
                                                            ,source_id) chapter_via_count
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Salary Under Section 17&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_sec17_sal
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Profit in lieu of Salary&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_profit_lieu
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Excess Interest Amount&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) excess_interest
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Excess PF Amount&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) excess_pf
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Allowance Amount&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) allowance_amount
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Allowances Exempt&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_alw_exem
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Value of Perquisites&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_perq_value
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Gross Salary less Allowances&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_gross_less_alw
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Deductions under Sec 16&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_dec_sec16
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Income Chargeable Under head Salaries&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_inc_head_sal
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Other Income&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_other_inc
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Gross Total Income&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_gross_tot_inc
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Total Income&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_tot_inc
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Tax on Total Income&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_tax_on_tot_inc
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Total Tax payable&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_total_tax_pay
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Relief under Sec 89&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_relief_89
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Marginal Relief&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_marginal_relief
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Total Chapter VI A Deductions&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) f16_tot_chap_via
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Entertainment Allowance&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) ent_alw
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Employment Tax&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) employment_tax
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_PERQ&apos;
                                                     ,&apos;Employee Contribution for Company Accommodation&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2) comp_acc_emp_contri
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_PERQ&apos;
                                                     ,&apos;Cost and Rent of Furniture&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2) cost_rent_fur
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_PERQ&apos;
                                                     ,&apos;Company Accommodation&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2) comp_acc
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_PERQ&apos;
                                                     ,&apos;Furniture Perquisite&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2) fur_perq
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_PERQ&apos;
                                                     ,&apos;Monthly Furniture Cost&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2) month_fur_cost
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_PERQ&apos;
                                                     ,&apos;Domestic and Personal Services Perquisite&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2) domestic_personal_perq
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_PERQ&apos;
                                                     ,&apos;Motor Car Perquisite&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2) car
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_PERQ&apos;
                                                     ,&apos;Leave Travel Concession&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2) ltc
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_PERQ&apos;
                                                     ,&apos;Other Perquisites&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2) other_perq
               ,:P_QUARTER period5
               ,pay_in_24q_er_returns.get_emp_category (assignment_id
                                                       ,fnd_date.canonical_to_date (action_information10)) emp_category
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Surcharge&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) l_sur
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 Education Cess&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) l_cess
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;F16 TDS&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) l_tot_tds
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;CESS on Previous Employment&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) l_prev_cess
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Sec and HE Cess on Previous Employment&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) l_prev_he_cess
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;SC on Previous Employment&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) l_prev_sur
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Previous Employment Earnings&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) l_prev_earnings
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;TDS on Previous Employment&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1) l_prev_tds
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Aggregate Rent&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_annual_rent
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lanlord PAN Count&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_landlord_pan_count
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lanlord 1&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,1) l_landlord_pan1
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lanlord 1&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2
                                                     ,1) l_landlord_name1
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lanlord 2&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,2) l_landlord_pan2
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lanlord 2&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2
                                                     ,2) l_landlord_name2
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lanlord 3&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,3) l_landlord_pan3
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lanlord 3&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2
                                                     ,3) l_landlord_name3
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lanlord 4&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,4) l_landlord_pan4
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lanlord 4&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2
                                                     ,4) l_landlord_name4
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Interest paid&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_lender_interest
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lender PAN Count&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_lender_pan_count
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lender 1&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,1) l_lender_pan1
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lender 1&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2
                                                     ,1) l_lender_name1
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lender 2&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,2) l_lender_pan2
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lender 2&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2
                                                     ,2) l_lender_name2
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lender 3&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,3) l_lender_pan3
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lender 3&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2
                                                     ,3) l_lender_name3
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lender 4&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,4) l_lender_pan4
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Lender 4&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,2
                                                     ,4) l_lender_name4
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Superannuation Fund&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_super_annuation
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Fund Name&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_fund_name
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Contribution Start Date&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_fund_start
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Contribution End Date&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_fund_end
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Fund Amount Repaid&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_fund_repaid
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Avg Tax Rate of Prev 3 FYs&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_fund_tax_rate
               ,pay_in_24q_er_returns.get_24q_values (&apos;IN_24Q_SALARY&apos;
                                                     ,&apos;Tax Deducted on Fund&apos;
                                                     ,action_context_id
                                                     ,source_id
                                                     ,1
                                                     ,NULL) l_fund_tax_paid
        FROM    pay_action_information
        WHERE   action_information_category = &apos;IN_24Q_PERSON&apos;
        AND     action_context_type = &apos;AAP&apos;
        AND     action_information2 = :P_ASSESSMENT_YEAR
                                      || :P_QUARTER
        AND     action_information3 = :P_GRE_ORGANIZATION
        AND     action_context_id IN
                (
                SELECT  max (pai.action_context_id)
                FROM    pay_action_information pai
                       ,pay_assignment_actions paa
                       ,per_assignments_f asg
                WHERE   pai.action_information_category = &apos;IN_24Q_PERSON&apos;
                AND     pai.action_context_type = &apos;AAP&apos;
                AND     pai.action_information1 = asg.person_id
                AND     pai.action_information2 = :P_ASSESSMENT_YEAR
                                                  || :P_QUARTER
                AND     pai.action_information3 = :P_GRE_ORGANIZATION
                AND     pai.source_id = paa.assignment_action_id
                AND     pai.assignment_id = asg.assignment_id
                GROUP BY pai.assignment_id
                        ,pai.action_information1
                        ,pai.action_information9
                )
        ORDER BY fnd_number.canonical_to_number (action_information11) ASC
        ) sal
</SQL_TEXT>
  <XDO_APPLICATION_SHORT_NAME>PAY</XDO_APPLICATION_SHORT_NAME>
  <XDO_DATA_SOURCE_CODE>PAYINF24Q</XDO_DATA_SOURCE_CODE>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>PAY Generate Employer Quarterly Tax Returns (India) - Excel</REPORT_NAME>
    <DESCRIPTION>Application: Payroll
Source: Generate Employer Quarterly Tax Returns (India) - Excel
Short Name: PAYINF24Q
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>:bh_batch_num</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_assessment_year</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_gre_organization</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_quarter</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
  </PARAMETERS>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
