PAY_NA_TAX_D_VW

(SQL View)
Index Back

Tax Distribution

NA Payroll Distribution - Tax Liability

SELECT A.COMPANY , A.PAYGROUP , A.PAY_END_DT , A.OFF_CYCLE , A.PAGE_NUM , A.LINE_NUM , A.ADDL_NBR , A.SEPCHK , A.STATE , A.LOCALITY , A.TAX_CLASS , A.WORK_PSD_CD , A.PY_LIABEXPFLG , A.ERNCD , A.ACCT_CD , B.BUSINESS_UNIT , B.EMPLID , B.EMPL_RCD , B.DEPTID , B.POSITION_NBR , B.JOBCODE , A.ACCOUNT , A.TAX_CUR FROM PS_PAY_NA_TAX_DIST A , PS_PAY_NA_EARNINGS B WHERE A.COMPANY = B.COMPANY AND A.PAYGROUP = B.PAYGROUP AND A.PAY_END_DT = B.PAY_END_DT AND A.OFF_CYCLE = B.OFF_CYCLE AND A.PAGE_NUM = B.PAGE_NUM AND A.LINE_NUM = B.LINE_NUM AND A.ADDL_NBR = B.ADDL_NBR AND A.SEPCHK = B.SEPCHK AND A.ERNCD = B.ERNCD AND A.PY_LIABEXPFLG IN ('L','R')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 COMPANY Character(3) VARCHAR2(3) NOT NULL Company

Prompt Table: COMPANY_TBL

2 PAYGROUP Character(3) VARCHAR2(3) NOT NULL Pay Group

Prompt Table: PAYGROUP_TBL

3 PAY_END_DT Date(10) DATE NOT NULL Pay Period End Date
4 OFF_CYCLE Character(1) VARCHAR2(1) NOT NULL Off Cycle ?
5 PAGE_NUM Number(4,0) SMALLINT NOT NULL Page #
6 LINE_NUM Number(2,0) SMALLINT NOT NULL Line #
7 ADDL_NBR Number(3,0) SMALLINT NOT NULL Additional Pay Line #
8 SEPCHK Number(1,0) SMALLINT NOT NULL Separate check number.
9 STATE Character(6) VARCHAR2(6) NOT NULL State
10 LOCALITY Character(10) VARCHAR2(10) NOT NULL Locality
11 TAX_CLASS Character(1) VARCHAR2(1) NOT NULL Tax Balance Class
12 WORK_PSD_CD Character(6) VARCHAR2(6) NOT NULL Locality
13 PY_LIABEXPFLG Character(1) VARCHAR2(1) NOT NULL Liability / Expense Flag
E=GL Expense
L=GL Liability
R=GL Employer's Liability
14 ERNCD Character(3) VARCHAR2(3) NOT NULL Earnings Code
15 ACCT_CD Character(25) VARCHAR2(25) NOT NULL Combination Code

Prompt Table: ACCT_CD_TBL

16 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
17 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
18 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
19 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
20 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number
21 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
22 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
23 TAX_CUR Signed Number(12,2) DECIMAL(10,2) NOT NULL Current Tax