PAY SuperStream Contribution Report Alternative Format

Description
Categories: BI Publisher
Application: Payroll
Source: SuperStream Contribution Report Alternative Format
Short Name: PYAUSUPCONTRCSV_XSLFO
DB package: PAY_AU_SUPER_STREAM_ARCHIVE

Download Blitz Report™ – World’s fastest reporting and data upload for Oracle EBS

Contact us to schedule a demo or if you need help with the installation

SELECT PAI_ASG.ASSIGNMENT_ID PAI_ASG_ASSIGNMENT_ID,
       'EMPLOYEE'||PAI_ASG.ACTION_INFORMATION6 EMPLOYEE_CONTEXT_ID,
       PAI_ASG.ACTION_INFORMATION7 PAI_ASG_TFN_NOT_PROVIDED,
       PAI_ASG.ACTION_INFORMATION8 PAI_ASG_TFN,
       PAI_ASG.ACTION_INFORMATION9 PAI_ASG_FIRST_NAME,
       PAI_ASG.ACTION_INFORMATION10 PAI_ASG_FAMILY_NAME,
       PAI_ASG.ACTION_INFORMATION25 PAI_ASG_MIDDLE_NAME,
       PAI_ASG.ACTION_INFORMATION22 PAI_ASG_TITLE,
       PAI_ASG.ACTION_INFORMATION11 PAI_ASG_DOB,
       PAI_ASG.ACTION_INFORMATION12 PAI_ASG_SEX,
       'RES' PAI_ASG_ADDRESS_USAGE,
       PAI_ASG.ACTION_INFORMATION13 PAI_ASG_ADDRESS_LINE1,
       PAI_ASG.ACTION_INFORMATION14 PAI_ASG_ADDRESS_LINE2,
       PAI_ASG.ACTION_INFORMATION15 PAI_ASG_LOCALITY,
       PAI_ASG.ACTION_INFORMATION16 PAI_ASG_STATE,
       PAI_ASG.ACTION_INFORMATION17 PAI_ASG_COUNTRY,
       PAI_ASG.ACTION_INFORMATION18 PAI_ASG_POSTRAL_CODE,
       PAI_ASG.ACTION_INFORMATION19 PAI_ASG_EMPLOYEE_NUMBER,
       PAI_ASG.ACTION_INFORMATION20 PAI_ASG_TERM_DATE,
       PAI_ASG.ACTION_INFORMATION21 PAI_ASG_TERM_REASON,
       PAI_ASG.ACTION_INFORMATION23 PAI_ASG_MEMBER_NO,
       PAI_DB.ACTION_INFORMATION9 PAI_DB_ORD_TIME_EARN,
       PAI_DB.ACTION_INFORMATION10 PAI_DB_ACT_PTD_SAL,
       PAI_DB.ACTION_INFORMATION11 PAI_DB_SUP_ALLOW_PAID,
       PAI_DB.ACTION_INFORMATION12 PAI_DB_NOT_SUP_ALLOW,
       PAI_DB.ACTION_INFORMATION13 PAI_DB_SERV_FRAC,
       PAI_DB.ACTION_INFORMATION14 PAI_DB_SERV_FRAC_DATE,
       PAI_DB.ACTION_INFORMATION15 PAI_DB_FULL_TIME_HR,
       PAI_DB.ACTION_INFORMATION16 PAI_DB_CONTR_HR,
       PAI_DB.ACTION_INFORMATION17 PAI_DB_ACT_HR_PAID,
       PAI_DB.ACTION_INFORMATION18 PAI_DB_EMP_LOC_ID,
       :P_START_DATE PAI_ASG_PERIOD_START_DATE,
       :P_END_DATE PAI_ASG_PERIOD_END_DATE
 FROM PAY_ACTION_INFORMATION PAI_ASG, 
      PAY_ACTION_INFORMATION PAI_DB
 WHERE PAI_ASG.ACTION_CONTEXT_ID = :P_PAYROLL_ACTION_ID
 AND PAI_ASG.ACTION_INFORMATION_CATEGORY = 'AU_SUPER_STREAM_CONTR_EMP'
 AND PAI_ASG.ACTION_CONTEXT_TYPE = 'PA'
 AND PAI_ASG.ACTION_INFORMATION1 = :P_SUPER_FUND_NAME
 AND PAI_ASG.ACTION_INFORMATION2 = :P_SUPER_FUND_USI
 AND PAI_ASG.TAX_UNIT_ID = :P_LEGAL_EMPLOYER
 AND PAI_DB.ACTION_CONTEXT_ID(+) = PAI_ASG.ACTION_CONTEXT_ID
 AND PAI_DB.ASSIGNMENT_ID(+) = PAI_ASG.ASSIGNMENT_ID
 AND PAI_DB.ACTION_CONTEXT_TYPE(+) = 'PA'
 AND PAI_DB.ACTION_INFORMATION_CATEGORY(+) = 'AU_SUPER_STREAM_DB_CONTR_INFO'
 AND PAI_DB.ACTION_INFORMATION1(+) = :P_SUPER_FUND_NAME
 AND PAI_DB.ACTION_INFORMATION2(+) = :P_SUPER_FUND_USI
ORDER BY EMPLOYEE_CONTEXT_ID