GPTH_RPT_PER_VW

(SQL View)
Index Back

Personal Report View

Personal Report View

SELECT A.EMPLID , A.CAL_RUN_ID , A.EMPL_RCD , A.GP_PAYGROUP , A.CAL_ID , A.ORIG_CAL_RUN_ID , A.RSLT_SEG_NUM , A.GP_RPT_KEY , B.PIN_NUM , C3.PHONE_TYPE , B.INSTANCE , C1.NAME_TITLE , C1.NAME_PREFIX , C1.GPTH_NAME1 , C1.FIRST_NAME , C1.MIDDLE_NAME , C1.LAST_NAME , C3.BIRTHDATE , C2.ADDRESS1 , C2.ADDRESS2 , C2.ADDRESS3 , C2.ADDRESS4 , C2.CITY , C2.HOUSE_TYPE , C2.COUNTY , C2.STATE , C2.POSTAL , D.ADDRESS1 , D.ADDRESS2 , D.ADDRESS3 , D.ADDRESS4 , D.CITY , D.COUNTY , D.COUNTRY , D.STATE , D.POSTAL , C3.COUNTRY_CODE , C3.PHONE , C3.EXTENSION , C3.GPTH_HOME_PHONE_TY , C3.HOME_PHONE , C3.GPTH_HOME_EXT , C3.NATIONAL_ID , C3.GPTH_PER_TAX_ID , A.PROCESS_INSTANCE , A.OFF_CYCLE , A.PRD_BGN_DT , A.PRD_END_DT , A.SEG_BGN_DT , A.SEG_END_DT , A.PYMT_DT , A.CAL_PRD_ID , A.COUNTRY , A.PIN_GROSS_VAL , A.PIN_NET_VAL , A.CURRENCY_CD , A.CUR_RT_TYPE , A.RUN_TYPE , A.PAY_ENTITY , A.BUSINESS_UNIT , A.COMPANY , A.ESTABID , A.SETID_DEPT , A.DEPTID , A.SETID_LOCATION , A.LOCATION , A.GPTH_GOV , I.GPTH_SEQ_NUM , G.GPTH_TAX_ID , G.GPTH_TAX_BRANCH , G.GPTH_TAX_ID_L , G1.GPTH_TAX_ID , G1.GPTH_TAX_BRANCH , G1.GPTH_TAX_ID_L , F.GPTH_SI_ER_PER , F.GPTH_SI_ER_ACCT , H.GPTH_SI_BRANCH_NO , B.ACM_FROM_DT , B.ACM_THRU_DT , B.SLICE_BGN_DT , B.SLICE_END_DT , %Round(B.CALC_RSLT_VAL ,2) , B.BASE_RSLT_VAL , B.RATE_RSLT_VAL , B.UNIT_RSLT_VAL , B.PCT_RSLT_VAL , B.RSLT_ADD_ARR , B.RSLT_NOT_TKN , B.RSLT_PAYBK , B.RSLT_XFER_VAL , B.BASE_ADJ_VAL , B.CALC_ADJ_VAL , B.UNIT_ADJ_VAL , B.USER_ADJ_VAL , B.USER_KEY1 , B.USER_KEY2 , B.USER_KEY3 , B.USER_KEY4 , B.USER_KEY5 , B.USER_KEY6 , B.PIN_TYPE , B.PIN_NM , B.PIN_CODE ,B.PIN_CUSTOM1 FROM PS_GPTH_RPT_G_VW A LEFT OUTER JOIN PS_GPTH_COMPANY_VW D ON ( A.COMPANY = D.COMPANY AND A.PROCESS_INSTANCE=D.PROCESS_INSTANCE AND A.EMPLID=D.EMPLID) LEFT OUTER JOIN PS_GPTH_SI_COMP_VW F ON (A.COMPANY=F.COMPANY AND A.PROCESS_INSTANCE=F.PROCESS_INSTANCE AND A.EMPLID=F.EMPLID) LEFT OUTER JOIN PS_GPTH_TX_BRN_VW1 G ON (A.COMPANY=G.COMPANY AND A.PROCESS_INSTANCE=G.PROCESS_INSTANCE AND A.EMPLID=G.EMPLID) LEFT OUTER JOIN PS_GPTH_TAX_BRN_VW G1 ON (A.COMPANY=G1.COMPANY AND A.PROCESS_INSTANCE=G1.PROCESS_INSTANCE AND A.EMPLID=G1.EMPLID) LEFT OUTER JOIN PS_GPTH_SI_PYE_VW H ON (A.EMPLID=H.EMPLID AND A.PROCESS_INSTANCE=H.PROCESS_INSTANCE) LEFT OUTER JOIN PS_GPTH_TX_ALOW_VW I ON (A.EMPLID=I.EMPLID AND A.PROCESS_INSTANCE=I.PROCESS_INSTANCE) LEFT OUTER JOIN PS_GPTH_PERSON_NM C1 ON (A.EMPLID=C1.EMPLID AND A.PROCESS_INSTANCE=C1.PROCESS_INSTANCE)LEFT OUTER JOIN PS_GPTH_PER_ADDR C2 ON (A.EMPLID=C2.EMPLID AND A.PROCESS_INSTANCE=C2.PROCESS_INSTANCE) ,PS_GPTH_RPT_D_VW B ,PS_GPTH_PERSON_VW C3 WHERE A.PROCESS_INSTANCE = B.PROCESS_INSTANCE AND A.EMPLID = B.EMPLID AND A.CAL_RUN_ID = B.CAL_RUN_ID AND A.EMPL_RCD = B.EMPL_RCD AND A.GP_PAYGROUP = B.GP_PAYGROUP AND A.CAL_ID = B.CAL_ID AND A.ORIG_CAL_RUN_ID = B.ORIG_CAL_RUN_ID AND A.RSLT_SEG_NUM = B.RSLT_SEG_NUM AND A.GP_RPT_KEY = B.GP_RPT_KEY AND A.EMPLID=C3.EMPLID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Calendar Run Id
3 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
4 GP_PAYGROUP Character(10) VARCHAR2(10) NOT NULL Global Payroll pay group
5 CAL_ID Character(18) VARCHAR2(18) NOT NULL calendar id
6 ORIG_CAL_RUN_ID Character(18) VARCHAR2(18) NOT NULL Original Calendar Group ID
7 RSLT_SEG_NUM Number(4,0) SMALLINT NOT NULL Result Segment Number
8 GP_RPT_KEY Character(22) VARCHAR2(22) NOT NULL Output Result Key
9 PIN_NUM Number(8,0) INTEGER NOT NULL PIN Number
10 PHONE_TYPE Character(4) VARCHAR2(4) NOT NULL Phone Type
BUSN=Business
CAMP=Campus
CELL=Mobile
DORM=Dormitory
FAX=FAX
HOME=Home
MAIN=Main
OTR=Other
PGR1=Pager 1
PGR2=Pager 2
TELX=Telex
WORK=Work
11 INSTANCE Number(3,0) SMALLINT NOT NULL Instance Number
12 NAME_TITLE Character(30) VARCHAR2(30) NOT NULL Name Title
13 NAME_PREFIX Character(4) VARCHAR2(4) NOT NULL Name Prefix
14 GPTH_NAME1 Character(80) VARCHAR2(80) NOT NULL Tax-Payee's First Name
15 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
16 MIDDLE_NAME Character(30) VARCHAR2(30) NOT NULL MIDDLE_NAME
17 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
18 BIRTHDATE Date(10) DATE Date of Birth
19 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
20 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
21 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
22 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
23 CITY Character(30) VARCHAR2(30) NOT NULL City
24 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat Reference
WW=House Trailer Reference
25 COUNTY Character(30) VARCHAR2(30) NOT NULL County
26 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: STATE_TBL

