DBA Data[Home] [Help]

VIEW: APPS.PAYBV_US_COUNTY_ARCHIVE

Source

View Text - Preformatted

SELECT pai.action_context_id action_number, pai.tax_unit_id, pai.effective_date, pai.assignment_id, pai.jurisdiction_code, pay_us_employee_payslip_web.get_jurisdiction_name(pai.jurisdiction_code) jurisdiction_name, pay_ac_util.get_state_abbrev(pai.jurisdiction_code) state, nvl( to_number(pai.action_information7),0) County_Gross, nvl(to_number(pai.action_information1),0) County_Withheld, nvl(to_number(pai.action_information2),0) County_Subj_Whable, nvl(to_number(pai.action_information3),0) County_Subj_NWable, nvl(to_number(pai.action_information4),0) County_Pre_Tax_Redns, nvl(to_number(pai.action_information2), 0) + nvl(to_number(pai.action_information3), 0) County_Subject, nvl(to_number(pai.action_information2), 0) - nvl(to_number(pai.action_information4), 0) County_Reduced_Subject, nvl(to_number(pai.action_information5),0) Head_Tax_Liability, nvl(to_number(pai.action_information6),0) Head_Tax_Withheld, pai.action_information30 non_resident_flag from pay_action_information pai WHERE pai.action_information_category = 'US COUNTY' with read only
View Text - HTML Formatted

SELECT PAI.ACTION_CONTEXT_ID ACTION_NUMBER
, PAI.TAX_UNIT_ID
, PAI.EFFECTIVE_DATE
, PAI.ASSIGNMENT_ID
, PAI.JURISDICTION_CODE
, PAY_US_EMPLOYEE_PAYSLIP_WEB.GET_JURISDICTION_NAME(PAI.JURISDICTION_CODE) JURISDICTION_NAME
, PAY_AC_UTIL.GET_STATE_ABBREV(PAI.JURISDICTION_CODE) STATE
, NVL( TO_NUMBER(PAI.ACTION_INFORMATION7)
, 0) COUNTY_GROSS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION1)
, 0) COUNTY_WITHHELD
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION2)
, 0) COUNTY_SUBJ_WHABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION3)
, 0) COUNTY_SUBJ_NWABLE
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION4)
, 0) COUNTY_PRE_TAX_REDNS
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION2)
, 0) + NVL(TO_NUMBER(PAI.ACTION_INFORMATION3)
, 0) COUNTY_SUBJECT
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION2)
, 0) - NVL(TO_NUMBER(PAI.ACTION_INFORMATION4)
, 0) COUNTY_REDUCED_SUBJECT
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION5)
, 0) HEAD_TAX_LIABILITY
, NVL(TO_NUMBER(PAI.ACTION_INFORMATION6)
, 0) HEAD_TAX_WITHHELD
, PAI.ACTION_INFORMATION30 NON_RESIDENT_FLAG
FROM PAY_ACTION_INFORMATION PAI
WHERE PAI.ACTION_INFORMATION_CATEGORY = 'US COUNTY' WITH READ ONLY