DBA Data[Home] [Help]

VIEW: APPS.PAYBV_US_STATE_ARCHIVE

Source

View Text - Preformatted

SELECT pai.action_context_id action_number, pai.tax_unit_id, pai.effective_date effective_date, pai.assignment_id, pai.jurisdiction_code, pay_us_employee_payslip_web.get_jurisdiction_name(pai.jurisdiction_code) jurisdiction_name, nvl(to_number(pai.action_information17),0) SIT_Gross, nvl(to_number(pai.action_information2 ),0) SIT_Subj_Whable, nvl(to_number(pai.action_information3 ),0) SIT_Subj_NWhable, nvl(to_number(pai.action_information4 ),0) SIT_Pre_Tax_Redns , nvl(to_number(pai.action_information2 ), 0) + nvl(to_number(pai.action_information3 ), 0) SIT_Subject, nvl(to_number(pai.action_information2 ), 0) - nvl(to_number(pai.action_information4 ), 0) SIT_Reduced_Subject, nvl(to_number(pai.action_information1 ),0) SIT_Withheld, nvl(to_number(pai.action_information26 ),0) SDI_EE_Gross, nvl(to_number(pai.action_information6 ),0) SDI_EE_Taxable, nvl(to_number(pai.action_information7 ),0) SDI_EE_Subj_Whable, nvl(to_number(pai.action_information8 ),0) SDI_EE_Pre_Tax_Redns, nvl(to_number(pai.action_information7 ), 0) - nvl(to_number(pai.action_information8 ), 0) SDI_EE_Reduced_Subject, nvl(to_number(pai.action_information5 ),0) SDI_EE_Withheld, nvl(to_number(pai.action_information27 ),0) SDI_ER_Gross, nvl(to_number(pai.action_information10),0) SDI_ER_Taxable, nvl(to_number(pai.action_information11),0) SDI_ER_Subj_Whable, nvl(to_number(pai.action_information12) ,0) SDI_ER_Pre_Tax_Redns, nvl(to_number(pai.action_information11), 0) - nvl(to_number(pai.action_information12), 0) SDI_ER_Reduced_Subject, nvl(to_number(pai.action_information9 ),0) SDI_ER_Liability, nvl(to_number(pai.action_information28) ,0) SUI_EE_Gross, nvl(to_number(pai.action_information14),0) SUI_EE_Taxable, nvl( to_number(pai.action_information15),0) SUI_EE_Subj_Whable, nvl(to_number(pai.action_information16),0) SUI_EE_Pre_Tax_Redns, nvl(to_number(pai.action_information15), 0) - nvl(to_number(pai.action_information16), 0) SUI_EE_Reduced_Subject, nvl( to_number(pai.action_information13),0) SUI_EE_Withheld, nvl(to_number(pai.action_information29),0) SUI_ER_Gross, nvl(to_number(pai.action_information18),0) SUI_ER_Taxable, nvl(to_number(pai.action_information19) ,0) SUI_ER_Subj_Whable, nvl(to_number(pai.action_information20),0) SUI_ER_Pre_Tax_Redns, nvl(to_number(pai.action_information19), 0) - nvl(to_number(pai.action_information20), 0) SUI_ER_Reduced_Subject, nvl(to_number(pai.action_information21),0) SUI_ER_Liability, nvl(to_number(pai.action_information22),0) Workers_Comp_Withheld, nvl(to_number(pai.action_information23),0) Workers_Comp2_Withheld, nvl(to_number(pai.action_information24),0) Workers_Comp2_ER, nvl(to_number(pai.action_information25),0) Workers_Comp3_ER from pay_action_information pai WHERE pai.action_information_category = 'US STATE' WITH READ ONLY
View Text - HTML Formatted

SELECT PAI.ACTION_CONTEXT_ID ACTION_NUMBER
, PAI.TAX_UNIT_ID
, PAI.EFFECTIVE_DATE EFFECTIVE_DATE
, PAI.ASSIGNMENT_ID
, PAI.JURISDICTION_CODE
, PAY_US_EMPLOYEE_PAYSLIP_WEB.GET_JURISDICTION_NAME(PAI.JURISDICTION_CODE) JURISDICTION_NAME
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION17)
, 0) SIT_GROSS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION2 )
, 0) SIT_SUBJ_WHABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION3 )
, 0) SIT_SUBJ_NWHABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION4 )
, 0) SIT_PRE_TAX_REDNS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION2 )
, 0) + NVL(TO_NUMBER(PAI.ACTION_INFORMATION3 )
, 0) SIT_SUBJECT
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION2 )
, 0) - NVL(TO_NUMBER(PAI.ACTION_INFORMATION4 )
, 0) SIT_REDUCED_SUBJECT
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION1 )
, 0) SIT_WITHHELD
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION26 )
, 0) SDI_EE_GROSS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION6 )
, 0) SDI_EE_TAXABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION7 )
, 0) SDI_EE_SUBJ_WHABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION8 )
, 0) SDI_EE_PRE_TAX_REDNS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION7 )
, 0) - NVL(TO_NUMBER(PAI.ACTION_INFORMATION8 )
, 0) SDI_EE_REDUCED_SUBJECT
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION5 )
, 0) SDI_EE_WITHHELD
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION27 )
, 0) SDI_ER_GROSS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION10)
, 0) SDI_ER_TAXABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION11)
, 0) SDI_ER_SUBJ_WHABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION12)
, 0) SDI_ER_PRE_TAX_REDNS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION11)
, 0) - NVL(TO_NUMBER(PAI.ACTION_INFORMATION12)
, 0) SDI_ER_REDUCED_SUBJECT
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION9 )
, 0) SDI_ER_LIABILITY
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION28)
, 0) SUI_EE_GROSS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION14)
, 0) SUI_EE_TAXABLE
, NVL( TO_NUMBER(PAI.ACTION_INFORMATION15)
, 0) SUI_EE_SUBJ_WHABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION16)
, 0) SUI_EE_PRE_TAX_REDNS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION15)
, 0) - NVL(TO_NUMBER(PAI.ACTION_INFORMATION16)
, 0) SUI_EE_REDUCED_SUBJECT
, NVL( TO_NUMBER(PAI.ACTION_INFORMATION13)
, 0) SUI_EE_WITHHELD
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION29)
, 0) SUI_ER_GROSS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION18)
, 0) SUI_ER_TAXABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION19)
, 0) SUI_ER_SUBJ_WHABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION20)
, 0) SUI_ER_PRE_TAX_REDNS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION19)
, 0) - NVL(TO_NUMBER(PAI.ACTION_INFORMATION20)
, 0) SUI_ER_REDUCED_SUBJECT
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION21)
, 0) SUI_ER_LIABILITY
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION22)
, 0) WORKERS_COMP_WITHHELD
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION23)
, 0) WORKERS_COMP2_WITHHELD
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION24)
, 0) WORKERS_COMP2_ER
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION25)
, 0) WORKERS_COMP3_ER
FROM PAY_ACTION_INFORMATION PAI
WHERE PAI.ACTION_INFORMATION_CATEGORY = 'US STATE' WITH READ ONLY