27 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
28 GPTH_COMP_ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
29 GPTH_COMP_ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
30 GPTH_COMP_ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
31 GPTH_COMP_ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
32 GPTH_COMP_CITY Character(30) VARCHAR2(30) NOT NULL City
33 GPTH_COMP_COUNTY Character(30) VARCHAR2(30) NOT NULL County
34 GPTH_COMP_COUNTRY Character(3) VARCHAR2(3) NOT NULL Country for Company
35 GPTH_COMP_STATE Character(6) VARCHAR2(6) NOT NULL State
36 GPTH_COMP_POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
37 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Country Code
38 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
39 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone number extension
40 GPTH_HOME_PHONE_TY Character(4) VARCHAR2(4) NOT NULL Phone Type
41 HOME_PHONE Character(24) VARCHAR2(24) NOT NULL Home Phone #
42 GPTH_HOME_EXT Character(6) VARCHAR2(6) NOT NULL Phone number extension
43 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
44 GPTH_PER_TAX_ID Character(20) VARCHAR2(20) NOT NULL Person Tax ID
45 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
46 OFF_CYCLE Character(1) VARCHAR2(1) NOT NULL Off Cycle ?
47 PRD_BGN_DT Date(10) DATE Period Begin Date
48 PRD_END_DT Date(10) DATE Pay Period End Date
49 SEG_BGN_DT Date(10) DATE Payee Process Segment's Begin Date
50 SEG_END_DT Date(10) DATE Payee Process Segment's End Date
51 PYMT_DT Date(10) DATE Payment Date
52 CAL_PRD_ID Character(10) VARCHAR2(10) NOT NULL Calendar Period ID
53 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
54 PIN_GROSS_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Gross Pay Value
55 PIN_NET_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Net Pay Value
56 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
57 CUR_RT_TYPE Character(5) VARCHAR2(5) NOT NULL Currency Rate Type
58 RUN_TYPE Character(10) VARCHAR2(10) NOT NULL Run Type Name
59 PAY_ENTITY Character(10) VARCHAR2(10) NOT NULL Pay Entity
60 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
61 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
62 ESTABID Character(12) VARCHAR2(12) NOT NULL Establishment ID
63 SETID_DEPT Character(5) VARCHAR2(5) NOT NULL Department Set ID
64 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
65 SETID_LOCATION Character(5) VARCHAR2(5) NOT NULL Location Set ID
66 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
67 GPTH_GOV Character(1) VARCHAR2(1) NOT NULL This field represents that if the report is an Government report
68 GPTH_SEQ_NUM Character(6) VARCHAR2(6) NOT NULL Sequence number for tax report
69 GPTH_TAX_ID Character(10) VARCHAR2(10) NOT NULL Tax identification number
70 GPTH_TAX_BRANCH Character(6) VARCHAR2(6) NOT NULL Tax branch number
71 GPTH_TAX_ID_L Character(13) VARCHAR2(13) NOT NULL Tax identification number 13
72 GPTH_CTAX_ID Character(10) VARCHAR2(10) NOT NULL Tax identification number
73 GPTH_CTAX_BRANCH Character(4) VARCHAR2(4) NOT NULL Tax branch number
74 GPTH_CTAX_ID_L Character(13) VARCHAR2(13) NOT NULL Tax identification number 13
75 GPTH_SI_ER_PER Number(5,2) DECIMAL(4,2) NOT NULL Employer Contribution Rate
76 GPTH_SI_ACCT Character(10) VARCHAR2(10) NOT NULL This field will be used to store company social security account information.
77 GPTH_SI_BRANCH_NO Character(6) VARCHAR2(6) NOT NULL Social Security Branch Number
78 ACM_FROM_DT Date(10) DATE From Date
79 ACM_THRU_DT Date(10) DATE Through Date
80 SLICE_BGN_DT Date(10) DATE Element Slice Begin Date
81 SLICE_END_DT Date(10) DATE Element Slice End Date
82 CALC_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Calculation Numeric Result
83 BASE_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Calculated Base Value
84 RATE_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
85 UNIT_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Number of units used in result calculation
86 PCT_RSLT_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Percent Result Value
87 RSLT_ADD_ARR Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount Added To Arrears
88 RSLT_NOT_TKN Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount Not Taken
89 RSLT_PAYBK Signed Number(20,6) DECIMAL(18,6) NOT NULL Payback Amount Result
90 RSLT_XFER_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Bank Transfer Value of Deduct
91 BASE_ADJ_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Base Adjustment
92 CALC_ADJ_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Calculation Adjustment Value
93 UNIT_ADJ_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL Unit Adjustment
94 USER_ADJ_VAL Signed Number(20,6) DECIMAL(18,6) NOT NULL User Adjustment Value
95 USER_KEY1 Character(25) VARCHAR2(25) NOT NULL User Key 1
96 USER_KEY2 Character(25) VARCHAR2(25) NOT NULL User Key 2
97 USER_KEY3 Character(25) VARCHAR2(25) NOT NULL User Key 3
98 USER_KEY4 Character(25) VARCHAR2(25) NOT NULL User Key 4
99 USER_KEY5 Character(25) VARCHAR2(25) NOT NULL User Key 5
100 USER_KEY6 Character(25) VARCHAR2(25) NOT NULL User Key 6
101 PIN_TYPE Character(2) VARCHAR2(2) NOT NULL Element Type
102 PIN_NM Character(18) VARCHAR2(18) NOT NULL Element Name field
103 PIN_CODE Character(22) VARCHAR2(22) NOT NULL Unique identifier of a PIN (alternate to PIN number). critical for use in merging packages of elements from one database onto another when PINs may or may not be renumbered as they are moved across. Constructed from PIN_NM + COUNTRY of the element definition (GP_PIN)
104 PIN_CUSTOM1 Character(20) VARCHAR2(20) NOT NULL Customer FIelds